]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c821baaf518614d3e44ddaf7b0e6d86bc370b29c
[lyx.git] / src / ChangeLog
1 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * bufferparams.C (readGraphicsDriver): prevent crash
4
5 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * text2.C (setCounter): check for inInset() == 0
8
9 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10
11         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
12         but use update() to get correct screen display; use convert
13         instead of istringstream. 
14         (getStatus): handle LFUN_GOTO_PARAGRAPH 
15
16         * lyxfunc.C (dispatch, getStatus): do not handle
17         LFUN_GOTO_PARAGRAPH here.
18
19 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
20
21         * text3.C (dispatch): size() -> depth()
22
23         * text2.C: remove some debug output
24
25         * paragraph.C: ws changes only
26
27         * lyxfunc.C (getStatus): size() -> depth()
28
29         * dociterator.h (clear, push_back, pop_back, internalData,
30         operator[], resize, empty): new functions
31         Make StableDocIterator and operator== be friends. Don't inherit
32         from std::vector use a privat class variable slices_ instead.
33         Modify to fit.
34
35         * dociterator.C: update because of not inheriting from std::vector
36         anymore. Call explictly to slices_ instead. Use depth() instead of
37         size() and top() instead of back()
38
39         * cursor.C: chagne size() -> depth and back() -> top(). Also
40         remove some direct operator[](i) calls in favour of foo[i]
41         (getFont): remove some dead code
42
43         * bufferview_funcs.C (coordOffset): size() -> depth()
44
45         * buffer.C: ws changes only
46
47         * CutAndPaste.C (eraseSelection): back() -> top()
48
49         * BufferView_pimpl.C (selectionRequested): back() -> top()
50
51         * BufferView.C (setCursor): size() -> depth()
52
53 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
54
55         * text3.C (cursorPrevious): return true if depm changed something
56         (cursorNext): ditto
57         (dispatch): rename sl to oldTopSlice, remove moving use the new
58         NoUpdate func attrib instead. Make sure that needsUpdate is set
59         for function that have NoUpdate, but where depm might have changed
60         the buffer anyway.
61
62         * text2.C (cursorLeft): make us return true if depm changed
63         something
64         (cursorRight): ditto
65         (cursorUpParagraph): ditto
66         (curosrDownParagraph): ditto
67         (cursorUp, cursorDown): ditto, make sure to read comments in code
68         (deleteEmptyParagraphMechanism): remove an assert, also return
69         true if just a single char was deleted.
70
71         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
72         cursor that we modify, to avoid modifying an active cursor before
73         we call setCursor. This allows depm to run. Also return true if
74         depm deleted something.
75
76         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
77         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
78         cursorDownParagraph, cursorPrevious and cursorNext, return true if
79         something was changed in the buffer because of them (ie. depm run)
80
81         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
82         debug messages. Make update by default be false. Make sure that
83         the result of update is retained throught several calls down to
84         dispatch.
85
86         * LyXAction.h: add a new func_attrib: NoUpdate
87
88         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
89         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
90         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
91         and LFUN_WORDLEFT
92         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
93
94 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
97         bv_->owner(), bv_->buffer() by direct references to the private
98         members.
99         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
100         (getStatus): isSavedPosition() is in BufferView::Pimpl.
101         (fitCursor): center() is in BufferView::Pimpl.
102         (getStatus, trackChanges, dispatch): no need for a temporary buf
103         variable
104         (fitCursor, workAreaDispatch): use workarea().workheight()
105
106 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
107
108         * CutAndPaste.C (pasteSelectionHelper): fix a crash
109
110 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
111
112         * buffer.C: format up to 241.
113         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
114         break if pasting into ERT
115         * lyxfunc.C (getStatus): suppress mathpanel and
116         LFUN_DIALOG_SHOW_NEW_INSET in ERT
117
118 2005-02-01  Angus Leeming  <leeming@lyx.org>
119
120         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
121
122 2005-02-01  Angus Leeming  <leeming@lyx.org>
123
124         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
125         calling fs::is_directory().
126
127 2005-01-31  Angus Leeming  <leeming@lyx.org>
128
129         * lyx_main.C (priv_exec): specify explicitly the relative location
130         of the top level build directory when run in-place.
131
132 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
135         LyXText containing the cursor, not the top-level one.
136
137         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
138         true.
139         (insertStringAsLines): rename par to pit; use temporary variable
140         par to hold a Paragraph; do not store par.layout() in a variable,
141         since the pointer may die when breaking paragraphs; pass pars to
142         breakParagraph() instead of Buffer::paragraphs().
143
144 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
145
146         * lyxlex_pimpl.h: #include <fstream>.
147
148         * BufferView.[Ch] (getLyXText): add a const version.
149
150         * BufferView_pimpl.C: add debug aids.
151
152         * RowList_fwd.h:
153         * buffer.h:
154         * lyxrow.h:
155         * paragraph_funcs.h: add commentary explaining what the class does.
156
157
158         * coordcache.[Ch]: add lots of commentary.
159         (startUpdating, doneUpdating): debug aids.
160         (arrays, insets, parPos, getParPos): accessors to private data.
161
162         * cursor_slice.[Ch] (text): add a const version.
163         * dociterator.[Ch] (text, innerText): add const versions.
164
165         * lyxtext.h (breakParagraph): change the keep_layout arg to a
166         bool.
167
168         * paragraph.C (getRow, pos2ros): add asserts.
169
170         * paragraph.h: add commentary. Lots of.
171
172         * paragraph.[Ch] (metrucs, draw): removed.
173
174         * cursor.C:
175         * rowpainter.[Ch]: const-correct changes.
176
177         * text.C: various obvious clean-ups. Removal of ancient cruft.
178         Bug fixes, even.
179
180 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
181
182         * vc-backend.C (find_file): rewrite to use boost.filesystem
183         (scanMaster): ditto
184
185         * main.C (main): set default name check for boost.filesystem to
186         no check
187
188         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
189         (open): ditto
190         (doImport): ditto
191         (actOnUpdatedPrefs): ditto
192
193         * lyx_main.C (init): rewrite to use boost.filesystem
194         (queryUserLyXDir): ditto
195
196         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
197         (getContentsOfAsciiFile): ditto
198
199         * lastfiles.C (readFile): rewrite to use boost.filesystem
200
201         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
202
203         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
204         (loadLyXFile): ditto
205
206         * buffer.C (Buffer): adjust for destroydir
207         (getLogName): rewrite to use boost.filesystem
208         (setFileName): ditto
209         (save): use fs::copy_file (from fs_extras)
210
211         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
212
213         * LaTeX.C (run): rewrite to use boost.filesystem
214         (scanAuxFiles): ditto
215         (handleFoundFile): ditto
216
217 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
218
219         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
220
221         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
222
223 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
224
225         * lyxlayout.[Ch]: change some vars from float to double
226
227         * buffer.C (readFile): make a local var const
228
229         * Several files: use convert<> instead of atoi,strToXXX and friends
230
231 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
232
233         * LaTeXFeatures.[Ch]: Add a static list packages_ that
234         holds the contents of packages.lst. New functions getAvailable
235         and isAvailable to parse and check that list, resp.
236
237         * LyXAction.C:
238         * lfuns.h:
239         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
240
241         * bufferparams.[Ch]: new param output_changes.
242
243         * Buffer.C: increase file format to 240.
244         Use output_changes and isVailable.
245
246         * changes.[Ch]:
247         * paragraph.C:
248         * paragraph_pimpl.C: Use output_changes and isVailable.
249
250 2005-01-23  Angus Leeming  <leeming@lyx.org>
251
252         * output_latex.C: #include "insetbibitem.h", rather than
253         forward declare function bibitemWidest.
254
255 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
256
257         * lyx_main.C (init): make it compile on the Mac.
258
259 2005-01-20  Angus Leeming  <leeming@lyx.org>
260
261         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
262         (setLyXMisc): (char string literal) != (char string literal) is
263         performing a comparison on the addresses. Convert one operand
264         explicitly to string to guarantee expected behaviour.
265         From MSVC warning.
266
267 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
268
269         * buffer.C:
270         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
271
272         * output_plaintext.C: remove unneeded #include gzstream.h.
273
274 2005-01-20  Angus Leeming  <leeming@lyx.org>
275
276         * SpellBase.h: rename some of the elements of the Result enum.
277
278         * aspell_local.h:
279         * ispell.h:
280         * pspell.h:
281         * aspell.C (check):
282         * ispell.C (check):
283         * pspell.C (check): ditto
284
285 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
286
287         * buffer.C: add #include <fstream>.
288
289         * lyx_main.C (init): Compile fix.
290
291         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
292
293 2005-01-20  Angus Leeming  <leeming@lyx.org>
294
295         * mover.h: change commentary to reflect the changed meaning of
296         the $$s placeholder.
297
298 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * output_linuxdoc.C (linuxdocParagraphs): silence warning
301
302         * lyxfind.C (MatchString::operator()): remove bogus semicolon
303
304 2005-01-20  Angus Leeming  <leeming@lyx.org>
305
306         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
307         printing diagnostic data by not dereferecing an iterator past the
308         end.
309
310 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
311
312         * buffer.C (readHeader): use "&&" rather than "and".
313
314         * lyxserver.h (inPipeName, outPipeName): make these const.
315
316 2005-01-19  Angus Leeming  <leeming@lyx.org>
317
318         * lyx_main.C (error_handler, init): protect SIGHUP with
319         #ifdef SIGHUP guards.
320
321 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
324
325 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * text.C (setHeightOfRow): add a margin at the top and bottom of
328         the document (bug 1761)
329
330 2005-01-17  Angus Leeming  <leeming@lyx.org>
331
332         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
333         with "python ". Workaround for a brain-dead Windows.
334
335 2005-01-16  Angus Leeming  <leeming@lyx.org>
336
337         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
338         for MacOSX and Windows to use prependEnvPath.
339         Strip out the hard-coded block to add elements to the PATH for
340         MacOSX and replace it with a call to prependEnvPath using the
341         contents of LyXRC::path_prefix.
342         (queryUserLyXDir): strip out the code to run reconfigure, instead
343         returning a boolean indicating the necessity to do so.
344         (reconfigureUserLyXDir): contains the code to reconfigure the
345         user support directory. Is now called after the various LyXRC data
346         files have been read.
347
348         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
349
350 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * converter.[Ch] (convert): take a new parameter try_default. Use
353         a default converter (imagemagick) if try_default is true.
354
355 2005-01-13  Angus Leeming  <leeming@lyx.org>
356
357         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
358         os::cygwin_path_fix.
359         (write): output LyXRC::cygwin_path_fix as necessary.
360
361 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
362
363         * lyxrc.h:
364         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
365
366 2005-01-12  Angus Leeming  <leeming@lyx.org>
367
368         * lyx_main.C (init): set the PATH variable to include the
369         directory containing the LyX binary when running on Mac or Windows.
370
371 2005-01-12  Angus Leeming  <leeming@lyx.org>
372
373         * lyx_main.C (init): remove cruft that purports to set the locale
374         dir. It doesn't and is not needed anyway.
375
376 2005-01-10  Angus Leeming  <leeming@lyx.org>
377
378         * Makefile.am: remove the lyx_main.C special casing.
379
380         * BufferView_pimpl.C:
381         * bufferlist.C:
382         * exporter.C:
383         * lyx_cb.C:
384         * lyx_main.C:
385         * lyxfunc.C:
386         * messages.C: use support/package.h to provide the paths to the
387         various directories used by LyX.
388
389 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
390
391         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
392         layout if pasting into an empty paragraph)
393
394 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
395
396         * tex-accent.C: add <string>
397
398 2005-01-06  José Matos  <jamatos@lyx.org>
399
400         * ParagraphParameters.C (write): put every parameter in its own line.
401         * paragraph.C (write): reduce number of consecutive empty lines exported.
402         * buffer.C (LYX_FORMAT): increase file format to 239.
403
404 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * everywhere: change support/tostr.h -> support/convert.h
407
408         * tabular.C: make all write_attributes templates, tostr -> convert
409
410         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
411         (emptyTag): and -> &&, and fix type for ret from getChar
412         (getFirstWord): fix type for ret from getChar
413         (onlyText): and -> &&
414         (simpleDocBookOnePar): and not -> && !, fix type for ret from
415         getChar
416
417         * toc.C (goTo, action):
418         * text3.C (dispatch):
419         * text.C (currentState):
420         * tex-accent.C (DoAccent):
421         * sgml.C:
422         * lyxrc.C:
423         * lyxfunc.C (menuNew):
424         * lyxfinc.C (replace):
425         * counters.C (laberItem):
426         * bufferview_funcs.C (font2string):
427         * bufferparams.C (writeFile):
428         * buffer.C (readFile):
429         * Spacing.C (set):
430         * MenuBackend.C: tostr -> convert
431
432         * LaTeX.C (runMessage): fix format
433         (scanAuxFiles): tostr -> convert
434
435         * BufferView_pimpl.C (savePosition): fix format
436         (restorePosition): ditto
437         (dispatch): ditto
438
439 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
440
441         * Spacing.[Ch]: New method getValueAsString().
442
443         * Spacing.[Ch]:
444         * bufferparams.C:
445         * ParagraphParameters.C:
446         * lyxlayout.C:
447         * text.C:
448         * text3.C: store/read spacing value as string.
449
450         * rowpainter.C: change float value (spacing_val) to double.
451
452         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
453         broken custom document spacing).
454
455 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
456
457         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
458         namespace, also more use of temp references and const
459
460         * cursor.[Ch] (getStatus): move to lyxfunc.C
461
462         * bufferparams.C: reformat slightly
463
464         * bufferview_funcs.C (font2string): constify arg
465
466         * changes.C:
467         * converter.C:
468         * counters.C:
469         * bufferlist.C:
470         * buffer_funcs.C: (many funcs): constify arg on function
471         definitions, also make more local vars const, also add ASSERTS on
472         pointer args.
473
474         * buffer.C (LYX_FORMAT): put const in correct place
475         (many funcs): constify arg on function definitions, also make
476         more local vars const
477
478         * aspell_local.h: remove "struct" from typdef setup
479
480         * aspell.C (check): make word_ok const
481         (nextMiss): simplify slightly
482         (error): ditto
483
484 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * lyxrc.[Ch]: store all float values as strings.
487         use int (not float) for lyxrc.dpi.
488
489 2005-01-04  Angus Leeming  <leeming@lyx.org>
490
491         * lyx_cb.C (Reconfigure):
492         * lyx_main.C (queryUserLyXDir):
493         to run the <system_lyxdir>/configure correctly on Windows, prefix
494         the path to the script with "sh " when generating the string that
495         is passed to system().
496
497 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
498
499         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
500
501 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * lyxlength.C (asLatexString): get rid of setprecision
504
505 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * text2.C (setLayout): remove unused variable endpit.
508         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
509
510         * paragraph.C (onlyText): remove unused variable style.
511
512         * cursor.C (bruteFind): remove unused variables beg and end.
513
514         * Makefile.am (dist_noinset_DATA): not needed anymore
515
516         * cheaders/*: remove.
517
518 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * text3.C: fix LFUN_MATH_MODE.
521
522 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * buffer_funcs.C (countWords): new function. Counts words between
525         two iterators.
526
527         * BufferView_pimpl.C (getStatus, dispatch): handle
528         LFUN_WORDS_COUNT.
529
530         * LyXAction.C (init):
531         * lfuns.h: add LFUN_WORDS_COUNT.
532
533 2004-12-19  Angus Leeming  <leeming@lyx.org>
534
535         * buffer.C (save): s/slashify_path/internal_path/.
536
537 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
538
539         * lyxfind.C (findChange): do not search for end of pars, because
540         the change tracker cannot handle this (fixes bug 1719).
541
542 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * paragraph.[Ch] (autoBreakRows): remove
545
546         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
547
548         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
549         avoid using the paragraph one
550
551         * text2.C (LyXText, insertStringAsLines): adjust
552
553 2004-12-16  Angus Leeming  <leeming@lyx.org>
554
555         * bufferlist.C:
556         * lyx_main.C:
557         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
558
559 2004-12-14  Angus Leeming  <leeming@lyx.org>
560
561         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
562
563         * bufferlist.C (emergencyWrite):
564         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
565         GetEnvPath("HOME").
566
567 2004-12-14  Angus Leeming  <leeming@lyx.org>
568
569         * main.C: (main): no longer pass pointers to os::init.
570
571 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
572
573         * undo.C (textUndoOrRedo): simplify logic, fix a crash
574         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
575
576 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * lyxfunc.C:
579         * text3.C: remove selection_possible global flag
580
581 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * text2.C (getSelectionSpan): remove
584         (changeDepth, changeDepthAllowed): adjust
585
586 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
587
588         * Makefile.am (BOOST_LIBS): use boost variables
589
590 2004-12-03  José Matos  <jamatos@lyx.org>
591
592         * buffer.C: format up to 238.
593
594 2004-12-03  José Matos  <jamatos@lyx.org>
595
596         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
597
598 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
599
600         * cursor.C (goUpDown): remove call to idxUpDown2
601
602 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
603
604         * tabular.[Ch]: use size_t-like types for cell, row and column
605         indices
606
607 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * lyxfunc.C (getStatus): do not lose previous information when
610         calling BufferView::getStatus; do not set a default "Command
611         disabled" message at the beginning, but just before returning.
612
613 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
614
615         * cursor.h (getStatus): add better comment from src/cursor.C
616
617 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * text3.C (getStatus): return false when the lfun is not handled
620
621 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
622
623         * broken_headers.h: remove
624
625         * Makefile.am (lyx_SOURCES): remove broken_headers.h
626
627 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
628
629         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
630         offset_ref accessors
631
632         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
633         top_y_, merge fitcursor with update
634         (updateScrollbar, scrollDocView, fitCursor, center, update): new
635         coord scheme
636         (metrics): introduce
637         (workAreaDispatch): adapt to new coord scheme
638         (redoCurrentBuffer): remove
639
640         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
641
642         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
643         CurStatus enum.
644
645         * coordcache.[Ch]: add paragraph cache and helpers
646
647         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
648         adjust everywhere
649
650         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
651         (targetX, setTargetX): introduce
652
653         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
654         baseline -> ascent, as the rest of lyx
655
656         * lyxtext.h: remove redoParagraphs, updateParPositions,
657         fullRebreak, redoParagraphInternal. move dist to anon namespace in
658         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
659         have ascent/descent (ascent is ascent of first par)
660
661         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
662         step of BufferView
663
664         * paragraph.[Ch]: unify dimension handling with the rest of lyx
665
666         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
667
668         * pariterator.C: fix infinite loop introduced in par->pit renaming
669
670         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
671         in insets and LyXText, draw two off-screen paragraphs using
672         NullPainter, and adapt to new coord scheme
673
674         * text.C:
675         * text2.C:
676         * text3.C: adapt lfun handlers to the new coord scheme, which
677         means: there's only guaranteed coord information for onscreen pars
678         plus one above and one below. This implies that one can do search
679         from y coordinates in the range [-1,workHeight]
680
681 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * rename a lot of InsetOld to InsetBase
684
685 2004-11-25  Angus Leeming  <leeming@lyx.org>
686
687         * BufferView_pimpl.C:
688         * lyx_cb.C:
689         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
690
691 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
694         call BufferView::getStatus if LCursor::getStatus did nothing
695         (setStatusMessage, getStatusMessage): removed.
696
697         * FuncStatus.C (message): new methods. Used to provide an error
698         message indicating why a command is disabled.
699         (clear, |=, FuncStatus): update for message.
700
701 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
702
703         * lyxfunc.C (dispatch): always call sendDispatchMessage
704
705 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
706
707         * BufferView.C:
708         * BufferView_pimpl.C:
709         * CutAndPaste.C:
710         * FontIterator.C:
711         * buffer.C:
712         * cursor.C:
713         * cursor_slice.[Ch]:
714         * dociterator.[Ch]:
715         * lyxfind.C:
716         * paragraph_funcs.C:
717         * pariterator.C:
718         * rowpainter.C:
719         * text.C:
720         * text2.C:
721         * text3.C:
722         * undo.C: par->pit renaming
723
724 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
725
726         * tabular.C (cellstruct): use initialization, store a shared_ptr
727         to insettext instead of the insettext directly, adjust to fit.
728         (operator=):  new function
729         (swap): new function
730         (rowstruct): use initialization
731         (columnstruct): use initialization
732         (ltType): use initialization
733
734
735         * lyxlength.h (swap): new function
736
737         * LColor.[Ch] (operator=): use the common semantics
738
739 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * lyxfind.C (findNextChange): update the bufferview after setting
742         the selection.
743
744 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
747         number of InsetOptArgs has already been inserted.
748
749         * output_latex.C (latexOptArgInsets): new method. This outputs all
750         the optarg insets, up to the limit defined in the layout file.
751         (optArgInset): removed
752         (TeXOnePar): call latexOptArgInsets; correctly update texrow
753
754 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * paragraph.C (isLetter): remove special spellchecker-related
757         code; return true also for digits
758         (isWord, isKomma): remove
759
760         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
761         * lyxfind.C (MatchString()): use isLetter instead of isWord
762
763 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
764
765         * pariterator.h (operatir=): comment out un-implemented member
766         function.
767
768         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
769         static cast.
770
771 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * lyxfont.h: include LColor.h to satisfy concept checks.
774
775 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * pariterator.h: add typdefs for value_type, difference_type,
778         pointer and reference to satisfy concept checks. Also add default
779         constructor for same reason.
780
781         * pariterator.C (operator++): add post-increment operator to
782         satisfy concept checks.
783
784         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
785         checks.
786
787         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
788
789         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
790         checks. Also rename base_type to BaseType to follow naming
791         standard better.
792
793         * FloatList.h: include Floating.h to satisfy concept checks.
794
795 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * lyxfunc.C (getStatus): when the origin of the request is menu or
798         toolbar, and the LyXView does not have focus, do as if there was
799         no buffer (bug 1720)
800
801         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
802         FuncRequest to individual entries of LFUN_SEQUENCE
803
804 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
805
806         * output_latex.C (TeXOnePar): override runparams.moving_arg
807         according to the needprotect value of the current paragraph (bug
808         1739)
809
810         * paragraph.C (simpleTeXOnePar): no need to override
811         runparams.moving_args here
812
813 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
814
815         * vspace.C: fix off-by-one-error, related to fix #1682
816
817 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
818
819         * lengthcommon.C: a more general fix for bug 1682
820
821 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
822
823         * text.C (backspace): fix crash
824
825 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * format.[Ch] (getFormatFromFile): new method
828         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
829
830 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
833
834 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * lyxfunc.C (dispatch): remove the verbose argument
837         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
838         instead
839
840         * kbmap.C (defkey): set the origin of func to KEYBOARD
841
842         * MenuBackend.C (MenuItem):
843         * ToolbarBackend.C (add): set the origin of func to UI
844
845         * funcrequest.[Ch]: add origin member, which indicates which part
846         of LyX requests an action
847
848 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
849
850         * converter.C (move): don't lie in the error message
851         * converter.h (isReachable, move): document
852
853 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
854
855         * buffer.C: remove unused using lyx::support::atoi
856         * paragraph_funcs.C: ditto
857
858 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
859
860         * bufferlist.C (exists): use bind and equal_to instead of
861         compare_memfun
862         (getBuffer): ditto
863         * lyxtextclasslist.C (NumberOfClass): ditto
864
865         * cursor.C (insert): use for_each instead of explicit for loop
866
867         * bufferlist.C (getFileNames): use std::transform and
868         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
869
870         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
871         for loop
872
873         * buffer.C (changeLanguage): use for_each instead of explicit for
874         loop
875         (hasParWithID): implement using getParFromID
876
877         * LaTeXFeatures.C: ws change only
878
879         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
880         to cleanup a bit.
881
882         * BufferView_pimpl.C (trackChanges): use for_each instead of
883         expilicit for loop
884
885 2004-11-04  André Pönitz  <poenitz@gmx.net>
886
887         * undo.h:
888         * undo.C (textUndoOrRedo): fix crash when creating undo information.
889
890         * dociterator.C (asDocIterator): use hard assert again.
891
892 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
893
894         * lyxlength.C (asLatexString): rewrite so that it does not use
895         snprintf anymore
896
897 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * text3.C (specialChar, dispatch): make sure cursor moves to the
900         right after inserting an inset
901
902 2004-11-02  José Matos  <jamatos@lyx.org>
903
904         * output_docbook.C (docbook):
905         * paragraph.C (getID):
906         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
907         garantee that the output is always legal.
908
909         * tabular.C (docbook):
910         * outputprams.[Ch]: remove mixed contents.
911
912 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * text2.C (setCounter): prevent endless loop
915
916 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
917
918         * exporter.C (copyFile): use the mover instead of support::copy()
919         * exporter.C (Export): pass format and latex name to copyFile()
920         * exporter.h (addExternalFile): document
921         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
922
923 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
924
925         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
926
927 2004-10-30  José Matos  <jamatos@lyx.org>
928
929         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
930         text and no inset or font change. This allows to use CDATA
931         sections just for the whole paragraph.
932
933 2004-10-30  José Matos  <jamatos@lyx.org>
934
935         * paragraph.C (getFirstWord): remove unused variable.
936
937 2004-10-30  José Matos  <jamatos@lyx.org>
938
939         * paragraph.C (getFirstWord): the content should always be escaped
940         there.
941         (simpleDocBookOnePar):
942         * output_docbook.C (makeEnvironment): replace reference to CDATA
943         to style pass_thru.
944
945 2004-10-30  José Matos  <jamatos@lyx.org>
946
947         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
948
949 2004-10-30  José Matos  <jamatos@lyx.org>
950
951         * output_docbook.C (makeParagraphs):
952         * paragraph.[Ch] (emptyTag): for docbook and company, if the
953         standard paragraph has only a given type of content drop the wrapper.
954
955 2004-10-29  José Matos  <jamatos@lyx.org>
956
957         * output_docbook.C (makeEnvironment):
958         * sgml.C (openTag):
959         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
960
961 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
962
963         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
964         (cleanID): sanitize any id.
965
966 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
967
968         * buffer.C, lyxlex_pimpl.C:
969         * lyxlex_pimpl.C (setFile):
970         s/getExtFromContents/getFormatFromContents/
971
972 2004-10-28  José Matos  <jamatos@lyx.org>
973
974         * output_docbook.C (makeEnvironment): move id to broadest possible
975         scope.
976
977         * sgml.C (openTag): apply substitution of <> for all attributes.
978
979 2004-10-28  José Matos  <jamatos@lyx.org>
980
981         * buffer.C (makeLinuxDocFile, makeDocBookFile):
982         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
983         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
984
985         * sgml.[Ch]: new version for open and closeTag for paragraph and
986         for strings. Now they handle the ids of paragraphs.
987
988 2004-10-26  Angus Leeming  <leeming@lyx.org>
989
990         * Makefile.am: add mover.[Ch].
991
992         * converter.C (convert, move): use the new Movers to move external
993         files to the temp directory.
994
995         * lyx_main.C (init): ensure that the global system_movers data
996         is initialised.
997
998         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
999         preferences file.
1000
1001         * mover.[Ch]: new files, defining a Mover as a utility to move an
1002         external file between directories and, if necessary, manipulate this
1003         file using a helper script.
1004
1005 2004-10-25  José Matos  <jamatos@lyx.org>
1006
1007         * output_docbook.C (makeCommand): merge two if's that tested the
1008         same condition.
1009
1010 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1011
1012         * sgml.C (escapeString): fix warning in a better way
1013
1014 2004-10-25  José Matos  <jamatos@lyx.org>
1015
1016         * sgml.C (escapeString): import the require boosts header file for
1017         tie, and avoid a signed unsigned comparison.
1018
1019 2004-10-25  José Matos  <jamatos@lyx.org>
1020
1021         * sgml.h: add #include <string>
1022
1023 2004-10-25  José Matos  <jamatos@lyx.org>
1024
1025         * sgml.[Ch] (escapeString): new function to escape all the string.
1026
1027 2004-10-24  José Matos  <jamatos@lyx.org>
1028
1029         * paragraph.[Ch] (getFirstWord): new function to get the first
1030         word. Useful for description.
1031         (simpleDocBookOnePar): remove depth argument, add another that
1032         says where to start the paragraph.
1033
1034         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1035         use the new functions to fix cleanly the support for descriptions.
1036
1037 2004-10-24  José Matos  <jamatos@lyx.org>
1038
1039         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1040         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1041         * output_linuxdoc.C (linuxdocParagraphs):
1042         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1043         add buffer as argument.
1044
1045 2004-10-24  José Matos  <jamatos@lyx.org>
1046
1047         * output_docbook.C (makeEnvironment, searchEnvironment): place
1048         CDATA inside paragraphs and fix scope for listitems.
1049
1050 2004-10-24  José Matos  <jamatos@lyx.org>
1051
1052         * output_docbook.C: remove using statement for stack.
1053
1054 2004-10-23  José Matos  <jamatos@lyx.org>
1055
1056         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1057         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1058         docbook. The new scheme is recursive and makes use of iterators, the
1059         same as latex export works.
1060         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1061         directly with the paragraph contents. This code was moved up to
1062         output_docbook.C (docbookParagraphs).
1063         * sgml.C (openTag, closeTag): removed unneeded newlines.
1064         (closeEnvTags) removed.
1065
1066 2004-10-23  André Pönitz  <poenitz@gmx.net>
1067
1068         * undo.C (textUndoOrRedo):
1069         * dociterator.C (asDocIterator): work around crash
1070
1071         * cursor.C (getStatus): replace ASSERT by more verbose error message
1072           and manual correction of the problem. Should increase stability
1073           while providing more sensible information.
1074
1075 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1078
1079         * bufferlist.C (previous, next): new methods
1080
1081         * lfuns.h:
1082         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1083
1084 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1085
1086         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1087         entities to preamble.
1088
1089 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1090
1091         * messages.C (Pimpl): strip off translation context information
1092
1093 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1094
1095         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1096         the cursor is correct (bug 1694)
1097
1098 2004-10-13  José Matos  <jamatos@lyx.org>
1099
1100         * output_docbook.C (docbookParagraphs): fix closing tags in the
1101         end of the document.
1102
1103 2004-10-09  José Matos  <jamatos@lyx.org>
1104
1105         * buffer.C: format up to 237.
1106         * bufferparams.C (write): use tostr to convert booleans to strings.
1107
1108 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1111
1112 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1113
1114         * LaTeX.C: implement use of babel language in xindy.
1115
1116 2004-10-05  José Matos  <jamatos@lyx.org>
1117
1118         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1119         Add new translators to help reading and writing the lyx file.
1120
1121 2004-10-05  José Matos  <jamatos@lyx.org>
1122
1123         * ParagraphParameters.C (read):
1124         * text.C (readParToken): replace nexToken by more appropriate lex
1125         methods.
1126
1127 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1128
1129         * LaTeX.C (runMakeIndex):
1130         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1131         (usually 'makeindex') configurable.
1132
1133         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1134         with a variable rather than with a number.
1135
1136 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * output_latex.C (TeXOnePar): make sure font setting is the first
1139         thing that gets output (and the last at the end). Should fix bug
1140         1404.
1141
1142 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1143
1144         * pch.h: use proper signal include
1145
1146         * LaTeX.h: Use preferred calling of Boost.Signal
1147         * buffer.h: ditto
1148
1149 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1150
1151         * pch.h: dont include <boost/function/function0.hpp>
1152
1153         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1154
1155         * paragraph_pimpl.h: remove usage of ShareContainer
1156
1157         * paragraph_pimpl.C: remove initialization of ShareContainer.
1158
1159 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         Fix bug #1666
1162
1163         * BufferView.C (putSelectionAt): change the semantics when
1164         backwards == true: now, this just swaps cursor and anchor wrt the
1165         forward case
1166
1167         * BufferView.h (putSelectionAt): add some documentation
1168
1169         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1170         make sure backwardChar is done at least once (to avoid getting
1171         stuck)
1172         (findNextChange): use putSelectionAt in the forward direction
1173         (operator()): use Paragraph::isWord
1174
1175 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1176
1177         * Spacing.C (set): c_str fix
1178
1179 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * lyx_cb.C (Reconfigure): quote the name of configure script in
1182         case it contains spaces
1183
1184 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * client: new dir
1187
1188         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1189         (BOOST_LIBS): use top_buildir when looking for the file
1190
1191 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1192
1193         * pch.h: do not use include boost/format.hpp, multiple symbols
1194                 will result (gcc bug)
1195
1196
1197 2004-08-23  José Matos  <jamatos@lyx.org>
1198
1199         * bufferparams.C (readToken): fix reading of the author field.
1200
1201 2004-08-20  José Matos  <jamatos@lyx.org>
1202
1203         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1204
1205 2004-08-20  José Matos  <jamatos@lyx.org>
1206
1207         * lyxlex.[Ch] (findToken): remove function.
1208
1209         * ParagraphParameters.C (findToken):
1210         * bufferparams.C (findToken): replace call for previous function
1211         with local copy. This local function has one more argument, the
1212         read string argument.
1213
1214 2004-08-16  José Matos  <jamatos@lyx.org>
1215
1216         * ParagraphParameters.C (write):
1217         * Spacing.C (writeFile):
1218         * bufferparams.C (writeLaTeX):
1219         * lyx_cb.C (Reconfigure):
1220         * paragraph.C (write):
1221         * tabular.C (write): remove unnecessary space at end of line.
1222
1223
1224 2004-08-16  José Matos  <jamatos@lyx.org>
1225
1226         * text.C (readParagraph): remove debug message.
1227
1228 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1231         crash
1232
1233         * output_plaintext.C (asciiParagraph): set depth correctly
1234
1235         * outputparams.h: add member depth
1236
1237         * paragraph_funcs.C (ownerPar): remove.
1238
1239         * text2.C (setCounter): remove first_pit; comment out some
1240         non-working code that uses ownerPar
1241
1242         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1243         uses ownerPar
1244
1245 2004-08-16  José Matos  <jamatos@lyx.org>
1246
1247         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1248         For the same level of importance use the same chanel to report problems.
1249         (read): add code to deal with \begin_body and \end_body.
1250
1251
1252 2004-08-15  José Matos  <jamatos@lyx.org>
1253
1254         * lyxlex.C (getString): fix comment, buffer::readBody is now
1255         buffer:readDocument.
1256
1257         * tex-strings.C (string_papersize): Default -> default,
1258         Custom -> custom, for consistency with other options.
1259
1260 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1261
1262         * pch.h: new file
1263
1264         * Makefile.am: support pch
1265
1266 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * text.C (readParToken): remove the static LyXFont variable and
1269         pass it as a parameter instead. This fixes a nasty bug where an
1270         inset will be inserted with a bad font in some situations
1271         (readParagraph): adapt
1272
1273         * text2.C (setCounter): reduce number of calls to pars_[pit]
1274
1275         * text.C (singleWidth): add an assert, fix a test
1276
1277         * rowpainter.C (paintText): reduce number of calls to singleWidth
1278
1279         * paragraph.C (isHfill):
1280         (isNewline): ws only
1281
1282 2004-08-14  André Pönitz  <poenitz@gmx.net>
1283
1284         * text.C:
1285         * text2.C:
1286         * rowpainter.C:
1287         * lyxtext.h (several functions): use a Paragraph & argument
1288         instead of par_type
1289
1290 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1293
1294         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1295
1296         * text.C (singleWidth): remove useless test
1297
1298 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * tabular.h: remove bogus comments
1301
1302         * tabular.C (getDescentOfRow):
1303         (isPartOfMultiColumn): add assertions
1304
1305         * lyxlength.C (inPixels): remove #warning
1306
1307 2004-08-14  André Pönitz  <poenitz@gmx.net>
1308
1309         * paragraph.h: inline getChar()
1310
1311         * BufferView.h: remove unused declarations
1312
1313 2004-08-14  José Matos  <jamatos@lyx.org>
1314
1315         * Buffer.[Ch] (readDocument): new name for old readBody.
1316         * Buffer.C: new file format, new keywords: \begin_document,
1317         \begin_header, \begin_body, \end_body.
1318
1319         * bufferparams.C (readToken): replace all calls to lex.nextToken
1320         by lex.next(). Do the same to eatLine except where really needed.
1321
1322         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1323         line when writing to the lyx file.
1324
1325         * output_plaintext.C (asciiParagraph): fix Bibliography style
1326         handling.
1327
1328         * text.C (read): fix end of file handling.
1329
1330 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * MenuBackend.C (Menu::operator[]): new method to access
1333         individual menu items
1334         (Menu::hasFunc): new method. search for an item that corresponds
1335         to a given func
1336         (MenuBackend::specialMenu): new method
1337         (MenuBackend::expand): if a special menu has been set, skip
1338         entries whose func() appears in this menu
1339
1340 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1341
1342         * text3.C: use Debug::DEBUG a bit more
1343
1344         * text.C (leftMargin): try to simplify a tiny bit change var x to
1345         l_margin. Dont output the wide margins always.
1346         (rightMargin): no margin in inner texts
1347
1348         * rowpainter.h (nestMargin): new func
1349         (changebarMargin): new func
1350         (rightMargin): new func
1351
1352         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1353         now functions.
1354         (paintLast): ditto
1355
1356         * factory.C (createInset): modify setDrawFrame
1357
1358         * cursor.C: use Debug::DEBUG a bit more
1359
1360 2004-08-14  André Pönitz  <poenitz@gmx.net>
1361
1362         * coordcache.[Ch]:
1363         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1364         cache for all insets in (at least partially) visible (top-level)
1365         paragraphs.
1366
1367         * BufferView_pimpl.C: reset external coord cache before every update.
1368         This means the coord cache only contains valid entries.
1369
1370 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1371
1372         bug 1096
1373         * BufferView_pimpl.C (getInsetByCode): move function out of class
1374         and change in to a template in anon namespace. Also fix to do what
1375         suits us better.
1376
1377 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1378
1379         bug 1305
1380         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1381         of char
1382         (breakParagraph): rename par to par_offset and use a local
1383         reference. Add code to keep the language over a rebreak.
1384         (breakParagraphConservative): rename par to par_offset, use a
1385         local reference
1386         (mergeParagraph): ditto
1387         (outerHook): ditto
1388         (isFirstInSequence): ditto
1389         (outerFont): rename pit to par_offset
1390
1391         * paragraph.C: ws change
1392         * paragraph.h: ditto
1393         * text3.C: ditto
1394         * text.C: ditto
1395
1396 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1399         treatment for ']'
1400
1401         * paragraph.C (simpleTeXOnePar): when we have a \item with
1402         optional argument, enclose the argument with curly brackets (in
1403         case it contains a closing square bracket)
1404
1405         * text2.C (editXY):
1406         * text2.C (editXY):
1407         * text3.C (checkInsetHit): constify
1408
1409 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1412         documents (bug 1629)
1413
1414 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         Fix toggling of collapsable insets with the mouse (bug 1558)
1417
1418         * lyxfunc.C (dispatch): adapt to LCursor changes
1419
1420         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1421         make sure that dispatch is not invoked twice
1422
1423         * cursor.C (needsUpdate): new method
1424         (dispatch): return void
1425         (result): new method, to access the DispatchResult of the cursor.
1426
1427 2004-08-13  José Matos  <jamatos@lyx.org>
1428
1429         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1430
1431 2004-08-13  André Pönitz  <poenitz@gmx.net>
1432
1433         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1434
1435         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1436           multiple cells
1437
1438 2004-08-12  André Pönitz  <poenitz@gmx.net>
1439
1440         * text3.C: take out the 'cursor right' form insertInset and only
1441         do it in those places when it is really needed. Fixes crash on
1442         C-m...
1443
1444 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1447
1448         * BufferView_pimpl.C (setBuffer): initialize the current font of
1449         the underlying LyXText
1450
1451 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * kbsequence.C (print): use UI native formatting for menu
1454         shortcuts
1455
1456         * text.C (insertChar): call Paragraph::insertChar with a font
1457         argument (cosmetic)
1458
1459         * paragraph.C (insertInset, insertChar): the version that takes a
1460         LyXFont argument is now a wrapper around the other one (the
1461         opposite used to be true).
1462
1463         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1464         argument. Font setting is done in Paragraph now.
1465
1466 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * outputparams.h: add new members intitle and lang.
1469
1470         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1471         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1472
1473 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1474
1475         * text3.C (dispatch): remove special handling of button 4 and 5,
1476         it is now taken care of in the frontend code.
1477
1478 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1479
1480         * Spacing.h: add <string> (STLPort compile fix)
1481
1482 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1483
1484         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1485
1486 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1487
1488         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1489         to bool.
1490
1491         * converter.C (showMessage): inherit from unary_function, make
1492         operator() const.
1493
1494         * buffer.C (writeFile): initialize retval
1495
1496         * InsetList.h: rename private variable list to list_
1497         * InsetList.[Ch]: adjust accordingly.
1498
1499 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1500
1501         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1502         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1503         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1504         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1505         * ParagraphParameters.C, LaTeXFeatures.C: replace
1506         "support/std_sstream.h" with <sstream>
1507
1508 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1509
1510         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1511         * lyxsocket.C (LyXServerSocket): ditto
1512         (serverCallback): ditto
1513
1514 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1515
1516         * LaTeXFeatures.C: check release date when loading jurabib.
1517
1518 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1519
1520         * lyxserver.C (startPipe): call register_socket_callback
1521         (endPipe): call unregister_socket_callback
1522
1523 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1526         (LyXServerSocket): register the callback
1527         (LyXServerSocket): unregister the callback
1528         (fd): delete function
1529         (serverCallback): improve error checking and setup the callbacks.
1530         (dataCallback): change arg to fd.
1531         (writeln): new func (copied fro the client socket) used for server
1532         write to client.
1533         (LyXDataSocket): simplify
1534         (~LyXDataSocket): close ann unregiser callback
1535         (server): delete function
1536         (fd): delete function
1537         (readln): small changes, improve some std::string usage
1538         (writeln): constify a bit
1539
1540 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1543         Qt frontend
1544
1545 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1548         after it has been populated
1549
1550 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * text2.C (insertInset): move cursor when inserting inset.
1553
1554 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * kbmap.C (findbindings): a couple of new methods. returns a
1557         container of kb_sequence objects. The real work is done by the
1558         private recursive version
1559         (printbindings): uses findbindings to print out a bracketed list
1560         of bindings (renamed from findbinding).
1561
1562         * MenuBackend.C (binding): use kb_keymap::findbindings
1563
1564         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1565
1566 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1567
1568         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1569
1570 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * paragraph.C (isWord): return true on insets that report
1573         isLetter().
1574
1575         * text.C (getWord): use Paragraph::isWord to decide what is in a
1576         word and what is not; fix bug 1609.
1577
1578 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1579
1580         * tex-strings.C: add "none" to string_paperpackages[], fixes
1581         off-by-one-error in the paperpackage selection.
1582
1583         * lyxlex.[Ch]:
1584         * tex-strings.[Ch]: char const * string[n]
1585         -> char const * const string[]
1586
1587 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1590         command, return early.
1591
1592 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1593
1594         * debug.h: add DEBUG to enum and fix size of ANY.
1595
1596         * debug.C: add support for Debug::DEBUG
1597         (showTags): cast errorTags.level to unsigned int
1598
1599         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1600         (redoCurrentBuffer): ditto
1601         (updateScrollbar): ditto
1602         * cursor.C (dispatch): ditto
1603         * text2.C (setLayout): ditto
1604         (setFont): ditto
1605         (updateCounters): ditto
1606         (editXY): ditto
1607         (deleteEmptyParagraphMechanism): ditto
1608
1609 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1610
1611         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1612         annotations to cleanup the Makefile slightly.
1613
1614 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * lyxrc.C: do not set user_email to a default value but use empty
1617         instead. The entry used to be translated, which does not work
1618         since at the point where lyxrc is constructed there is no
1619         translation service available
1620
1621         * messages.C (getLocaleDir): remove and use directly
1622         lyx_localedir() instead
1623
1624 2004-06-02  Angus Leeming  <leeming@lyx.org>
1625
1626         Fix crash caused by dereferencing null pointer 'exportdata' in
1627         OutputParams by creating a new ExportData variable on the heap,
1628         storing it in a boost::shared_ptr.
1629         The crash was triggered when generating an Instant Preview
1630         of an external inset.
1631
1632         * Makefile.am: add outputparams.C
1633
1634         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1635         (c-tor): allocate memory to it.
1636
1637         * exporter.C (c-tor): associated changes.
1638
1639 2004-06-01  Angus Leeming  <leeming@lyx.org>
1640
1641         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1642         contains data before calling isInset(0). (Bug 1513.)
1643
1644 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1645
1646         * exporter.C (checkOverwrite): new method
1647         * exporter.C (copyFile): new method
1648         * exporter.C (Export): copy referenced files to the document dir
1649         * exporter.[Ch]: new class ExportedFile
1650         * exporter.[Ch]: new class ExportData. Contains currently the
1651         names of referenced external files
1652         * outputparams.h: add exportdata member.
1653
1654 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1655
1656         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1657         version.C-tmp
1658
1659 2004-05-19  Angus Leeming  <leeming@lyx.org>
1660
1661         * LaTeXFeatures.C:
1662         * ToolbarBackend.C:
1663         * bufferparams.C:
1664         * lyxfunc.C: small changes due to the introduction of namespace
1665         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1666
1667 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1668
1669         * text3.C (dispatch): supress update when only moving the cursor
1670         * cursor.C (selHandle): remove commented code
1671
1672 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1673
1674         * paragraph.C (startTeXParParams): correct column count
1675         * CutAndPaste.C (pasteSelection): remove const_cast
1676         * output_docbook.C (docbookParagraphs): remove const_cast
1677         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1678         const_cast and return ParagraphList::const_iterator
1679         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1680         * output_plaintext.C (writeFileAscii): remove const_cast
1681         * paragraph.[Ch] (simpleTeXOnePar): make const
1682         * paragraph_funcs.C (outerPar): use const iterators
1683         * paragraph_pimpl.C (validate): use const iterators
1684         * text.C (setHeightOfRow): use const iterators
1685
1686 2004-05-17  Angus Leeming  <leeming@lyx.org>
1687
1688         * lfuns.h:
1689         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1690
1691         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1692         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1693         if the citation engine has changed.
1694
1695 2004-05-14  José Matos  <jamatos@lyx.org>
1696
1697         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1698         if the textclass does not provide it. Have it different for sgml and
1699         xml.
1700         support the language of document.
1701         * output_docbook.C (docbookParagraphs):
1702         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1703         first anchor as the id of the paragraph, remove special case code.
1704         * sgml.C (escapeChar): escape only < & >.
1705
1706 2004-05-14  Angus Leeming  <leeming@lyx.org>
1707
1708         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1709         dependencies on src/frontends/controllers/biblio.h. Define a
1710         CiteEngine_enum wrapper class to enable the enum to be forward
1711         declared.
1712
1713 2004-05-12  Angus Leeming  <leeming@lyx.org>
1714
1715         * buffer.C: up LYX_FORMAT to 234.
1716         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1717         use_numerical_citations with a single biblio::CiteEngine cite_engine
1718         variable.
1719         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1720
1721 2004-05-13  José Matos  <jamatos@lyx.org>
1722
1723         * converter.h:
1724         * converter.C (Converter, readFlags): add xml member.
1725         * outputparams.h: add XML flavor.
1726         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1727
1728 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * lyxfunc.C (dispatch):
1731         (getStatus): fix handling of LFUN_SEQUENCE
1732
1733 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * debug.C (showLevel): do not forget the end-of-line marker
1736
1737 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1738
1739         * kbmap.C (read): do not stop parsing a bind file when an error
1740         occurs (bug 1575)
1741
1742 2004-04-29  Angus Leeming  <leeming@lyx.org>
1743
1744         * cursor.C:
1745         * factory.C:
1746         * pariterator.C:
1747         * text2.C: wrap a bunch of #warning statements
1748         inside #ifdef WITH_WARNINGS blocks.
1749
1750 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1751
1752         * buffer.C: increment format to 233.
1753
1754 2004-04-28  Angus Leeming  <leeming@lyx.org>
1755
1756         * BufferView_pimpl.C:
1757         * lyxfunc.C:
1758         * text3.C:
1759         s/updateToolbar()/updateToolbars()/
1760         s/Toolbar.h/Toolbars.h/
1761
1762 2004-04-28  Angus Leeming  <leeming@lyx.org>
1763
1764         * BufferView.[Ch] (c-tor):
1765         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1766         No longer passes these data to the WorkArea generator.
1767
1768 2004-04-28  Angus Leeming  <leeming@lyx.org>
1769
1770         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1771
1772 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1773
1774         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1775
1776 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1777
1778         * output_latex.C (TeXEnvironment): make sure that there is a line
1779         break before \end{foo} for the last paragraph of a document
1780         (TeXOnePar): if the paragraph is at the end of the document (or
1781         inset) and the language has to be reset, then make sure that the
1782         line break is _before_ the language command, not after (fixes bug
1783         1225); also make sure that the language reset command is the first
1784         thing after the paragraph (to ensure proper nesting of
1785         environments and thus fix bug 1404)
1786
1787 2004-04-21  John Levon  <levon@movementarian.org>
1788
1789         * ToolbarBackend.h:
1790         * ToolbarBackend.C: make "name" be a programmatic name
1791         and a gui_name field.
1792
1793         * lyxfunc.C: display the minibuffer on M-x
1794
1795 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1798         (bug 1526)
1799
1800 2004-04-19  Angus Leeming  <leeming@lyx.org>
1801
1802         * BufferView_pimpl.C (setBuffer): changed preview interface.
1803
1804         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1805         possible values.
1806
1807 2004-04-19  John Levon  <levon@movementarian.org>
1808
1809         * BufferView_pimpl.C:
1810         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1811
1812 2004-04-05  Angus Leeming  <leeming@lyx.org>
1813
1814         * text.C (redoParagraphs): add call to updateCounters(), thereby
1815         fixing the missing "Figure #:" label from the caption of a
1816         figure float.
1817
1818 2004-04-13  Angus Leeming  <leeming@lyx.org>
1819
1820         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1821         cursor is clicked out of an inset.
1822
1823 2004-04-13  Angus Leeming  <leeming@lyx.org>
1824
1825         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1826         than an InsetOld one.
1827
1828 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1829
1830         * format.[Ch]: add editor to Format
1831         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1832         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1833
1834 2004-04-08  André Pönitz  <poenitz@gmx.net>
1835
1836         * metricsinfo.h: remove PainterInfo::width member
1837
1838 2004-04-08  Angus Leeming  <leeming@lyx.org>
1839
1840         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1841         "\providecommand" rather than "\newcommand", thereby preventing
1842         clashes with packages that define "\boldsymbol" themselves.
1843         Eg, beamer.
1844
1845 2004-04-08  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1848         thereby squashing an unnecessary warning.
1849
1850 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1851
1852         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1853         setBuffer()
1854
1855 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * BufferView.C (setCursor): call redoParagraph (some insets could
1858         have been opened)
1859         (putSelectionAt): remove the 'double update' trick
1860
1861         * BufferView_pimpl.C (fitCursor): call refreshPar
1862         (workAreaDispatch): remove an uneeded update call
1863         (dispatch): remove some manual update calls
1864
1865         * cursor.[Ch]: remove cached_y_, updatePos
1866         (selHandle): set noUpdate when appropriate
1867
1868         * lyxfunc.C (dispatch): track if we need an update
1869
1870         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1871
1872         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1873         (paintSelection): cheap optimization, do not call cursorX when not
1874         needed
1875         (paintPars): change signature
1876         (refreshPar): add
1877         (paintText): adjust
1878         (paintTextInset): adjust
1879
1880         * text.C: adjust
1881
1882 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * lengthcommon.C: compilation fix: remove explicit array size from
1885         unit_name[] and friends
1886
1887 2004-04-05  Angus Leeming  <leeming@lyx.org>
1888
1889         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1890
1891         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1892         present only for the preferences dialog.
1893         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1894
1895 2004-04-05  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1898         to enable the frontends to export changes to lyxrc correctly.
1899
1900         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1901
1902 2004-04-07  André Pönitz  <poenitz@gmx.net>
1903
1904         * cursor.[Ch] (selClear, adjust): remove math
1905
1906         * cursor_slice.C: more agressive assert
1907
1908         * lyxfunc.C:
1909         * BufferView_pimpl.C: rework mouse event dispatch
1910
1911         * dociterator.C:
1912         * paragraph.C:
1913         * text2.C:
1914         * text3.C: adjust
1915
1916 2004-04-05  André Pönitz  <poenitz@gmx.net>
1917
1918         * cursor.[Ch] (valign, halign...): remove unneeded functions
1919
1920 2004-04-05  Angus Leeming  <leeming@lyx.org>
1921
1922         * lyxlength.[Ch] (unit_name et al.): const-correct.
1923
1924 2004-04-05  Angus Leeming  <leeming@lyx.org>
1925
1926         * BufferView_pimpl.C:
1927         * buffer.C:
1928         * counters.C:
1929         * cursor.C:
1930         * lyxfunc.C
1931         * paragraph.C:
1932         * pariterator.C:
1933         * text.C:
1934         * text2.C:
1935         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1936
1937 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1940
1941 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1942
1943         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1944         * BufferView_pimpl.[Ch] (getStatus)
1945         * BufferView.[Ch] (getStatus): add
1946         * lyxfunc.C (getStatus): move lfuns handled in
1947         BufferView::dispatch to te function above
1948         * Cursor.C (setSelection): set selection() = true
1949
1950 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1951
1952         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1953
1954 2004-03-31  Angus Leeming  <leeming@lyx.org>
1955
1956         * lyxfunc.C (dispatch): Fall through to the generic
1957         Dialogs::show("preamble").
1958
1959 2004-03-31  Angus Leeming  <leeming@lyx.org>
1960
1961         * lyxfunc.C (dispatch): Fall through to the generic
1962         Dialogs::show("spellchecker").
1963
1964 2004-03-31  Angus Leeming  <leeming@lyx.org>
1965
1966         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1967         preferences dialog.
1968
1969 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1970
1971         * BufferView.C
1972         * cursor.[Ch]
1973         * dociterator.[Ch]:
1974         * insetiterator.[Ch]:
1975         * lyxfind.C:
1976         * lyxfunc.C:
1977         * pariterator.[Ch]:
1978         * text2.C:
1979         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1980
1981 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1982
1983         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1984         insets where we are putting the cursor.
1985
1986 2004-03-31  Angus Leeming  <leeming@lyx.org>
1987
1988         * lfuns.h:
1989         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1990
1991         * lyxrc.[Ch] (read, write): overloaded member functions taking
1992         a std::[io]stream arguments.
1993
1994         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1995
1996 2004-03-31  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1999         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2000
2001         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2002         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2003
2004 2004-03-31  Angus Leeming  <leeming@lyx.org>
2005
2006         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2007         the LFUN_ALL_INSETS_TOGGLE code.
2008
2009 2004-03-30  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2012         has died. Fall through to the generic Dialogs::show("document").
2013
2014 2004-03-30  Angus Leeming  <leeming@lyx.org>
2015
2016         * lfuns.h:
2017         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2018         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2019
2020         * lyxfunc.C (getStatus, dispatch): define the actions for these
2021         lfuns. Little more than a cut and pste job from ControlDocument.C
2022
2023         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2024
2025 2004-03-30  Angus Leeming  <leeming@lyx.org>
2026
2027         * lfuns.h:
2028         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2029         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2030
2031         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2032         open/closed state of ollapsable insets. Usage:
2033
2034         all-inset-toggle <state> <name>, where
2035         <state> == "open" || "closed" || "toggle" and
2036         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2037
2038         * lyxtext.h, text2.C (toggleInset): removed.
2039
2040         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2041         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2042         now passes LFUN_INSET_TOGGLE to the found inset.
2043
2044         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2045         is now invoked as "all-insets-toggle toggle branch".
2046
2047 2004-03-30  Angus Leeming  <leeming@lyx.org>
2048
2049         * dociterator.C:
2050         * insetiterator.C:
2051         * pariterator.[Ch]: added/corrected header blurb.
2052
2053 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2054
2055         * dociterator.[Ch]: add an inset_ member
2056         (backwardPos): implemented
2057         (backwardPos, forwardPos): use inset_ when the stack is empty.
2058         (doc_iterator_begin, doc_iterator_end): implemented
2059         * pariterator.[Ch]: adjust, add begin, end
2060         * insetiterator.[Ch]: adjust, add begin, end
2061         * cursor.C:
2062         * document.C:
2063         * BufferView.C:
2064         * BufferView_pimpl.C:
2065         * CutAndPaste.C: adjust
2066
2067 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2068
2069         * buffer.C: increment file format to 232.
2070         * LaTeXFeatures.C: add bibtopic package.
2071         * bufferparams.[Ch]: param \use_bibtopic.
2072
2073         * lyxrc.[Ch]: add lyxrc bibtex_command
2074         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2075
2076         * buffer.C: increment file format to 231.
2077
2078 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * dociterator.C: implement forwardPar
2081         * iterators.[Ch]: remove, replaced by
2082         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2083         * BufferView.C:
2084         * BufferView_pimpl.C:
2085         * CutAndPaste.C:
2086         * buffer.C:
2087         * bufferview_funcs.C:
2088         * cursor.C:
2089         * lyxfind.C
2090         * lyxfunc.C
2091         * paragraph_funcs.C
2092         * toc.C:
2093         * Makefile.am: adjust
2094
2095 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * CutAndPaste.C (pasteSelection): fix 2 crashes
2098         (eraseSelection): fix a crash
2099         * paragraph_funcs.C: remove a warning
2100
2101 2004-03-28  Angus Leeming  <leeming@lyx.org>
2102
2103         * lfuns.h:
2104         * LyXAction.C (init): new LFUN_PRINT.
2105
2106         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2107
2108 2004-03-27  Angus Leeming  <leeming@lyx.org>
2109
2110         * lfuns.h:
2111         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2112
2113         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2114
2115 2004-03-27  Angus Leeming  <leeming@lyx.org>
2116
2117         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2118         insetlist always contains non-null pointers to insets.
2119
2120 2004-03-26  Angus Leeming  <leeming@lyx.org>
2121
2122         * src/BufferView_pimpl.C:
2123         * src/CutAndPaste.C:
2124         * src/buffer.C:
2125         * src/iterators.C:
2126         * src/output_plaintext.C:
2127         * src/outputparams.h:
2128         * src/paragraph_funcs.C:
2129         * src/rowpainter.C:
2130         * src/text.C:
2131         * src/text2.C:
2132         * src/frontends/controllers/ControlErrorList.C:
2133         * src/frontends/gtk/FileDialogPrivate.C:
2134         * src/frontends/gtk/GPainter.C:
2135         * src/frontends/gtk/GToolbar.C:
2136         * src/frontends/qt2/QRef.C:
2137         * src/mathed/math_scriptinset.C: squash compiler warnings.
2138
2139 2004-03-26  Angus Leeming  <leeming@lyx.org>
2140
2141         * ispell.C (LaunchIspell::start):
2142         * lyx_cb.C (AutoSaveBuffer::start):
2143         invoke run(DontWait) rather than runNonBlocking().
2144
2145 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2146
2147         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2148
2149 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * kbsequence.C (print): adjust
2152
2153         * kbmap.C (printKeySym): rename and change signature
2154         (printKey): use LyXKeySym::print()
2155
2156 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2157
2158         * undo.C: add using std::advance to compile for stlport
2159
2160 2004-03-24  Angus Leeming  <leeming@lyx.org>
2161
2162         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2163         it leads to a crash when no buffer is present.
2164
2165 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166             Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * lyxfunc.C (dispatch):
2169         * bufferparams.C (readToken): use the new LColor::setColor
2170
2171         * LColor.[Ch] (setColor): new version that takes two strings as
2172         argument and creates a new color entry if necessary
2173
2174 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2175
2176         * buffer.C (makeLaTeXFile): if the main latex file that is
2177         processed is usually a subdocument of some master, then pretend
2178         for a while that it is actually the master
2179
2180 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2181
2182         * buffer.C (getLabelList):
2183         (getBibkeyList): use getMasterBuffer()
2184         (getMasterBuffer): new method. Returns the main document in the
2185         case where one is using included documents.
2186
2187 2004-03-25  André Pönitz  <poenitz@gmx.net>
2188
2189         * Makefile.am:
2190         * iterators.[Ch]:
2191         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2192
2193         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2194
2195         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2196         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2197
2198         * ParameterStruct.h: merge with ParagraphParameters
2199
2200         * lyxtext.h: remove LyXText::parOffset() and getPar()
2201
2202         * text3.C: Remove all 'manual' update calls. We do now one per user
2203         interaction which is completely sufficient.
2204
2205         * Bidi.C:
2206         * BufferView.[Ch]:
2207         * BufferView_pimpl.C:
2208         * FontIterator.[Ch]:
2209         * MenuBackend.C:
2210         * ParagraphParameters.[Ch]:
2211         * buffer.C:
2212         * buffer.h:
2213         * bufferlist.C:
2214         * cursor.[Ch]:
2215         * cursor_slice.[Ch]:
2216         * dociterator.[Ch]:
2217         * errorlist.[Ch]:
2218         * factory.C:
2219         * lfuns.h:
2220         * lyxfind.C:
2221         * lyxfunc.C:
2222         * output_docbook.[Ch]:
2223         * output_latex.[Ch]:
2224         * output_linuxdoc.[Ch]:
2225         * output_plaintext.[Ch]:
2226         * paragraph.[Ch]:
2227         * paragraph_funcs.[Ch]:
2228         * paragraph_pimpl.[Ch]:
2229         * rowpainter.C:
2230         * tabular.[Ch]:
2231         * text.C:
2232         * text2.C:
2233         * toc.C:
2234         * undo.[Ch]: adjust
2235
2236         * frontends/controllers/ControlDocument.C:
2237         * frontends/controllers/ControlErrorList.C:
2238         * frontends/controllers/ControlSpellchecker.C:
2239         * insets/inset.C:
2240         * insets/inset.h:
2241         * insets/insetbase.h:
2242         * insets/insetbibitem.C:
2243         * insets/insetbox.C:
2244         * insets/insetbranch.C:
2245         * insets/insetcaption.C:
2246         * insets/insetcharstyle.C:
2247         * insets/insetcharstyle.h:
2248         * insets/insetcollapsable.C:
2249         * insets/insetcollapsable.h:
2250         * insets/insetert.C:
2251         * insets/insetfloat.C:
2252         * insets/insetfoot.C:
2253         * insets/insetmarginal.C:
2254         * insets/insetnote.C:
2255         * insets/insetoptarg.C:
2256         * insets/insettabular.C:
2257         * insets/insettext.C:
2258         * insets/insettext.h:
2259         * insets/insetwrap.C:
2260         * mathed/math_mboxinset.C:
2261         * mathed/math_nestinset.C:
2262         * mathed/math_scriptinset.C:
2263         * mathed/math_scriptinset.h:
2264         * support/types.h:
2265
2266 2004-03-24  Angus Leeming  <leeming@lyx.org>
2267
2268         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2269         deal with any child processes that have finished but are waiting to
2270         communicate this fact to the rest of LyX.
2271
2272 2004-03-24  Angus Leeming  <leeming@lyx.org>
2273
2274         64-bit compile fixes.
2275
2276         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2277         (c-tor): pass lyx::pos_types rather than ints.
2278
2279         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2280         lyx::pos_type.
2281
2282         * text.C (Delete): compile fix.
2283         (getPar): ensure that function declaration is the same as that in
2284         the header file.
2285
2286 2004-03-23  Angus Leeming  <leeming@lyx.org>
2287
2288         * ispell.C (LaunchIspell):
2289         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2290         a boost::shred_ptr rather than a std::auto_ptr.
2291
2292 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2295         handle LFUN_FILE_INSERT_*
2296
2297         * lyxrc.C (setDefaults, getDescription, output, read):
2298         * lyxrc.h: remove ps_command
2299
2300 2004-03-22  Angus Leeming  <leeming@lyx.org>
2301
2302         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2303         Ensure that error_handler is processed once only and that all data
2304         is saved before attempting to output any warning messages.
2305
2306         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2307
2308 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2311
2312 2004-03-19  André Pönitz  <poenitz@gmx.net>
2313
2314         * cursor.[Ch] (reset): take main text inset as argument
2315
2316         * BufferView: adjust
2317         * BufferView_pimpl.C: adjust
2318
2319         * paragraph.[Ch]: fix completely broken operator=()
2320
2321 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2322
2323         * LColor.C (getFromLyXName): make sure that the color name is used
2324         as lowercase.
2325
2326 2004-03-17  Angus Leeming  <leeming@lyx.org>
2327
2328         * lfuns.h:
2329         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2330
2331         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2332         dialog and to kill a forked process.
2333
2334 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * text2.C (setCursorFromCoordinates): fix font problem
2337
2338 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2341         bogus "rebuild cursor" code
2342
2343 2004-03-11  André Pönitz  <poenitz@gmx.net>
2344
2345         * buffer.[Ch]: use InsetText instead of LyXText as container for
2346         the main lyx text.
2347
2348         * dociterator.[Ch]: drop the BufferView * member which is not needed
2349         anymore after the change to buffer.C
2350
2351         * paragraph_funcs.C:
2352         * text.C:
2353         * text2.C:
2354         * BufferView.[Ch]:
2355         * BufferView_pimpl.[Ch]:
2356         * cursor.[Ch]:
2357         * cursor_slice.[Ch]: adjust
2358
2359         * text3.C: fix bug in mathDispatch
2360
2361 2004-03-08  André Pönitz  <poenitz@gmx.net>
2362
2363         * undo.[Ch]: use 'StableDocumentIterator' as base for
2364         the Undo struct.
2365
2366 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2367
2368         * LaTeXFeatures.C:
2369         * bufferparams.[Ch]: add jurabib support and param.
2370
2371         * LaTeX.C: add FIXME/comment.
2372
2373 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2374
2375         * buffer.C: increment file format to 230.
2376
2377 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * cursor.C (dispatch): avoid infinite loops
2380
2381 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * rowpainter.C (paintSelection): fix x coordinates
2384
2385 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * text.C (rowBreakPoint): fix breaking before displayed insets
2388
2389 2004-03-01  André Pönitz  <poenitz@gmx.net>
2390
2391         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2392
2393         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2394
2395         * Makefile.am:
2396         * BufferView.C:
2397         * BufferView_pimpl.C:
2398         * buffer.C:
2399         * lyxfind.C:
2400         * lyxfunc.C:
2401         * text.C:
2402         * text2.C:
2403         * text3.C: adjust
2404
2405 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * lyxtext.h:
2408         * text.C:
2409         * text2.C:
2410         * rowpainter.C:
2411         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2412         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2413
2414 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * Bidi.[Ch] (computeTables): const correctness
2417         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2418         fill_hfill, fill_label_hfill and x from Row
2419         * lyxtext.h: prepareToPrint returns a RowMetrics
2420         * rowPainter.C: adjust
2421         * text.C (prepareToPrint): use width, not textWidth. adjust
2422         (redoParagraphInternal, cursorX): adjust
2423         * text2.C (getColumnNearX): adjust
2424         (init): put a default value to the top LyXText::width
2425
2426 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2429
2430 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * lyxtext.h: add FontIterator class
2433
2434         * text.C (FontIterator, operator*, operator->, operator++): add
2435         (rowBreakPoint, setRowWidth): adjust (fixing a
2436         rebreaking bug)
2437
2438 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * BufferView_pimpl.C (workAreaDispatch): allow also
2441         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2442
2443 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2444
2445         * text.C (rowBreakPoint): fix a bug showing with very large insets
2446
2447 2004-02-25  André Pönitz  <poenitz@gmx.net>
2448
2449         * text3.C:
2450         * cursor.[Ch]: move some mathed specific code to mathed
2451
2452 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2453
2454         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2455         use_tempdir in preferences
2456         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2457         tempfile creation
2458         * lyx_main.C: ensure that tempdir is valid
2459         * lyxlex.h: correct typo
2460         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2461         * paragraph.[Ch] (isMultiLingual): make const
2462         * cursor.[Ch] (openable): make const
2463
2464 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2465
2466         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2467
2468 2004-02-20  André Pönitz  <poenitz@gmx.net>
2469
2470         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2471
2472         * cursor.[Ch]: prepare for localized getStatus()
2473
2474         * lyxtext.h:
2475         * tabular.C:
2476         * text.C:
2477         * text2.C:
2478         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2479
2480 2004-02-20  André Pönitz  <poenitz@gmx.net>
2481
2482         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2483
2484 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * text2.C (setCursorFromCoordinates): switch to absolute coords
2487         (cursorUp): adjust
2488         (cursorDown): adjust
2489         * text3.C (dispatch): adjust
2490
2491 2004-02-16  André Pönitz  <poenitz@gmx.net>
2492
2493         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2494           insets/ChangeLog)
2495
2496         * cursor_slice.[Ch]: remove unneeded acessor function
2497
2498         * lyxtext.h: rename rtl() to isRTL()
2499
2500         * rowpainter.C:
2501         * tabular.C:
2502         * text.C:
2503         * text2.C:
2504         * text3.C: adjust
2505
2506 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * rowpainter.C (paintSelection): coord fix
2509
2510 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2511
2512         * Spacing.C: compile fix
2513
2514 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * cursor.C (dispatch): restore current_ before returning
2517
2518 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * text2.C (cursorUp, cursorDown): fix coords
2521         (moveUp): fix crash
2522
2523 2004-02-12  André Pönitz  <poenitz@gmx.net>
2524
2525         * lyxtext.h:
2526         * text.C:
2527         * text2.C:
2528         * text3.C: add LCursor & parameter to most cursor movement functions
2529           remove usage of LyXText::cursorRow() and cursorPar()
2530
2531         * cursor.[Ch]: add textRow() needed members
2532
2533         * BufferView.C:
2534         * BufferView_pimpl.C:
2535         * paragraph.[Ch]:
2536         * BufferView.C:
2537         * BufferView_pimpl.C: adjust
2538
2539 2004-02-11  André Pönitz  <poenitz@gmx.net>
2540
2541         * lyxfunc.C:
2542         * BufferView.[Ch]:
2543         * BufferView_pimpl.C: shift undo/redo handling
2544
2545         * cursor.[Ch]: fix mathed crash
2546
2547         * lyxfind.C:
2548         * lyxtext.h: move selectionAsText to LCursor
2549
2550         * output_latex.C:
2551         * paragraph.C:
2552         * text.C:
2553         * text2.C:
2554         * text3.C: adjust
2555
2556         * rowpainter.C: fix excessive drawing
2557
2558 2004-02-06  André Pönitz  <poenitz@gmx.net>
2559
2560         * BufferView.[Ch]:
2561         * BufferView_pimpl.[Ch]:
2562         * text3.C: move some text specific LFUN handling
2563
2564 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2565
2566         * text3.C (checkInsetHit): adjust coords
2567         * text2.C (getColumnNearX): adjust coords
2568         (edit): adjust coords
2569         * text.C (getRowNearY): add two asserts
2570
2571 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2572
2573         * converter.C:
2574         * format.C: add using std::distance to compile on gcc 2.95/stlport
2575
2576 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2577
2578         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2579
2580 2004-02-04  André Pönitz  <poenitz@gmx.net>
2581
2582         * BufferView.[Ch] (insertInset):
2583         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2584
2585         * text2.C:
2586         * text3.C: adjust
2587
2588 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2591         on the default clause of the switch
2592         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2593         wasn't catched by LCursor::dispatch
2594
2595 2004-02-03  André Pönitz  <poenitz@gmx.net>
2596
2597         * BufferView.C:
2598         * cursor.[Ch]: some additional asserts
2599
2600         * undo.[Ch]: remove LyXText dependency in interface
2601
2602         * lyxfunc.C: adjust
2603
2604         * lyxtext.h (firstPar, lastPar): remove dead functions
2605
2606         * text.C:
2607         * text2.C:
2608         * text3.C:
2609         * paragraph.[Ch]: adjust
2610
2611 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2612
2613         * lyxfind.C (find): fix argument order in call to ::find
2614
2615 2004-02-02  André Pönitz  <poenitz@gmx.net>
2616
2617         * cursor.[Ch]: remove direct access to anchor
2618
2619         * text.C: remove findText() hack
2620
2621 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2622
2623         * iterators.[Ch] (lockPath): remove in favour of...
2624         * BufferView.[Ch] (setCursor): this addition
2625         * BufferView.C (putSelectionAt): adjust
2626         * undo.C (performUndoOrRedo): adjust
2627         * lyxfunc.C (dispatch): adjust
2628
2629 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2630
2631         * iterators.C (lockPath): add a missing slice
2632         * undo.C (performUndoOrRedo): remove redundant positioning code
2633
2634 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2635
2636         * vc-backend.C (scanMaster): ";" -> ';'
2637
2638 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2639
2640         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2641         std::binary_function
2642
2643         * lyxtextclass.C (compare_name): rename to...
2644         (LayoutNamesEqual): ...this
2645
2646         * lyxlex_pimpl.C (compare_tags): inherit from
2647         std::binary_function, put back into anon namespace
2648
2649         * lyxfind.C (MatchString): inherig from std::binary_function
2650         (findChange): use empty() istead of !size()
2651
2652         * format.C (FormatNamesEqual): new functor
2653         (getFormat): use it
2654         (getNumber): use it
2655         (add): use it
2656         (erase): use it
2657         (setViewer): use it
2658
2659         * converter.C (compare_Converter): rename to...
2660         (ConverterEqual): ...this, and fixup a bit.
2661         (getConverter): use it, and make function const
2662         (getNumber): use it, and make function const
2663         (add): use it
2664         (erase): use it:
2665
2666         * bufferlist.C: add using boost::bind
2667
2668         * MenuBackend.C (MenuNamesEqual): new functor
2669         (hasMenu): use it, and make function const
2670         (hasSubmenu): use nested bind to get rid of compare_memfun.
2671
2672 2004-01-30  André Pönitz  <poenitz@gmx.net>
2673
2674         * BufferView_pimpl.C:
2675         * cursor.C:
2676         * cursor.h:
2677         * cursor_slice.[Ch]:
2678         * lyxfunc.C:
2679         * lyxtext.h:
2680         * paragraph_funcs.C:
2681         * paragraph_funcs.h:
2682         * rowpainter.C:
2683         * text.C:
2684         * text2.C:
2685         * text3.C: move some of the edit(x,y) handling to the insets
2686         some coordinate changes.
2687
2688 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2689
2690         * text.C: add using statements for std::advance and std::distance
2691
2692         * paragraph.C: add using statement for std::distance
2693
2694         * lyxfind.C: add using statement for std::advance
2695
2696         * cursor.C (region): remove std:: from swap
2697         (openable): use nucleus in stead of operator->
2698
2699         * BufferView.C: add using statements for std::distance and std::swap
2700
2701 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2702
2703         * iterators.C: Remove the pimple, move the needed structures to
2704         the header file. Create accessor for the positions stack.
2705         (asPosIterator): remove function
2706
2707         * PosIterator.C (PosIterator): move constructors to top of file
2708         (PosIterator): reimplement the constructor taking a ParIterator in
2709         terms of setFrom.
2710         (setFrom): new function
2711         (operator!=): inline it
2712
2713 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2714
2715         * lyxfind.C (replaceAll): use std::advance
2716
2717         * iterators.h: inherit from std::iterator.
2718
2719         * PosIterator.C (advance, distance): remove
2720         * PosIterator.h: interit from std::iterator.
2721
2722 2004-01-26  André Pönitz  <poenitz@gmx.net>
2723
2724         * BufferView.[Ch]:
2725         * BufferView_pimpl.[Ch]:
2726         * InsetList.[Ch]:
2727         * PosIterator.[Ch]:
2728         * buffer.h:
2729         * bufferview_funcs.C:
2730         * cursor.[Ch]:
2731         * cursor_slice.h:
2732         * factory.[Ch]:
2733         * iterators.[Ch]:
2734         * lyxfind.C:
2735         * lyxfunc.C:
2736         * lyxtext.h:
2737         * output_docbook.C:
2738         * output_latex.C:
2739         * output_linuxdoc.C:
2740         * output_plaintext.C:
2741         * paragraph.[Ch]:
2742         * paragraph_funcs.[Ch]:
2743         * paragraph_pimpl.[Ch]:
2744         * rowpainter.C:
2745         * tabular.C:
2746         * tabular.h:
2747         * text.C:
2748         * text2.C:
2749         * text3.C: more IU:  dumps most of the rest of the mathcursor
2750     implementation into cursor.[Ch]; "globalize" a bit of it.
2751
2752 2004-01-25  Angus Leeming  <leeming@lyx.org>
2753
2754         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2755
2756 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2757
2758         * LaTeXFeatures.h: add nice_ and nice() const
2759         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2760
2761 2004-01-20  André Pönitz  <poenitz@gmx.net>
2762
2763         * BufferView.[Ch]:
2764         * BufferView_pimpl.C:
2765         * PosIterator.C:
2766         * bufferview_funcs.C:
2767         * cursor.[Ch]:
2768         * cursor_slice.[Ch]:
2769         * factory.C:
2770         * iterators.C:
2771         * lyx_cb.C:
2772         * lyxfind.C:
2773         * lyxfunc.C:
2774         * lyxtext.h:
2775         * rowpainter.C:
2776         * text.C:
2777         * text2.C:
2778         * text3.C:
2779         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2780           LCursor and mathcursor parts to LCursor and InsetBase.
2781
2782 2004-01-15  André Pönitz  <poenitz@gmx.net>
2783
2784         * cursor_slice.[Ch]: add a few covienience functions
2785
2786         * funcrequest.[Ch]: remove BufferView * member
2787
2788         * BufferView_pimpl.C:
2789         * cursor.C:
2790         * factory.[Ch]:
2791         * lyxfind.[Ch]:
2792         * lyxfunc.C:
2793         * lyxtext.h:
2794         * text3.C:
2795         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2796
2797 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2800         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2801
2802 2004-01-13  André Pönitz  <poenitz@gmx.net>
2803
2804         * textcursor.[Ch]:
2805         * lyxtext.h: hide cursor and selection anchor behind accessor function
2806
2807         * BufferView.C:
2808         * BufferView_pimpl.[Ch]:
2809         * PosIterator.C:
2810         * bufferview_funcs.C:
2811         * cursor.h:
2812         * lyxfind.C:
2813         * lyxfunc.C:
2814         * text.C:
2815         * text2.C:
2816         * text3.C:
2817         * undo.C: adjust
2818
2819         * cursor.h:
2820         * cursor_slice.[Ch]: some integer type changes for inset unification
2821
2822         * lyxcursor.[hC]: remove, it's CursorSlice now.
2823
2824         * Makefile.am:
2825         * BufferView_pimpl.[Ch]:
2826         * bufferview_funcs.C:
2827         * cursor_slice.C:
2828         * lyxtext.h:
2829         * text.C:
2830         * text2.C:
2831         * text3.C:
2832         * textcursor.[Ch]: adjust
2833
2834 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2835
2836         * text2.C (undoSpan): add and use
2837         * text.C (breakParagraph): use undoSpan (fix bug 578)
2838         * lyxtext.h: adjust
2839
2840 2004-01-08  Angus Leeming  <leeming@lyx.org>
2841
2842         * BufferView_pimpl.C (MenuInsertLyXFile):
2843         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2844         * lyxfunc.C (menuNew, open, doImport):
2845         FileFilterList change to the FileDialog open and save functions.
2846
2847 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2848
2849         * ShareContainer.h: make isEqual and isUnique adaptable
2850
2851         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2852
2853 2004-01-07  Angus Leeming  <leeming@lyx.org>
2854
2855         * LyXAction.C:
2856         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2857
2858         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2859
2860         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2861         functions replacing find, replace and replaceAll.
2862
2863         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2864         LFUN_WORDFIND(FORWARD|BACKWARD).
2865
2866 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2867
2868         * text.C (breakParagraph): remove an outdated #warning
2869
2870 2004-01-07  André Pönitz  <poenitz@gmx.net>
2871
2872         * lyxfind.C: somewhat clearer logic
2873
2874         * text.C: prevent crash in cursorX on unitialized row cache
2875
2876 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * lyxcursor.[Ch] (operator>): add
2879         * textcursor.C (selStart, selEnd): use std::min and std::max
2880
2881 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2882
2883         * Chktex.C: include boost/format.hpp
2884
2885 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2886
2887         * InsetList.C: replace functor MathcIt with adaptable functor
2888         InsetTablePosLess
2889         (insetIterator): modify accordingly
2890
2891         * BranchList.h: move the BranchNamesEqual functor here from...
2892         * BranchList.C: ... to here
2893
2894         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2895         SameName and match.
2896         (add): replace a finding loop with std::find_if.
2897
2898 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2899
2900         * output_docbook.C: moving LatexParam functionality into
2901         .layout files
2902
2903 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2904
2905         * buffer.C: increment format to 229.
2906
2907 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2908
2909         * LaTeXFeatures.C:
2910         * lyx_sty.[Ch]: remove minipageindent_def
2911
2912         * LyXAction.C:
2913         * factory.C:
2914         * lfuns.h:
2915         * lyxfunc.C:
2916         * text3.C: remove LFUN_INSET_MINIPAGE
2917
2918 2003-12-28  Angus Leeming  <leeming@lyx.org>
2919
2920         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2921
2922 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * text2.C (setParagraph): fix off-by-one crash
2925
2926 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2927
2928         * output_docbook.C: header stuff for AGU
2929
2930 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * text2.C (redoCursor): remove
2933         * text.C:
2934         * text3.C:
2935         * BufferView_pimpl.C: remove calls to redoCursor and
2936         setCursor(cursor.par(), cursor.pos()) all around
2937
2938 2003-12-15  Angus Leeming  <leeming@lyx.org>
2939
2940         * buffer.C: up the format to 228.
2941
2942 2003-12-15  André Pönitz  <poenitz@gmx.net>
2943
2944         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2945         slices
2946
2947         * Makefile.am:
2948
2949         * BufferView_pimpl.C:
2950         * cursor.[Ch]:
2951         * lyxcursor.[Ch]:
2952         * rowpainter.[Ch]:
2953         * lyxtext.h:
2954         * text.C:
2955         * text2.C:
2956         * text3.C: adjust
2957
2958 2003-12-15  Angus Leeming  <leeming@lyx.org>
2959
2960         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2961         than getFromGUIName to manipulate the color.
2962
2963 2003-12-14  Angus Leeming  <leeming@lyx.org>
2964
2965         * BranchList.[Ch]: minimize the API.
2966         (Branch::getBranch, getColor): now return a 'const &'.
2967         (Branch::setSelected) now returns a bool set to true if the
2968         selection status changes.
2969         (BranchList::clear, size, getColor, setColor, setSelected,
2970         allBranches, allSelected, separator): removed.
2971         (BranchList::find): new functions, returning the Branch with
2972         the given name.
2973         (BranchList::add, remove): return a bool indicating that
2974         the operation was successful.
2975
2976         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2977         new InsetBranch::isBranchSlected member function.
2978
2979         * LColor.[Ch]: mimimize the API.
2980         (fill): renamed as addColor and made private.
2981         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2982         versions of these functions taking a string arg have been removed.
2983
2984         * bufferparams.C (readToken):
2985         * lyxfunc.C (dispatch):
2986         * lyxrc.C (read): changes due to the altered BranchList and
2987         LColor APIs.
2988
2989         * factory.C (createInset, readInset): changes due to altered
2990         InsetBranch c-tor.
2991
2992 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2993
2994         * factory.C:
2995         * lyxfunc.C: remove insetminipage. "minipage-insert"
2996         now produces a frameless minipage box inset.
2997
2998 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * textcursor.[Ch] (selStart,selEnd): add new methods
3001         remove selection::start, end, use LyXCursor::operator<
3002         * lyxcursor.[Ch] (operator<): add
3003         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3004         * BufferView.[Ch] (unsetXSel): add
3005         * text2.C (clearSelection): use unsetXSel,adjust
3006         * text.C: adjust
3007         * text3.C: adjust
3008         * rowpainter.C: adjust
3009         * bufferview_funcs.C (put_selection_at): adjust
3010
3011 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * BufferView_pimpl.C: small coord. correction
3014
3015 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3018         dragging over the splash screen.
3019
3020 2003-12-11  Angus Leeming  <leeming@lyx.org>
3021
3022         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3023         as it is now handled in LyXText::dispatch.
3024
3025         * text3.C (doInsertInset): remove a level of nesting.
3026
3027 2003-12-11  Angus Leeming  <leeming@lyx.org>
3028
3029         * factory.C (createInset): changes due to the changed interface to
3030         InsetCommandMailer::string2params.
3031
3032 2003-12-10  Angus Leeming  <leeming@lyx.org>
3033
3034         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3035         'dialog-show-new-inset <inset name>'
3036
3037 2003-12-10  Angus Leeming  <leeming@lyx.org>
3038
3039         * buffer.C: up the format to 227.
3040
3041         * factory.C: the box inset is now identified simply by 'Box'.
3042
3043 2003-12-10  Angus Leeming  <leeming@lyx.org>
3044
3045         * buffer.C: up the format to 226.
3046
3047         * factory.C: the note inset is now identified simply by 'Note'.
3048
3049 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3052         when a pit is enough. Standarize a couple of loops.
3053
3054 2003-12-05  Angus Leeming  <leeming@lyx.org>
3055
3056         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3057         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3058         data to the re-worked "log" dialog.
3059
3060 2003-12-03  André Pönitz  <poenitz@gmx.net>
3061
3062         * PosIterator.C:
3063         * iterators.C:
3064         * lyxtext.h:
3065         * output_latex.C:
3066         * paragraph_funcs.C:
3067         * text.C:
3068         * text2.C: use Inset::getText instead of Inset::getParagraph
3069
3070 2003-12-03  André Pönitz  <poenitz@gmx.net>
3071
3072         * buffer.[Ch]:
3073         * lyxtext.h:
3074         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3075         InsetText::read() as LyXText::read()
3076
3077 2003-12-02  Angus Leeming  <leeming@lyx.org>
3078
3079         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3080         type. Add a comment in the implementation that the function uses
3081         the stream's bad() function rather than fail() as the std::streams
3082         would do.
3083
3084 2003-12-02  André Pönitz  <poenitz@gmx.net>
3085
3086         * lyxlex.[Ch]: make interface more similar to std::stream
3087
3088         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3089
3090 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3091
3092         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3093
3094 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3095
3096         * vspace.[Ch]: remove VSpace::NONE
3097
3098 2003-12-01  André Pönitz  <poenitz@gmx.net>
3099
3100         * buffer.[Ch]:
3101         * lyxtext.h: move ParagraphList member to LyXText
3102         rename LyXText::ownerParagraphs to LyXText::paragraph
3103
3104         * CutAndPaste.C:
3105         * bufferview_funcs.C:
3106         * iterators.[Ch]:
3107         * lyx_cb.C:
3108         * paragraph.C:
3109         * rowpainter.C:
3110         * tabular.C:
3111         * text.C:
3112         * text2.C:
3113         * text3.C: adjust
3114
3115         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3116
3117         * undo.C: fix cursor positioning
3118
3119 2003-12-01  John Levon  <levon@movementarian.org>
3120
3121         * BufferView_pimpl.C: fix a crash on exit with
3122         a buffer open
3123
3124 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3125
3126         * BranchList.C: fix setSelected() method.
3127
3128 2003-11-28  André Pönitz  <poenitz@gmx.net>
3129
3130         * ParagraphParameters.[Ch]:
3131         * ParameterStruct.h: remove space above/below from Paragraph to
3132          InsetVSpace
3133
3134         * BufferView_pimpl.C:
3135         * factory.C:
3136         * lyxfunc.C:
3137         * lyxtext.h:
3138         * output_latex.C:
3139         * paragraph.C:
3140         * paragraph_funcs.C:
3141         * rowpainter.[Ch]:
3142         * text.C:
3143         * text2.C:
3144         * text3.C: adjust
3145
3146 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3147
3148         * factory.C: Syntax change for CharStyles
3149
3150 2003-11-28  André Pönitz  <poenitz@gmx.net>
3151
3152         * BufferView.[Ch]:
3153         * BufferView.[Ch]:
3154         * buffer.[Ch]:
3155         * buffer.[Ch]: move LyXText member
3156
3157 2003-11-28  André Pönitz  <poenitz@gmx.net>
3158
3159         * BufferView.[Ch]: make LyXText * text a private member
3160
3161         * BufferView_pimpl.C:
3162         * cursor.C:
3163         * iterators.C:
3164         * lyx_cb.C:
3165         * lyxfind.C:
3166         * lyxtext.h:
3167         * rowpainter.[Ch]:
3168         * text.C:
3169         * text2.C:
3170         * undo.C: adjust
3171
3172         * output_plaintext.C: cleanup
3173
3174 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3175
3176         * buffer.C:
3177         * lyxtextclass.[Ch]: parametrize SGML document header
3178
3179 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * converter.[Ch]:
3182         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3183         getFlavor().
3184
3185 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * text2.C (setFont): rework using PosIterator (no more recursive)
3188         (setCharFont): no more needed
3189         (setLayout): no more selection cursors fiddling (done by redoCursor)
3190         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3191         destroy remaining ones)
3192
3193 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3196         * lyxtext.h: ditto
3197         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3198         selection cursors
3199         * lyxfunc.C: adjust
3200         * text3.C: adjust + re-allow multi par depth changes
3201         * textcursor.C: simplify a bit
3202
3203 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3204
3205         * src/buffer.C:
3206         * src/lyxlayout.C:
3207         * src/lyxlayout.h:
3208         * src/lyxtext.h:
3209         * src/output_docbook.C:
3210         * src/output_latex.C:
3211         * src/paragraph.C:
3212         * src/paragraph.h:
3213         * src/sgml.C:
3214         * src/sgml.h:
3215         * src/text2.C: Introducing a number of tags parametrizing various
3216         XML formats that we may want to support
3217
3218 2003-11-25  André Pönitz  <poenitz@gmx.net>
3219
3220         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3221
3222         * lyxtext.h (leftMargin/rightMargin): simplify interface
3223
3224         * rowpainter.C:
3225         * text.C:
3226         * text2.C:
3227         * text3.C: adjust
3228
3229 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3230
3231         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3232         master file to any child files. Fixes bug 546.
3233
3234 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3237
3238 2003-11-24  André Pönitz  <poenitz@gmx.net>
3239
3240         * rowpainter.C: simplification
3241
3242         * text2.C (updateCounters): remove call to redoParagraph on
3243         changed labels as this is far too expensive.
3244
3245 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3246
3247         * converter.C (convert): fix a crash: this function gets
3248         called with buffer == 0 from importer code.
3249
3250 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3251
3252         * text3.C (cursorPrevious): make sure that we do not compare
3253         iterators form different containers.
3254         (cursorNext): ditto
3255
3256         * rowpainter.C (paintSelection): make sure that we do not compare
3257         iterators from different containers.
3258
3259         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3260         iterators from different ParagraphList containers.
3261         [NEXT] ditto
3262
3263         * text2.C (LyXText): change order of initialization slightly
3264         (operator=): new function. copy all variables except cache_par_
3265         (moveUp): make sure that we do not compare iterators from
3266         different ParagraphList constainers.
3267         (moveDown): ditto
3268
3269         * text.C (firstPar): new function
3270         (lastPar): new function
3271         (endPar): new function
3272
3273         * lyxtext.h: move things around and group public functions, public
3274         variables, private functions, private variables
3275
3276 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3277
3278         * factory.C: change call to InsetERT constructor to avoid
3279         additional invocation of method status
3280         * text2.C (toggleInset): remove redundant update() call
3281         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3282         instead of a Bufferview pointer
3283
3284 2003-11-21  André Pönitz  <poenitz@gmx.net>
3285
3286         * rowpainter.C: simplification
3287
3288 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3289
3290         * text3.C (dispatch): make possible to extend a word/row selection
3291         with the mouse
3292
3293 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3294
3295         * lyxtext.h: x0_,y0_ -> xo_,yo_
3296         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3297         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3298         * rowpainter.C (paintRows): paint full paragraphs
3299
3300 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3303         screen coordinates)
3304
3305 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * lyxtext.h: add x0_, y0_
3308         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3309         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3310
3311 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * text2.C (setCursorIntern): move the x_target update here *
3314         * text3.C: change some bv() to true/false in calls to
3315         cursorUp/Down/Right/Left
3316         * cursor.C: use helper function.
3317
3318 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3319
3320         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3321         * paragraph_funcs.[Ch]: correct comment
3322         * rowpainter.C: do not paint selections away from bv->cursor()
3323         Fix a long standing selection painting bug.
3324         * text3.C: generalize mouse-selection code to LyXTexts other that
3325         top one
3326         * textcursor.C: do not use y coords if we can use par offsets
3327
3328 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3331         cursor position after e.g. inset insert)
3332
3333 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * lyxfind.C (replace): adjust to locking removal + some
3336         code simplification
3337
3338 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3341         of the path
3342
3343 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3344
3345         * lyxlayout.[Ch]:
3346         * output_docbook.C: XML sanitation: new layout
3347         parameters InnerTag and CommandDepth
3348
3349 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3350
3351         * BufferView_pimpl.C:
3352         * factory.C:
3353         * text3.C: Fix the insertion and modification of button-style
3354         insets
3355
3356 2003-11-13  André Pönitz  <poenitz@gmx.net>
3357
3358         * InsetList.[Ch]: remove deleteLyXText
3359
3360         * paragraph.[Ch]: cache beginOfBody position
3361
3362         * Bidi.C:
3363         * text.C:
3364         * text2.C:
3365         * text3.C: remove superfluous update() calls
3366
3367         * vspace.C: cleanup
3368
3369 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3372         * BufferView.C (fitLockedInsetCursor): remove
3373         * cursor.[Ch] (getDim): add
3374         * text.C (getRowNearY): add faster version
3375         * text3.C: remove some update calls
3376
3377 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * LaTeXFeatures.C:
3380         * LyXAction.C:
3381         * MenuBackend.C:
3382         * MenuBackend.h:
3383         * dispatchresult.h:
3384         * factory.C:
3385         * lfuns.h:
3386         * lyxfunc.C:
3387         * lyxtextclass.C:
3388         * lyxtextclass.h:
3389         * text3.C: The Character Style /XML short element patch.
3390
3391 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3392
3393         * text3.C:
3394         * factory.C: Small step to solving 'unable to insert some insets'
3395         problem
3396
3397 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3398
3399         * cursor.[Ch] (updatePos): new function for updating the y
3400         position of the tip inset
3401         * bufferview_funcs.C (put_selection_at):
3402         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3403
3404 2003-11-11  André Pönitz  <poenitz@gmx.net>
3405
3406         * text.C: remove big comment on invalid Paragraph pointers as it is
3407         not valid anymore
3408
3409 2003-11-11  André Pönitz  <poenitz@gmx.net>
3410
3411         * text_funcs.[Ch]: merge with ...
3412
3413         * text.C: ... this
3414
3415         * lyxtext.h:
3416         * text2.C:
3417         * text3.C: adjust
3418
3419         * Makefile.am: remove text_funcs.[Ch]
3420
3421 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3422
3423         * cursor.C (getPos): return absolute cached y coord
3424
3425         * BufferView_pimpl.C (fitCursor): new simplistic code
3426         (workAreaDispatch): add a fitCursor call
3427
3428 2003-11-10  André Pönitz  <poenitz@gmx.net>
3429
3430         * BufferView.[Ch]:
3431         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3432
3433 2003-11-10  André Pönitz  <poenitz@gmx.net>
3434
3435         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3436         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3437         indicate that the cursor needs to leave an inset
3438
3439         * lyxtext.h: remove inset locking
3440
3441         * cursor.[Ch]: re-implement functionality provided by inset locking
3442
3443         * BufferView.[Ch]:
3444         * BufferView_pimpl.[Ch]:
3445         * LyXAction.C:
3446         * bufferview_funcs.[Ch]:
3447         * factory.C:
3448         * funcrequest.[Ch]:
3449         * iterators.C:
3450         * lyx_cb.C:
3451         * lyxfind.C:
3452         * lyxfunc.C:
3453         * text.C:
3454         * text2.C:
3455         * text3.C:
3456         * undo.C: adjust
3457
3458 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * PosIterator.[Ch]: replace the stack with a vector, add inset
3461         accesor
3462         * iterators.[C]: adjust
3463
3464 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3465
3466         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3467         replaced
3468         * paragraph_funcs.C (readParToken): put the correct id in the
3469         error item, not the id of the top paragraph
3470
3471 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3474         * bufferview_funcs.C (put_selection_at): use the above
3475
3476 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3479
3480 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3481
3482         * output_linuxdoc.h:
3483         * output_plaintext.h:
3484         * output.h:
3485         * output_docbook.h: add #include statements
3486
3487 2003-11-05  José Matos  <jamatos@lyx.org>
3488
3489         * output_docbook.[Ch]:
3490         * output_latex.[Ch]:
3491         * output_linuxdoc.[Ch]:
3492         * output_plaintext.[Ch]: New files for output formats.
3493         * output.[Ch]: New file for helper functions.
3494
3495         * buffer.[Ch]:
3496         * paragraph_funcs.[Ch]: output functions moved to new files.
3497
3498         * outputparams.h: rename of latexrunparams.h
3499
3500         * LaTeX.[Ch]:
3501         * buffer.[Ch]:
3502         * bufferlist.[Ch]:
3503         * converter.[Ch]:
3504         * exporter.C:
3505         * paragraph.[Ch]:
3506         * paragraph_funcs.[Ch]:
3507         * paragraph_pimpl.[Ch]:
3508         * tabular.[Ch]: rename ascii to plaintext
3509         and LatexRunParams to OutputParams.
3510
3511 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * iterators.[Ch] (text): require bv argument
3514         * undo.C (recordUndo):
3515         * lyxfunc.C (dispatch):
3516         * bufferview_funcs.C (put_selection_at): adjust
3517
3518 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3519
3520         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3521
3522 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3525         nestings
3526
3527 2003-11-04  André Pönitz  <poenitz@gmx.net>
3528
3529         * cursor.[Ch]: restructure
3530
3531         * BufferView.[Ch]:
3532         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3533
3534         * iterators.[Ch] (asCursor): remove
3535
3536         * lfuns.h: remove LFUN_INSET_EDIT
3537
3538         * lyxfunc.C:
3539         * tabular.C:
3540         * text.C:
3541         * text2.C:
3542         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3543
3544 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * lyxfind.[Ch]: complete overhaul
3547         * BufferView_pimpl.C:
3548         * lyxfunc.C: adjust
3549         * paragraph.[Ch] (insert): add
3550
3551 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3552
3553         * BufferView.[Ch]:
3554         * lyxtext.h:
3555         * text.C: remove dead spellcheck code
3556
3557 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * dispatchresult.h: add a val setter
3560
3561         * cursor.C (dispatch): use a tempvar for data_[i]
3562
3563 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * PosIterator.[Ch]: compile fix
3566
3567 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * text.C (cursorPar): deactivate the cursor cache
3570
3571 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3572
3573         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3574
3575 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * text3.C (dispatch): adjust for new DisptchResult semantics.
3578
3579         * lyxfunc.C (dispatch): handle update when return from
3580         Cursor::dispatch, adjust for new DispatchResult semantics.
3581
3582         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3583         DispatchResult(true) mean to not update. Add class functions for
3584         setting dispatched and update, as well as reading.
3585
3586         * cursor.C (dispatch): don't handle update here
3587
3588 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3591         * trans_mgr.C: adjust
3592
3593         * paragraph_funcs.C (readParToken): exception safety
3594
3595         * lyxvc.h: store the vcs pointer in a scoped_ptr
3596         * lyxvc.C: adjust
3597
3598         * lyxsocket.C (serverCallback): exception safety
3599
3600         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3601
3602         * ispell.C (clone): make it return a auto_ptr
3603
3604         * factory.C (createInset): exception safety
3605         (readInset): exception safety
3606
3607         * bufferlist.C (newBuffer): exception safety
3608
3609         * Thesaurus.C (Thesaurus): use initialization for aik_
3610
3611         * MenuBackend.C (expandToc): exception safety.
3612
3613 2003-11-03  André Pönitz  <poenitz@gmx.net>
3614
3615         * buffer.C:
3616         * buffer.h:
3617         * bufferview_funcs.C: remove getInsetFromId()
3618
3619         * lyxcursor.[Ch]:
3620         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3621
3622         * lyxfunc.C:
3623         * text2.C:
3624         * text3.C: adjust
3625
3626 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * PosIterator.C (distance, advance): new
3629         * bufferview_funcs.[Ch] (put_selection_at): new
3630         * iterators.[Ch] (lockPath): new
3631
3632 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * iterators.[Ch] (asPosIterator): added
3635         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3636         * PosIterator.[Ch]: added
3637
3638 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * text3.C:
3641         * lyxfunc.C:
3642         * cursor.C (dispatch):
3643         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3644
3645         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3646         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3647         contructor, add a class function dispatched. Remove operator>=
3648
3649 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * debug.C: only use the default constructor for debugstream
3652         (lyxerr) here.
3653
3654         * main.C (main): include debug.h and setup the lyxerr streambuf
3655         here.
3656
3657 2003-10-31  José Matos  <jamatos@lyx.org>
3658
3659         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3660
3661         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3662         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3663         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3664         * paragraph_pimpl.C (simpleTeXSpecialC):
3665         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3666         add LatexRunParams argument.
3667
3668         * exporter.C (Export): change call accordingly.
3669
3670         * latexrunparams.h: add new member to take care of the other backends.
3671 2003-10-30  José Matos  <jamatos@lyx.org>
3672
3673         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3674         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3675         factorise code for paragraph output.
3676         * buffer.[Ch]:
3677         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3678         move functions.
3679
3680 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text3.C (dispatch):
3683         * lyxfunc.C (dispatch):
3684         * cursor.C (dispatch):
3685         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3686
3687         * dispatchresult.h: make the dispatch_result_t ctor explicit
3688
3689 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3690
3691         * sgml.[Ch]:
3692         * buffer.C: small refactoring of docbook stuff
3693
3694 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3697         meaning.
3698
3699 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3702         operator dispatch_result_t, and operators for == != and >=
3703
3704         * cursor.C (dispatch): adjust for operator dispatch_result_t
3705         removal. comment out call to update
3706
3707         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3708
3709 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * text3.C:
3712         * text2.C:
3713         * text.C:
3714         * lyxtext.h:
3715         * lyxfunc.C:
3716         * cursor.C:
3717         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3718         (dispatch):
3719
3720         * dispatchresult.h: new file, DispatchResult broken out of
3721         insets/insetbase.h
3722
3723         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3724
3725 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * text.C (rowBreakPoint): put a hack inside #if 0
3728
3729 2003-10-28  André Pönitz  <poenitz@gmx.net>
3730
3731         * lyxtext.h:
3732         * metricsinfo.C:
3733         * paragraph_funcs.C:
3734         * rowpainter.C:
3735         * text.C:
3736         * text2.C: general cleanup (lots of small stuff)
3737
3738 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * text2.C (cursorEnd): simple fix to the "end key goes to one
3741         before the end on last row" bug
3742
3743 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3744
3745         * text.C (backspace): fix the "zombie characters"
3746
3747 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3748
3749         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3750
3751 2003-10-27  André Pönitz  <poenitz@gmx.net>
3752
3753         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3754
3755         * factory.C: handle new InsetPagebreak, InsetLine
3756
3757         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3758         and move handling into new InsetPagebreak, InsetLine
3759
3760         * BufferView_pimpl.C:
3761         * LyXAction.C:
3762         * ParagraphParameters.C:
3763         * ParameterStruct.h:
3764         * lyxfunc.C:
3765         * lyxtext.h:
3766         * paragraph.C:
3767         * paragraph.h:
3768         * paragraph_funcs.C:
3769         * paragraph_pimpl.C:
3770         * rowpainter.C:
3771         * text.C:
3772         * text2.C:
3773         * text3.C: adjust
3774
3775 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * text.C:
3778         * lyxrow_funcs.[Ch]:
3779         * Bidi.C:
3780         * paragraph.C:
3781         * lyxtext.h:
3782         * rowpainter.C:
3783         * text2.C:
3784         * text3.C: remove lastPos uses in favour of Row::endpos
3785
3786 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * undo.C (performUndoOrRedo): fix two crashes by setting a
3789         cursor by hand and reordering some calls. Use bv->lockInset instead
3790         of inset->edit because the latter loses cursor information
3791
3792 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3795         by Martin
3796         (rowBreakPoint): fix width. change point to point + 1.
3797         Add a missing check.
3798
3799 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3800
3801         * MenuBackend.C:
3802         * lyxfunc.C: fix (at least partly) the problems
3803         with the Nav menu and headers inside branch insets
3804         reported by Kayvan
3805
3806 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * paragraph.C (getChar): add strong asserts
3809
3810         * lyxrow_funcs.C (lastPos): remove hideous hack
3811
3812         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3813         (fill): adjust to that (avoid an infinite loop)
3814
3815 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3818
3819 2003-10-23  André Pönitz  <poenitz@gmx.net>
3820
3821         * RowList_fwd.h: change list<> to vector<> to gain speed
3822         after suggestion from Alfredo
3823
3824 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3825
3826         * lyxtext.h: move the bidi stuff from here...
3827         * text.C: and here
3828         * text2.C: and here
3829         * Bidi.[Ch]: ... to here
3830
3831 2003-10-23  André Pönitz  <poenitz@gmx.net>
3832
3833         * lyxtext.h:
3834         * text.C (isLastRow, isFirstRow): new functions
3835
3836         * paragraph.h: new width cache member
3837
3838         * rowpainter.C: replace RowList::iterator with Row & where possible
3839
3840         * lyxfunc.C: replace several view()->text with a single call
3841
3842         * toc.C: fix 'unused' warning
3843
3844 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3847         when woring with stream::pos_type
3848         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3849
3850 2003-10-22  André Pönitz  <poenitz@gmx.net>
3851
3852         * lyxtext.h:
3853         * text.C: use Row & instead of RowList::iterator
3854
3855         * lyxrow.h: rename end() to endpos()
3856
3857         * rowpainter.C:
3858         * text.C:
3859         * text2.C: adjust
3860
3861 2003-10-22  Angus Leeming  <leeming@lyx.org>
3862
3863         * buffer.[Ch] (fully_loaded): new member function, returning true
3864         only when the file has been loaded fully.
3865         Used to prevent the premature generation of previews and by the
3866         citation inset to prevent computation of the natbib-style label.
3867
3868         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3869         templates are all set up.
3870
3871         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3872
3873 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * text.C: fixed an "oops" in the "is a bit silly"
3876         bug fix
3877
3878 2003-10-21  André Pönitz  <poenitz@gmx.net>
3879
3880         * FuncStatus.[Ch]: small stuff, whitespace
3881
3882         * lyxfont.[Ch]: operator<<() for debug reasons
3883
3884         * lyxfunc.C:
3885         * lyxrow_funcs.C:
3886         * lyxtext.h: whitespace, spelling
3887
3888         * paragraph.C: naming of variables
3889
3890         * text.C:
3891         * text2.C: small stuff
3892
3893
3894 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * text.C: (1) finish off the inset display() work;
3897         (2) fix the "is a bit silly" bug (accessing char
3898         past end of par).
3899
3900 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3901
3902         * text.C: re-introduce display() for insets, fixing the
3903         various bugs (stretch of line above, math inset
3904         positioning, ...)
3905
3906 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3907
3908         * text.C (rightMargin): remove spurious semicolon
3909
3910         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3911         1415)
3912
3913 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3914
3915         * text3.C: fix one crash due to wrong cursor def
3916
3917 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * vc-backend.C (scanMaster): make the regex static
3920
3921         * LaTeX.C (scanAuxFile): make the regexs static
3922
3923         * text3.C (doInsertInset, dispatch, dispatch):
3924         * text2.C (cursorUp, cursorDown):
3925         * text.C (selectNextWordToSpellcheck):
3926         * BufferView_pimpl.C (dispatch):
3927         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3928
3929 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3930
3931         * lyxsocket.C: include <cerrno>
3932
3933 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * lyxfunc.C (dispatch): remove textcache stuff
3936
3937         * bufferlist.C (release): remove textcache stuff
3938         (closeAll): ditto
3939
3940         * TextCache.C: delete file
3941         * TextCache.h: delete file
3942
3943         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3944
3945         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3946         delete of the bv_->text.
3947         (resizeCurrentBuffer): remove texcache stuff
3948         (workAreaResize): ditto
3949
3950 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3953         action.
3954
3955 2003-10-16  André Pönitz  <poenitz@gmx.net>
3956
3957         * lyxrow.[Ch]:
3958         * paragraph.h:
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: speed up by storing y positions per paragraph plus per-row
3963         offset instead of having a 'full' y position in the row.
3964
3965 2003-10-15  André Pönitz  <poenitz@gmx.net>
3966
3967         * iterators.[Ch]:
3968         * iterators.[Ch]:
3969         * undo.[Ch]: make undo aware of inner insets
3970
3971 2003-10-14  Angus Leeming  <leeming@lyx.org>
3972
3973         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3974         static member functions LyX::ref() and LyX::cref.
3975         (lastfiles): new accessor functions for the new lastfiles_ member var.
3976         (addLyXView, views_): add a new LyXView to the list of views_.
3977         (updateInset): loop over all LyXViews to call their own updateInset
3978         member function, returning a pointer to the Buffer owning the inset.
3979
3980         * BufferView_pimpl.C (loadLyXFile):
3981         * MenuBackend.C (expandLastfiles):
3982         * bufferlist.C (MenuWrite, QuitLyX):
3983         lastfiles is no longer a global variable.
3984         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3985
3986         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3987         static function. Access through LyX::cref().emergencyCleanup().
3988
3989 2003-10-14  André Pönitz  <poenitz@gmx.net>
3990
3991         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3992
3993         * undo.[Ch]: restoring part of 'undo in insets'
3994
3995         * Makefile.am:
3996         * undo_funcs.[Ch]: merge with undo.[Ch]
3997
3998         * tabular.C: small cleansing stuff
3999
4000 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4001
4002         * paragraph_funcs.C (readParToken): report unknown insets as error
4003         boxes. Use the outer paragraph as location (also for unknown
4004         tokens).
4005
4006         * factory.C (readInset): do not abort on reading an unknown inset.
4007         Eat it and return 0.
4008
4009 2003-10-13  Angus Leeming  <leeming@lyx.org>
4010
4011         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4012
4013         * lyxrc.C: displayTranslator is now a function,
4014         declared in GraphicsTypes.h.
4015
4016 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4017
4018         * format.C: new placeholder $$a to pass the socket address.
4019
4020         * bufferlist.[Ch]: new function getBufferFromTmp.
4021
4022         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4023           files in the temporary dir.
4024
4025 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4026
4027         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4028
4029         * Makefile.am: add lyxsocket.[Ch].
4030
4031         * lyx_main.C (error_handler): handle SIGPIPE.
4032
4033 2003-10-13  André Pönitz  <poenitz@gmx.net>
4034
4035         * BufferView_pimpl.C:
4036         * lyxtext.h:
4037         * text.C:
4038         * text2.C:
4039         * text3.C:
4040         * undo_funcs.[Ch]: use paroffset_type instead of
4041           ParagraphList::iterators to prevent multiple conversion
4042           (and get a more robust interface)
4043
4044 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4047         * lyxtext.h: ditto
4048         * text3.C (dispatch): ditto
4049
4050 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4053         move the onlyfile, use onlyfile instead of foundfile in a couple
4054         of places.
4055
4056         * DepTable.C (update): flush the error stream a bit more
4057
4058 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * lyxserver.C (callback): adjust
4061
4062         * lyxfunc.C (getStatus): add a missing brace in commented code
4063         (ensureBufferClean): reindent
4064         (dispatch): delete version taking a string
4065
4066 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * LaTeX.C (deplog): move found file handlig from here...
4069         (handleFoundFile): .. to new function here.
4070         (deplog): make sure to discover several files mentioned on the
4071         same log line.
4072
4073 2003-10-10  André Pönitz  <poenitz@gmx.net>
4074
4075         * lyxfunc.C:
4076         * lyxtext.h:
4077         * tabular.C:
4078         * text.C:
4079         * text2.C:
4080         * text3.C: fix some of the tabular crashes
4081
4082 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4083
4084         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4085
4086         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4087
4088 2003-10-09  André Pönitz  <poenitz@gmx.net>
4089
4090         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4091
4092         * BufferView.C:
4093         * BufferView_pimpl.C:
4094         * bufferview_funcs.C:
4095         * lyx_cb.C:
4096         * lyxcursor.C:
4097         * lyxfind.C:
4098         * lyxfunc.C:
4099         * lyxtext.h:
4100         * text.C:
4101         * text2.C:
4102         * text3.C:
4103         * text_funcs.[Ch]:
4104         * textcursor.[Ch]:
4105         * undo_funcs.C: adjust
4106
4107 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * text2.C (incrementItemDepth): new function, use a backtracking
4110         algorithm to discover the correct item depth.
4111         (resetEnumCounterIfNeeded): new function, use a backtracking
4112         algorithm to discover if counter reset is needed.
4113         (setCounter): use them. Simplify a bit. Add different labels for
4114         different item depths for itemize.
4115
4116         * paragraph.C (Paragraph): remove initialization of enumdepth
4117         (operator=): ditto
4118
4119         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4120         enumerate and itemize. Change the type of itemdepth to signed char.
4121
4122 2003-10-08  André Pönitz  <poenitz@gmx.net>
4123
4124         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4125           thing assignable.
4126         * text.C:
4127         * text2.C: adjust
4128
4129         * tabular.[Ch]: fix crash after 'row-insert'
4130
4131 2003-10-08  Angus Leeming  <leeming@lyx.org>
4132
4133         Fix doxygen warnings.
4134
4135         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4136         Remove CutAndPaste:: prefix from header file declaration.
4137
4138         * LColor.h (fill): remove LColor:: prefix from declaration.
4139
4140         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4141         use lyx::depth_type rather than Paragraph::depth_type so that
4142         header file and .C file match.
4143
4144         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4145
4146         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4147         * aspell.C: \file aspell_local.C -> \file aspell.C
4148         * gettext.C: \file gettext.C -> \file src/gettext.C
4149         * gettext.h: \file gettext.h -> \file src/gettext.h
4150         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4151         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4152         * text.C: \file text.C -> \file src/text.C
4153
4154         * toc.C: move comment so that doxygen is not confused.
4155
4156 2003-10-07  Angus Leeming  <leeming@lyx.org>
4157
4158         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4159
4160 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4161
4162         * aspell.C:
4163         * aspell_local.h: add forgotten std::string's.
4164
4165 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4166
4167         * LaTeXFeatures.C:
4168         * LyXAction.C:
4169         * factory.C:
4170         * lfuns.h:
4171         * lyxfunc.C:
4172         * text3.C: The Box patch. Fancybox support, minipage, parbox
4173
4174 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4175
4176         * CutAndPaste.h:
4177         * DepTable.h:
4178         * FloatList.h:
4179         * LaTeXFeatures.h:
4180         * ParagraphParameters.h:
4181         * TextCache.h:
4182         * Thesaurus.h:
4183         * bufferlist.h:
4184         * exporter.h:
4185         * importer.h:
4186         * lastfiles.h:
4187         * lyxfind.h:
4188         * lyxfont.h:
4189         * lyxlex.h:
4190         * lyxtextclasslist.h:
4191         * messages.h:
4192         * paragraph.h:
4193         * paragraph_pimpl.C:
4194         * textcursor.h: add <string> and other small fixes to make Lars'
4195         std::string patch compile with STLport.
4196
4197 2003-10-06  Angus Leeming  <leeming@lyx.org>
4198
4199         * LColor.h: Add missing #include <string>.
4200
4201 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * All most all file in all subdirs: Make <string> be the prefered
4204         way of getting to std::string, add using declarations.
4205
4206 2003-10-06  André Pönitz  <poenitz@gmx.net>
4207
4208         * metricsinfo.C: initialize LyXFont before changing attribute.
4209         (fixes the 'math in \emph is upright' bug)
4210
4211 2003-10-06  André Pönitz  <poenitz@gmx.net>
4212
4213         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4214
4215 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4216
4217         * graph.C:
4218         * paragraph_pimpl.C: Small fixes to build using STLport
4219
4220 2003-10-02  André Pönitz  <poenitz@gmx.net>
4221
4222         * lyxfunc.C:
4223         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4224
4225 2003-10-01  André Pönitz  <poenitz@gmx.net>
4226
4227         * factory.C: assert early
4228
4229 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * lyx_main.C: remove the global debug object
4232
4233         * debug.h: adjust for new debugstream
4234
4235         * debug.C: adjust for new debugstream and keep the global debug
4236         object here.
4237
4238 2003-09-22  Angus Leeming  <leeming@lyx.org>
4239
4240         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4241         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4242         an incomplete class LyXFont.
4243
4244 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * factory.C: bug fix in branches
4247
4248 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * lyxfunc.C (processKeySym): adjust
4251         (dispatch): adjust
4252         (dispatch): change arg name from ev to func, adjust
4253         (sendDispatchMessage): ditto
4254
4255         * lyx_main.C (defaultKeyBindings): adjust keybindings
4256         (deadKeyBindings): ditto
4257
4258         * kbsequence.C (addkey): return a FuncRequest
4259
4260         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4261
4262         * kbmap.C (bind): take a FuncRequest as arg, adjust
4263         (read): adjust
4264         (lookup): adjust
4265         (defkey): change to take a FuncRequest as arg, adjust
4266         (findbinding): take a FuncRequest as arg, adjust.
4267
4268         * funcrequest.h (operator=): added
4269
4270         * funcrequest.C (FuncRequest): default kb_action changed from
4271         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4272
4273         * buffer.C (dispatch): simplify
4274         (dispatch): adjust to take a FuncRequest as arg, adjust
4275
4276         * boost.C (assertion_failed): change assertion message slightly
4277
4278         * ToolbarBackend.C (read): simplify
4279
4280         * MenuBackend.C (binding): adjust call to findbinding, add a
4281         message if no binding is found.
4282         (read): simplify
4283         (expandToc): correct by adding a empty FuncRequest
4284
4285         * LyXAction.C: include <boost/assert.hpp>
4286         (isPseudoAction): delete function
4287         (LookupFunc): change name to...
4288         (lookupFunc): this. change return type to FuncRequest.
4289         (getActionName): take kb_action as arg, simplify
4290         (funcHasFlag): add an assert, simplify.
4291
4292 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * toc.C (action): return a FuncRequest, simplify
4295
4296         * lyxfunc.C (processKeySym): adjust
4297         (getStatus): delete version that takes an int.
4298         (getStatus): adjust
4299         (dispatch): delete version that takes action as int
4300         (dispatch): adjust
4301         (sendDispatchMessage): simplify and adjust
4302
4303         * funcrequest.C (getArg): take unsigned int as arg
4304
4305         * ToolbarBackend.C (read): adjust
4306         (add): delete version that takes func as a string.
4307         (getIton): take a FuncRequest as arg
4308
4309         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4310         action.
4311
4312         * MenuBackend.C (MenuItem): add a new construct that only takes a
4313         Kind, simplify the constructor use for submenus.
4314         (add): adjust
4315         (expandLastfiles): adjust
4316         (expandDocuments): adjust
4317         (expandFormats): adjust
4318         (expandFloatListInsert): adjust
4319         (expandFloatInsert): adjust
4320         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4321
4322         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4323         Remove class variables lyx_pseudo_map and lyx_arg_map
4324
4325         * LyXAction.C (searchActionArg): delete function
4326         (getPseudoAction): delete function
4327         (retrieveActionArg): delete function
4328         (LookupFunc): make it return kb_action, simplify.
4329         (getActionName): simplify
4330
4331         * factory.C (createInset): fix new bug
4332
4333 2003-09-19  Angus Leeming  <leeming@lyx.org>
4334
4335         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4336         masterFilename_ parameter in the include inset.
4337
4338         * factory.C (createInset): changes due to the changes to InsetInclude.
4339
4340 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4341
4342         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4343
4344 2003-09-18  Angus Leeming  <leeming@lyx.org>
4345
4346         * buffer.C:
4347         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4348         Inset::fillWithBibKeys.
4349         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4350
4351 2003-09-18  Angus Leeming  <leeming@lyx.org>
4352
4353         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4354         variables.
4355         (ctor): pass and store a 'Buffer const &'
4356         (buffer): new member function.
4357
4358         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4359         '*this' to the LaTeXFeatures ctor.
4360
4361 2003-09-18  Angus Leeming  <leeming@lyx.org>
4362
4363         * LColor.h:
4364         * lyxfont.C:
4365         * lyxfont.h:
4366         * lyxtext.h:
4367         * text.C: rename EnumLColor as LColor_color.
4368
4369 2003-09-18  Angus Leeming  <leeming@lyx.org>
4370
4371         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4372         remove #include "insets/insetbase.h" from cursor.h.
4373
4374 2003-09-18  Angus Leeming  <leeming@lyx.org>
4375
4376         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4377         InsetOld_code to remove #include "inset.h".
4378
4379         * iterators.C: add #include "insets/inset.h"
4380
4381 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4382
4383         * BufferView.C: remove more locking stuff that apparently doesn't
4384         do anything sensible.
4385
4386 2003-09-16  André Pönitz  <poenitz@gmx.net>
4387
4388         * paragraph.[Ch]:
4389         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4390           performance boost.
4391
4392 2003-09-16  Angus Leeming  <leeming@lyx.org>
4393
4394         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4395
4396         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4397         arg/return type.
4398
4399         * paragraph.h: remove #include "lyxfont.h". Forward declare
4400         LyXFont_size.
4401
4402 2003-09-16  Angus Leeming  <leeming@lyx.org>
4403
4404         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4405         of support/textutils.h.
4406         (isWord): move the contents of support/textutils.h's IsWordChar here.
4407
4408         * buffer.C:
4409         * lyxfind.C:
4410         * rowpainter.C:
4411         * text.C:
4412         * text2.C: add #include "paragraph.h".
4413
4414         * rowpainter.C:
4415         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4416
4417 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * main.C:
4420         * lyx_main.C:
4421         * lyx_cb.C:
4422         * buffer.C:
4423         * LaTeX.C: use namespace alias for lyx::support::os
4424
4425 2003-09-16  Angus Leeming  <leeming@lyx.org>
4426
4427         * bufferparams.C:
4428         * bufferview_funcs.C:
4429         * factory.C:
4430         * lyxfunc.C:
4431         * paragraph_pimpl.C:
4432         * rowpainter.C:
4433         * text.C: add #include "LColor.h".
4434
4435 2003-09-16  Angus Leeming  <leeming@lyx.org>
4436
4437         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4438         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4439         return LyXFont &.
4440         Store the FontBits::color variable as an int rather than as an
4441         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4442         file.
4443
4444         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4445         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4446         string calls together.
4447
4448         * lyxrc.C: add #include "LColor.h".
4449
4450 2003-09-15  Angus Leeming  <leeming@lyx.org>
4451
4452         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4453         a cow_ptr.
4454
4455 2003-09-15  Angus Leeming  <leeming@lyx.org>
4456
4457         * LColor.h: add an EnumLColor wrapper for LColor::color.
4458
4459         * lyxfont.[Ch] (color, setColor, realColor):
4460         * lyxtext.h, text.C (backgroundColor):
4461         pass EnumLColor args to/from the functions, rather than LColor::color
4462         ones.
4463
4464         * lyxfont.h:
4465         * lyxtext.h: forward declare EnumLColor.
4466
4467         * lyx_main.C: add #include "LColor.h".
4468
4469 2003-09-15  Angus Leeming  <leeming@lyx.org>
4470
4471         * .cvsignore: add lyx-gtk.
4472
4473 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * Chktex.C
4476         * LaTeX.C
4477         * LaTeXFeatures.C
4478         * ParagraphParameters.C
4479         * Spacing.C
4480         * buffer.C
4481         * bufferparams.C
4482         * bufferview_funcs.C
4483         * chset.C
4484         * counters.C
4485         * funcrequest.C
4486         * lyxfont.C
4487         * lyxgluelength.C
4488         * lyxlength.C
4489         * paragraph.C
4490         * paragraph_funcs.C
4491         * text3.C
4492         * vc-backend.C: remove usage of STRCONV
4493
4494 2003-09-15  Angus Leeming  <leeming@lyx.org>
4495
4496         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4497         explicitly define the color passed to the painter.
4498
4499 2003-09-15  Angus Leeming  <leeming@lyx.org>
4500
4501         * bufferparams.C (BufferParams): reorder member initializers to avoid
4502         compiler warning.
4503
4504 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4505
4506         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4507         * text.C (updateRowPositions): remove an unusual nop
4508
4509 2003-09-12  André Pönitz  <poenitz@gmx.net>
4510
4511         * BufferView_pimpl.C:
4512         * Bullet.C:
4513         * layout.h:
4514         * lyxfunc.C:
4515         * lyxlayout.[Ch]:
4516         * lyxtextclass.C:
4517         * rowpainter.C:
4518         * text.C:
4519         * text2.C:
4520         * Counters.[Ch]: finish the 'automatic counters' job
4521
4522 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4523
4524         * aspell.C: include <boost/assert.cpp> (compile fix)
4525
4526 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4527
4528         * boost.C (assertion_failed): use lyx::support::abort instead of
4529         assert.
4530
4531 2003-09-10  Angus Leeming  <leeming@lyx.org>
4532
4533         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4534         with their _fwd progeny.
4535
4536 2003-09-09  Angus Leeming  <leeming@lyx.org>
4537
4538         134 files throughtout the source tree: replace 'using namespace abc;'
4539         directives with the appropriate 'using abc::xyz;' declarations.
4540
4541 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4542
4543         * boost.C (emergencyCleanup): moved here from LAssert.c
4544         (assertion_failed): new function, called by BOOST_ASSERT
4545
4546         * several files: change Assert to BOOST_ASSERT
4547
4548 2003-09-09  Angus Leeming  <leeming@lyx.org>
4549
4550         * buffer.[Ch]: Add an Impl class and move Buffer's member
4551         variables into it. As a result move several header files out of
4552         buffer.h.
4553
4554         Add header files to lots of .C files all over the tree as a result.
4555
4556 2003-09-09  Angus Leeming  <leeming@lyx.org>
4557
4558         * buffer.[Ch]: make Buffer's member variables private. Add
4559         accessor functions.
4560
4561         Lots of changes all over the tree as a result.
4562
4563 2003-09-08  Angus Leeming  <leeming@lyx.org>
4564
4565         * graph.C: #include <config.h>.
4566
4567 2003-09-08  Angus Leeming  <leeming@lyx.org>
4568
4569         * BranchList.C:
4570         * BufferView.C:
4571         * BufferView_pimpl.C:
4572         * CutAndPaste.C:
4573         * DepTable.C:
4574         * LaTeX.C:
4575         * LaTeXFeatures.C:
4576         * LyXAction.C:
4577         * MenuBackend.C:
4578         * TextCache.C:
4579         * aspell.C:
4580         * buffer.C:
4581         * bufferlist.C:
4582         * changes.C:
4583         * chset.C:
4584         * converter.C:
4585         * counters.C:
4586         * debug.C:
4587         * graph.C:
4588         * ispell.C:
4589         * lyx_cb.C:
4590         * lyxfind.C:
4591         * lyxfunc.C:
4592         * lyxlex_pimpl.C:
4593         * lyxrc.C:
4594         * lyxrow.C:
4595         * paragraph.C:
4596         * rowpainter.C:
4597         * texrow.C:
4598         * text.C:
4599         * text2.C:
4600         * toc.C: remove redundant using directives.
4601
4602 2003-09-07  Angus Leeming  <leeming@lyx.org>
4603
4604         * LaTeXFeatures.h: remove #include "support/types.h".
4605         * ToolbarBackend.h: remove #include <algorithm>.
4606         * changes.h: remove #include <ctime>.
4607         * debug.h: remove #include <iosfwd>.
4608         * graph.h: remove #include "support/std_string.h".
4609         * lyx_main.h: remove #include <csignal>.
4610         * lyxlex_pimpl.h: remove #include <fstream>.
4611         * sgml.h: remove #include <algorithm>, <utility>.
4612         * toc.h: remove #include "support/std_ostream.h".
4613         Add #include <iosfwd>.
4614
4615 2003-09-07  Angus Leeming  <leeming@lyx.org>
4616
4617         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4618
4619         * converter.h: forward declare LatexRunParams.
4620         * encoding.h: remove #include "lyxrc.h".
4621         * lyxtext.h: remove #include "LColor.h".
4622         * lyxtextclass.h: remove #include "support/types.h".
4623         * trans.h: remove #include "tex-accent.h".
4624         * trans_mgr.h: remove #include "tex-accent.h".
4625         * insets/inset.h: remove #include "support/types.h", <vector>.
4626         * insets/insetcollapsable.h: remove #include "LColor.h".
4627         * insets/insetinclude.h: remove #include "dimension.h".
4628         * insets/insetlatexaccent.h: remove #include "dimension.h".
4629         * insets/insetoptarg.h:: remove #include "insettext.h".
4630         * insets/insettext.h: remove #include "dimension.h",
4631         <boost/shared_ptr.hpp>
4632
4633         * insets/renderers.h: add #include "dimension.h".
4634         * insets/updatableinset.h: add #include "support/types.h".
4635
4636         * many .C files: Associated changes.
4637
4638 2003-09-06  Angus Leeming  <leeming@lyx.org>
4639
4640         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4641         one, inside testInvariant.
4642
4643         * PrinterParams.C: new file.
4644         * PrinterParams.[Ch]: move the function bodies out of line.
4645
4646 2003-09-06  Angus Leeming  <leeming@lyx.org>
4647
4648         * ParagraphParameters.h: forward declare ParameterStruct rather than
4649         including its header file.
4650         (depth): moved out-of-line.
4651
4652 2003-09-06  Angus Leeming  <leeming@lyx.org>
4653
4654         * BufferView_pimpl.h:
4655         * kbmap.h:
4656         * kbsequence.h:
4657         * lyxfunc.h: forward declare LyXKeySym rather than
4658         #include "frontends/LyXKeySym.h".
4659
4660         * BufferView_pimpl.C:
4661         * kbmap.C:
4662         * kbsequence.C:
4663         * lyxfunc.C: associated changes.
4664
4665 2003-09-06  Angus Leeming  <leeming@lyx.org>
4666
4667         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4668         As a result, can remove the #include "insets/inset.h" from BufferView.h
4669
4670 2003-09-06  Angus Leeming  <leeming@lyx.org>
4671
4672         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4673         As a result, can remove the #include "insets/inset.h" from BufferView.h
4674
4675 2003-09-06  Angus Leeming  <leeming@lyx.org>
4676
4677         * buffer_funcs.C:
4678         * buffer.h:
4679         * bufferlist.C:
4680         * BufferView.C:
4681         * bufferview_funcs.C:
4682         * BufferView_pimpl.C:
4683         * CutAndPaste.C:
4684         * lyx_cb.C:
4685         * lyxfunc.C:
4686         * paragraph.h:
4687         * ParagraphParameters.C:
4688         * tabular.C:
4689         * text3.C:
4690         * toc.C:
4691         * undo_funcs.C:
4692         * frontends/controllers/ControlDocument.C:
4693         * insets/insetcaption.C: rearrange the #includes into some sort of
4694         coherent order.
4695
4696         * buffer.h: remove #includes ErrorList.h, undo.h
4697
4698 2003-09-06  Angus Leeming  <leeming@lyx.org>
4699
4700         * support/types.h: add a 'depth_type' typedef, used to store the
4701         nesting depth of a paragraph.
4702
4703         * paragraph.h:
4704         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4705         defining explicitly.
4706
4707         * buffer.h:
4708         * paragraph_funcs.h:
4709         * ParagraphParameters.h:
4710         * sgml.h: use lyx::depth_type rather than Paragraph or
4711         ParameterStruct's depth_type.
4712
4713         * buffer.h
4714         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4715
4716         * BufferView.C:
4717         * BufferView_pimpl.C:
4718         * CutAndPaste.C:
4719         * ParagraphParameters.C:
4720         * buffer_funcs.C:
4721         * bufferlist.C:
4722         * bufferview_funcs.C:
4723         * lyx_cb.C:
4724         * lyxfunc.C:
4725         * tabular.C:
4726         * text3.C:
4727         * toc.C:
4728         * undo_funcs.C:
4729         * frontends/LyXView.C:
4730         * frontends/controllers/ControlDocument.C:
4731         * frontends/controllers/ControlErrorList.C:
4732         * insets/insetbibitem.C:
4733         * insets/insetbranch.C:
4734         * insets/insetcaption.C:
4735         * insets/insetcollapsable.C:
4736         * insets/insetenv.C:
4737         * insets/insetert.C:
4738         * insets/insetfloat.C:
4739         * insets/insetfoot.C:
4740         * insets/insetfootlike.C:
4741         * insets/insetnewline.C:
4742         * insets/insetquotes.C:
4743         * insets/insettabular.C:
4744         * insets/insettext.C:
4745         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4746
4747         * frontends/controllers/ControlChanges.C: #include "changes.h".
4748
4749 2003-09-06  Angus Leeming  <leeming@lyx.org>
4750
4751         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4752         than #including paragraph.h.
4753
4754         * ParagraphList.h:
4755         * RowList.h: deleted. Superfluous.
4756
4757         * CutAndPaste.h:
4758         * iterators.h:
4759         * lyxcursor.h:
4760         * lyxtext.h:
4761         * text_funcs.h:
4762         * undo.h:
4763         * undo_funcs.h:
4764         * insets/inset.h:
4765         * insets/insettext.h: use ParagraphList_fwd.h rather than
4766         ParagraphList.h.
4767
4768         * paragraph.h: don't forward declare ParagraphList.
4769
4770         * buffer.h:
4771         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4772         rather than ParagraphList.h. paragraph.h is still needed for the
4773         Paragraph::depth_type parameters.
4774
4775         * textcursor.h: enable it to compile stand-alone in light of the
4776         above changes.
4777
4778         * bufferview_funcs.C:
4779         * iterators.C:
4780         * lyxfunc.C:
4781         * lyxrow_funcs.C:
4782         * paragraph.C:
4783         * rowpainter.C:
4784         * text.C:
4785         * text2.C:
4786         * text3.C:
4787         * text_funcs.C:
4788         * textcursor.C:
4789         * undo.C:
4790         * frontends/controllers/ControlParagraph.C:
4791         * frontends/controllers/ControlTabular.C:
4792         * insets/insetmarginal.C:
4793         * insets/insetminipage.C:
4794         * insets/insetnote.C:
4795         * insets/insetoptarg.C: add header files needed to compile again.
4796
4797 2003-09-06  Angus Leeming  <leeming@lyx.org>
4798
4799         * RowList_fwd.h: new file, forward-declaring Row rather than
4800         #including lyxrow.h.
4801
4802         * lyxrow_funcs.h:
4803         * lyxtext.h:
4804         * paragraph.h:
4805         * insets/insettext.h: use it instead of RowList.h
4806
4807         * bufferview_funcs.C:
4808         * lyxfunc.C:
4809         * lyxrow_funcs.C:
4810         * paragraph.C:
4811         * rowpainter.C:
4812         * text.C:
4813         * text2.C:
4814         * text3.C: #include "RowList.h".
4815
4816 2003-09-05  Angus Leeming  <leeming@lyx.org>
4817
4818         * factory.C (createInset):
4819         * vspace.C (c-tor): replace sscanf call with an istringstream.
4820         * ispell.C: re-add missing HP/UX headers.
4821         * lyxserver.C: re-add missing  os2 headers.
4822
4823 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4824
4825         * BranchList.C:
4826         * graph.C:
4827         * ispell.C:
4828         * lastfiles.C:
4829         * lyx_cb.C:
4830         * lyxserver.C:
4831         * texrow.C:
4832         * text3.C: re-add missing system headers, needed for 2.95.2.
4833
4834 2003-09-05  Angus Leeming  <leeming@lyx.org>
4835
4836         Changes most place everywhere due to the removal of using directives
4837         from support/std_sstream.h.
4838
4839 2003-09-05  Angus Leeming  <leeming@lyx.org>
4840
4841         Replace LString.h with support/std_string.h,
4842         Lsstream.h with support/std_sstream.h,
4843         support/LIstream.h with support/std_istream.h,
4844         support/LOstream.h with support/std_ostream.h.
4845
4846         Changes resulting throughout the tree.
4847
4848 2003-09-05  Angus Leeming  <leeming@lyx.org>
4849
4850         * sgml.h: ensure that the header file can be compiled stand-alone.
4851         * *.C: strip out redundant #includes. (320 in total.)
4852
4853 2003-09-04  Angus Leeming  <leeming@lyx.org>
4854
4855         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4856         here (from getPackages).
4857
4858         * debug.[Ch]: add a new EXTERNAL tag.
4859
4860 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4861
4862         * text2.C (cursorEnd): simplify
4863         (setCursor): adjust
4864         (getColumnNearX): adjust
4865
4866         * text.C (computeBidiTables): adjust
4867         (fill): adjust
4868
4869         * rowpainter.C (paintChars): adjust
4870         (paintSelection): adjust
4871         (paintChangeBar): adjust
4872         (paintText): adjust
4873
4874         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4875         lastPos instead.
4876         (numberOfSeparators): adjust
4877
4878 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4879
4880         * LyXAction.C:
4881         * box.[Ch]:
4882         * lfuns.h:
4883         * lyxfunc.C:
4884         * text3.C: Restricts the mouse click functionality
4885         of insets like bibtex, include, toc and floatlist to the visible
4886         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4887         up the dialogs. Cursor has to be in front of the inset (i.e.
4888         start of row) for this to function.
4889
4890 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4891
4892         * bufferview_funcs.C (currentState): output row information
4893
4894 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4895
4896         * bufferview_funcs.C (currentState): output paragraph position
4897
4898 2003-09-04  Angus Leeming  <leeming@lyx.org>
4899
4900         * FloatList.h: move out #include "Floating.h".
4901         * LaTeX.h: move out #include "DepTable.h".
4902         * LyXAction.h: move out #include "funcrequest.h".
4903         * buffer.h: move out #include "author.h", "iterators.h".
4904         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4905         * lyx_main.h: move out #include "errorlist.h".
4906         * lyxfunc.h: move out #include "FuncStatus.h".
4907         * lyxtext: move out #include "lyxcursor.h".
4908         * paragraph_pimpl.h: move out #include "counters.h".
4909
4910 2003-09-03  Angus Leeming  <leeming@lyx.org>
4911
4912         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4913         preamble_snippets list, enabling us to add snippets to the preamble
4914         only if the snippet was not there already.
4915
4916 2003-09-04  Angus Leeming  <leeming@lyx.org>
4917
4918         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4919
4920 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4923         update
4924
4925 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4926
4927         * BranchList.C: point fix, earlier forgotten
4928
4929 2003-09-02  Angus Leeming  <leeming@lyx.org>
4930
4931         * box.C (contains): renamed from 'contained' after a fantastic
4932         amount of hot air.
4933
4934 2003-09-02  John Levon  <levon@movementarian.org>
4935
4936         * BufferView.C:
4937         * lyxcursor.h:
4938         * lyxcursor.C:
4939         * lyxfunc.C:
4940         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4941
4942 2003-09-02  John Levon  <levon@movementarian.org>
4943
4944         * text2.C: simplification of cursorEnd(), including partial
4945         fix for bug 1376
4946
4947 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * buffer.C (readFile): add a space
4950
4951 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4954
4955 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * buffer.C (readFile): new function, take a filename and a
4958         ParagraphList::iterator
4959         (readFile): adjust
4960         (readFile): adjust, make it private. don't use setStream, make
4961         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4962         always contain the filename.
4963
4964         * BufferView.C (insertLyXFile): simplify and make it work for
4965         gzipped files.
4966
4967 2003-08-30  John Levon  <levon@movementarian.org>
4968
4969         * Makefile.am: fix dist (from Kayvan)
4970
4971 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * most files: change to use const Buffer refs
4974
4975 2003-08-27  André Pönitz  <poenitz@gmx.net>
4976
4977         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4978         on top of ownerPar().
4979
4980 2003-08-27  John Levon  <levon@movementarian.org>
4981
4982         * funcrequest.C: properly initialise POD members
4983
4984 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * lyxtext.h (top_y): move top_y from here
4987         * text.C:
4988         * text2.C:
4989         * text3.C:
4990         * BufferView.[Ch]:
4991         * BufferView_pimpl.[Ch]: to here
4992         * frontends/screen.C:
4993         * insets/insettabular.C:
4994         * insets/insettext.C: adjust
4995         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4996
4997 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * BufferView.[Ch]:
5000         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5001
5002 2003-08-26  André Pönitz  <poenitz@gmx.net>
5003
5004         * paragraph_func.[Ch] (outerPar): new function
5005
5006         * paragraph.C:
5007         * paragraph_funcs.C:
5008         * paragraph_funcs.h:
5009         * paragraph_pimpl.C:
5010         * text2.C: remove Inset::par_owner
5011
5012 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5013
5014         * lyxrow_funcs.C:
5015         * lyxtext.h:
5016         * text.C:
5017         * text2.C: eliminates the needFullRow/display() stuff
5018         altogether, putting the logic in metrics/draw in the insets.
5019
5020 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * text2.C (redoParagraphInternal, redoParagraphs):
5023         * text.C (redoParagraph): add a call to updateRowPositions at the
5024         end of each 'metrics-like' call. Remove all others.
5025         (getRow): remove the 'y-computing' version.
5026         (getRowNearY): do not compute nor return the real y. Solve the
5027         'y < 0' problem and simplify.
5028
5029 2003-08-22  Angus Leeming  <leeming@lyx.org>
5030
5031         * *.[Ch]: clean-up of licence and author blurbs.
5032         Also move config.h out of a few .h files and into a few .C files.
5033
5034 2003-08-22  André Pönitz  <poenitz@gmx.net>
5035
5036         * lyxrow.[Ch]: add x_ and *fill_ members
5037
5038         * lyxtext.h:
5039         * text.C:
5040         * rowpainter.C:
5041         * text2.C: adjust/remove prepareToPrint() calls
5042
5043 2003-08-22  André Pönitz  <poenitz@gmx.net>
5044
5045         * lyxrow.[Ch]: add  end_ member
5046
5047         * lyxrow_funcs.C: use LyXRow::end_
5048
5049         * lyxtext.h (singleWidth): add LyXFont parameter
5050
5051         * rowpainter.C:
5052         * text2.C: adjust LyXText::singleWidth() calls
5053
5054         * text.C (redoParagraph): simplify row breaking logic
5055
5056
5057 2003-08-19  André Pönitz  <poenitz@gmx.net>
5058
5059         * funcrequest.C: initialize button_ member
5060
5061         * text3.C:
5062         * rowpainter.[Ch]: interface consolidation
5063
5064 2003-08-18  André Pönitz  <poenitz@gmx.net>
5065
5066         * BufferView.C:
5067         * BufferView_pimpl.C:
5068         * lyxfind.C:
5069         * paragraph_funcs.C:
5070         * rowpainter.C:
5071         * text3.C: remove LyXScreen::draw() and fitCursor calls
5072
5073         * BranchList.h: remove spurious semicolons
5074
5075         * MenuBackend.C: fix branchlist related crash
5076
5077 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5078
5079         * BranchList.[Ch]:
5080         * InsetList.[Ch]:
5081         * LColor.[Ch]:
5082         * LyXAction.C:
5083         * Makefile.am:
5084         * MenuBackend.[Ch]:
5085         * bufferparams.[Ch]:
5086         * factory.C:
5087         * lfuns.h:
5088         * lyxfunc.C:
5089         * text3.C: implements the 'branch inset'
5090         idea. This allows the output of various versions of a document
5091         from a single source version, selectively outputing or suppressing
5092         output of parts of the text.
5093         This implementation contains a 'branch list editor' in a separate
5094         tab of the document settings dialog. Branches are user definable
5095         and have a "display colour" to distinguish them on-screen.
5096
5097         ColorHandler was somewhat cleaned up.
5098         (1) make possible a dynamically growing LColor list by allowing
5099         the graphic context cache to grow along (vector);
5100         (2) eliminate an IMHO unnecessary step in colour allocation.
5101
5102 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5103
5104         * BufferView_pimpl.C: compile fix
5105
5106 2003-08-15  André Pönitz  <poenitz@gmx.net>
5107
5108         * rowpainter.C: remove extra metrics calls
5109
5110         * lyxtext.h: merge the two constructors into a single one,
5111           pass reference to owner's par list
5112
5113         * BufferView_pimpl.C:
5114         * text.C:
5115         * text2.C: adjust
5116
5117 2003-08-15  André Pönitz  <poenitz@gmx.net>
5118
5119         * lyxrow_funcs.[Ch]:
5120         * lyxtext.h:
5121         * paragraph.h:
5122         * paragraph_funcs.C:
5123         * rowpainter.C:
5124         * text.C:
5125         * text2.C:
5126         * text3.C:
5127         * text_funcs.C: split LyXText::rowlist_ into individual
5128         Paragraph::rows_ chunks
5129
5130         * BufferView.[Ch]:
5131         * BufferView_pimpl.[Ch]:
5132         * lyxfind.C:
5133         * lyxtext.h:
5134         * text3.C: remove toggleSelection()
5135
5136 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5137
5138         * bufferlist.C: beautify two alerts (shorter text of buttons)
5139         * buffer.C: Remove redundant ' ' from message
5140         * tabular.h:
5141         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5142         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5143         rename VALIGN_CENTER to VALIGN_MIDDLE
5144
5145 2003-08-11  André Pönitz  <poenitz@gmx.net>
5146
5147         * lyxtext.h (getPar):
5148         * text.C: new function
5149
5150 2003-08-11  André Pönitz  <poenitz@gmx.net>
5151
5152         * Makefile.am:
5153         * tracer.[Ch]: remove unneeded files
5154
5155         * InsetList.[Ch]: remove resizeInsetsLyXText()
5156
5157         * lyxtext.h:
5158         * text.C:
5159         * text2.C:
5160         * text3.C: merge insertParagraphs() and appendParagraph()
5161         remove breakAgain(), update()
5162
5163         * BufferView_pimpl.[Ch]:
5164         * bufferview_funcs.[Ch]:
5165         * lyxfunc.C:
5166         * paragraph.[Ch]:
5167         * rowpainter.C:
5168         * tabular.C: adjust after text & InsetList changes.
5169
5170 2003-08-08  André Pönitz  <poenitz@gmx.net>
5171
5172         * text.C (insertChar, backspace): replace rowlist fiddling
5173         with rebreak of full par
5174
5175         * lyxtext.h:
5176         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5177         checkParagraph, updateInset): removed
5178
5179 2003-08-07  André Pönitz  <poenitz@gmx.net>
5180
5181         * paragraph.C:
5182         * text3.C: merge some LFUN handlers, remove dead code
5183
5184 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5185
5186         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5187
5188 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * text2.C (DEPM): fix part of bug 1255 and 1256
5191
5192 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5193
5194         * BufferView_pimpl.C (workAreaDispatch): change to use
5195         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5196         that are no mouse related.
5197
5198 2003-08-05  André Pönitz  <poenitz@gmx.net>
5199
5200         * BufferView.[Ch]:
5201         * BufferView_pimpl.[Ch]:
5202         * bufferview_funcs.C:
5203         * text2.C:
5204         * text3.C: rip out "deep update"
5205
5206         * textcursor.[Ch] (last_sel_cursor): remove unused member
5207
5208 2003-08-04  André Pönitz  <poenitz@gmx.net>
5209
5210         * BufferView.[Ch]:
5211         * BufferView_pimpl.[Ch]:
5212         * ParagraphParameters.C:
5213         * bufferview_funcs.C:
5214         * lyx_cb.C:
5215         * lyxfind.C:
5216         * lyxfunc.C:
5217         * text.C:
5218         * text2.C:
5219         * text3.C: replace "complicated" BufferView::update(...) calls with
5220         simpler ones.
5221
5222         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5223
5224 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5225
5226         * Makefile.am (lyx_SOURCES): add paper.h
5227
5228 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5229
5230         * Makefile.am: move things around so that both lyx-qt and
5231         lyx-xforms can be built (according to --with-frontend). Then lyx
5232         is a symbolic link to lyx-[firstfrontend]
5233
5234 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5235
5236         * Always use std::endl with lyxerr
5237
5238 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5239
5240         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5241
5242 2003-08-01  André Pönitz  <poenitz@gmx.net>
5243
5244         * BufferView.[Ch]:
5245         * BufferView_pimpl.[Ch]:
5246         * lyxfunc.C:
5247         * text3.C: merge BufferView::repaint() and BufferView::update()
5248
5249 2003-08-01  José Matos  <jamatos@lyx.org>
5250
5251         * buffer.[Ch]: file_format is no longer a buffer data element.
5252
5253 2003-08-01  André Pönitz  <poenitz@gmx.net>
5254
5255         * BufferView.C:
5256         * lyxtext.h:
5257         * text.C:
5258         * text2.C: make redoParagraph more independent of current cursor
5259
5260         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5261         * text.C:
5262         * text2.C: remove unneeded members
5263
5264 2003-07-30  André Pönitz  <poenitz@gmx.net>
5265
5266         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5267
5268         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5269           create a single function...
5270
5271         * paragraph_funcs.C (moveItem): ... here.
5272
5273         * text.C:
5274           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5275
5276 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5277
5278         * LColor.[Ch]: Add comment and greyedout logical colors.
5279
5280 2003-07-30  André Pönitz  <poenitz@gmx.net>
5281
5282         * tabular.C: don't use Assert too heavily. This crashes where it
5283           shouldn't
5284
5285 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5286
5287         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5288         is disabled (bug 1232)
5289
5290 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5291
5292         * factory.C: limited 'arg' scope
5293
5294 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5295
5296         * factory.C: fixed Note submenu issues
5297
5298 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5299
5300         * factory.C: submenu for Note/Comment/Greyedout
5301
5302 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5303
5304         * lyx_main.C (LyX):
5305         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5306
5307 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5308
5309         * LaTeXFeatures.C:
5310         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5311         greyedout. Patch provided by Jürgen Spitzmüller.
5312
5313 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5314
5315         * kbmap.C (read): fix error message when reading bind files
5316
5317 2003-07-29  Angus Leeming  <leeming@lyx.org>
5318
5319         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5320         certainly does not do what it purports to do. I am doing it, and
5321         us, a favour by killing it.
5322
5323 2003-07-28  José Matos  <jamatos@lyx.org>
5324
5325         * buffer.C (readBody, do_writeFile):
5326         * paragraph.C(readParagraph): \end_document replaces \the_end.
5327
5328 2003-07-29  André Pönitz  <poenitz@gmx.net>
5329
5330         * BufferView.[Ch]:
5331         * BufferView_pimpl.[Ch]:
5332         * lyxfunc.C:
5333         * text2.C:
5334         * text3.C:
5335         * textcursor.[Ch]: remove toggleToggle & Co
5336
5337 2003-07-28  José Matos  <jamatos@fep.up.pt>
5338
5339         * buffer.C (readParagraph):
5340         * params_func (readParToken, readParagraph):
5341         * paragraph.C (write): \layout -> \begin_layout.
5342
5343 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * lyxlex_pimpl.C (setFile): clean up slightly.
5346
5347         * bufferparams.h: add compressed var
5348
5349         * buffer_funcs.C (readFile): adjust for LyXLex change
5350         (newFile): ditto + simplify
5351
5352         * buffer.C (writeFile): handle writing of compressed files
5353
5354         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5355         Check if the file is compressed and set a bufferparm if so.
5356
5357         * Makefile.am (lyx_LDADD): remove explicit -lz
5358
5359 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5360
5361         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5362         makeDocBookFile): put the real LyX version in the first line of
5363         the file
5364
5365         * version.h:
5366         * version.C.in: remove lyx_docversion
5367
5368         * tabular.C (write_attribute): add a template-based version to
5369         write enums properly
5370
5371 2003-07-28  André Pönitz  <poenitz@gmx.net>
5372
5373         * lyxtext.h:
5374         * text.C:
5375         * text2.C:
5376         * text3.C: use doubles again for x-coordinates. They are needed.
5377
5378 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * messages.C (getLocaleDir): use lyx_localedir()
5381
5382         * lyxlex_pimpl.C (setFile): compress stuff
5383
5384         * buffer.C (writeFile): add some compression stuff
5385         (do_writeFile): new func, dont call expliti close... will this
5386         breake anything?
5387
5388         * Makefile.am (lyx_LDADD): add -lz
5389
5390 2003-07-28  José Matos  <jamatos@fep.up.pt>
5391
5392         * buffer.C: increment file format.
5393         * paragraph_funcs (readParagraph, readParToken):
5394         * paragraph.C (readParagraph): add \end_layout.
5395
5396 2003-07-27  Angus Leeming  <leeming@lyx.org>
5397
5398         * Makefile.am: remove special casing for configure-time setting of
5399         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5400
5401         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5402         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5403
5404 2003-07-26  André Pönitz  <poenitz@gmx.net>
5405
5406         * paragraph_func.[Ch]:
5407         * paragraph.C (realizeFont): inline it whereever it is used
5408
5409         * rowpainter.C:
5410         * text.C:
5411         * text2.C:
5412         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5413
5414
5415 2003-07-26  André Pönitz  <poenitz@gmx.net>
5416
5417         *       lyxtext.h:
5418         * text.C:
5419         * text2.C: get rid of LyXText::need_break_row
5420
5421 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * toc.[Ch]: put namespace toc inside namespace lyx
5424
5425         * MenuBackend.C (expandToc2): adjust for lyx::toc
5426         (expandToc): ditto
5427
5428         * lyxfunc.C (dispatch): adjust for lyx::find
5429
5430         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5431         lyx::find instead. Reorganize a bit.
5432         (LyXReplace): rename to replace
5433         (LyXFind): rename to find
5434
5435         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5436         (dispatch): ditto
5437
5438 2003-07-26  André Pönitz  <poenitz@gmx.net>
5439
5440         * text.C (setHeightOfRow): restrict scope of temporary variable
5441
5442         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5443           code (never has been used?)
5444
5445 2003-07-27  Asger Alstrup  <alstrup@local>
5446
5447         * text.C (fill): Optimise algorithm to exploit that we can reuse
5448         the LyXFont for many characters.
5449         (setHeightOfRow): Same thing.
5450         (rowBreakPoint): Same thing.
5451
5452 2003-07-26  Asger Alstrup  <alstrup@local>
5453
5454         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5455
5456         * text.C (singleWidth): Spurious font copying in hot-spot
5457         singleWidth avoided. Reorder tests for arabic for efficiency.
5458
5459         * text.C (fill): handle empty paragraphs better.
5460
5461 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5462
5463         * ispell.C:
5464         * encoding.h: add includes
5465
5466         * lyxrc.C: remove reading of bind files
5467
5468         * lyx_main.C (init): setup bindings and menus only if we have a
5469         gui.
5470
5471         * kbmap.C (read): new method. Do the actual reading of bind
5472         files.
5473
5474         * converter.C (dvipdfm_options):
5475         * bufferparams.C:
5476         * lyxrc.C (read):
5477         (output): adapt PAPER_* enums.
5478
5479         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5480
5481         * bufferparams.h: remove paper-related enums from there
5482
5483         * paper.h: New file. A trivial header file to hold paper-related
5484         enums. It should later expand to contain many paper-related
5485         horrors access.
5486
5487         * lyxrc.C: declare extern displayTranslator
5488
5489 2003-07-27  José Matos  <jamatos@fep.up.pt>
5490
5491         * tabular.[Ch] (linuxdoc): add support for tables and figures
5492         (linuxdoc).
5493
5494 2003-07-27  José Matos  <jamatos@fep.up.pt>
5495
5496         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5497         consistency in both functions.
5498         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5499
5500 2003-07-26  Asger Alstrup  <alstrup@local>
5501
5502         * rowpainter.C (paintRows): Change algorithm to work directly on
5503         the insets rather than asking every character in the document
5504         whether its an inset.
5505
5506 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5507
5508         * buffer.C (openFileWrite): factorize some code
5509
5510 2003-07-26  Angus Leeming  <leeming@lyx.org>
5511
5512         * lyx_cb.C:
5513         * lyx_main.[Ch]: replace occurances of system_tempdir with
5514         os::getTmpDir().
5515
5516 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * rename Inset to InsetOld
5519
5520 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5521
5522         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5523         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5524         which I think is a bit clearer. EDIT is gone, since it was
5525         premature optimisation, and broken for mathed anyway.
5526         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5527         with cursor positioning in insets as well (math insets still do not
5528         work, but that's a different story anyway.) It mysteriously
5529         crashes sometimes with undo in the first paragraph, but I'm fairly
5530         confident that this is a compiler bug.
5531
5532 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * paragraph.C (Paragraph): adjust for new clone return type
5535         (operator==): ditto
5536         (copyIntoMinibuffer): ditto
5537
5538 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5539
5540         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5541         by not having a special case, and always doing a full rebreak of
5542         the document after undo.
5543
5544 2003-07-23  Angus Leeming  <leeming@lyx.org>
5545
5546         * factory.C (createInset): InsetExternal::setParams now takes a
5547         Buffer const * arg.
5548
5549 2003-07-23  Angus Leeming  <leeming@lyx.org>
5550
5551         * factory.C (createInset): changed interface to the external and
5552         graphics mailers' string2params functions.
5553
5554 2003-07-23  Angus Leeming  <leeming@lyx.org>
5555
5556         * factory.C (createInset): pass a
5557         Buffer const * parameter to InsetExternalMailer's string2params.
5558
5559 2003-07-22  John Levon  <levon@movementarian.org>
5560
5561         * Thesaurus.h: include the right aiksaurus header
5562
5563 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5564
5565         * MenuBackend.C (expand): check menu shortcuts unconditionally
5566
5567 2003-07-21  Angus Leeming  <leeming@lyx.org>
5568
5569         * factory.C (createInset): pass a
5570         buffer_path parameter to InsetGraphicsMailer's string2params.
5571
5572 2003-07-21  Angus Leeming  <leeming@lyx.org>
5573
5574         * BufferView_pimpl.C (buffer):
5575         * buffer.C (d-tor):
5576         * lyx_main.C (LyX):
5577         * lyxfunc.C (dispatch):
5578         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5579         rather than the grfx shortcut.
5580
5581 2003-07-21  André Pönitz  <poenitz@gmx.net>
5582
5583         * rowpainter.C: remove unused variables
5584
5585         * tabular_funcs.C:
5586         * tabular_funcs.h: move to tabular.C
5587         * Makefile.am: adjust
5588
5589         * tabular.[Ch]: basic optical cleaning
5590
5591         * author.h: pass references, not values
5592
5593 2003-07-18  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxtext.h:
5596         * metricsinfo.C:
5597         * metricsinfo.h:
5598         * rowpainter.C:
5599         * text.C:
5600         * text2.C:
5601         * text3.C: two-phase drawing for InsetText and InsetTabular
5602         some float -> int changes.
5603
5604 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * lyx_main.C: fix the fix
5607
5608 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * lyx_main.C: fix a crash in batch mode if no files specified
5611         * converter.C: ws
5612
5613 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * format.[Ch] (papersize): moved to BufferParams
5616         * converter.[Ch] (dvips_options): moved to BufferParams
5617         (dvipdfm_options): moved to anon namespace
5618         * bufferparams.[Ch]: added above functions.
5619
5620 2003-07-17  André Pönitz  <poenitz@gmx.net>
5621
5622         * lyxtext.h:
5623         * rowpainter.C:
5624         * text2.C: don't call inset->update() anymore
5625
5626         * metricsinfo.[Ch]: add convenience constructor
5627
5628 2003-07-16  André Pönitz  <poenitz@gmx.net>
5629
5630         * lyxcursor.[Ch]:
5631         * lyxfunc.[Ch]:
5632         * text.C:
5633         * text2.C: replace the LyXCursor::irow_ member with
5634          on-demand computation of the value
5635
5636 2003-07-16  John Levon  <levon@movementarian.org>
5637
5638         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5639
5640 2003-07-15  André Pönitz  <poenitz@gmx.net>
5641
5642         * text.C:
5643         * text2.C: remove no more needed refresh_row
5644
5645 2003-07-15  André Pönitz  <poenitz@gmx.net>
5646
5647         * lyxtext.h:
5648         * rowpainter.C:
5649         * text2.C:
5650         * text3.C: refresh_status tristate -> need_update bool
5651
5652 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * lyxtext.h (init): remove reinit argument (act as if always true)
5655         * text2.C: adjust to that
5656
5657 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5658
5659         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5660         * text3.C: use it to delete selections in some cases
5661         (bugs 441, 673, 702, 954).
5662
5663 2003-07-14  André Pönitz  <poenitz@gmx.net>
5664
5665         * rowpainter.[Ch]: reduce interface
5666
5667 2003-07-14  André Pönitz  <poenitz@gmx.net>
5668
5669         * BufferView_pimpl.C:
5670         * text2.C: adjust after removing unused BufferView * argument
5671
5672 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5673
5674         * text2.C (init): fix a crash fired on resize
5675
5676 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * buffer.[Ch]: added new closing signal
5679         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5680         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5681         BufferView::Pimpl via the closing the signal
5682
5683 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * buffer.[Ch]: take out all bv-related from buffer
5686         * BufferView.C:
5687         * BufferView_pimpl.[Ch]: connect to new signals
5688         * CutAndPaste.C: removed useless asserts
5689         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5690         * lyxvc.[Ch]:
5691         * vc-backend.[Ch]:
5692         * lyxfunc.C: moved view-related funciontality from vc here
5693         * paragraph.C: removed outdated comments
5694         * text.C: ws
5695
5696 2003-07-10  André Pönitz  <poenitz@gmx.net>
5697
5698         * BufferView_pimpl.C:
5699         * tabular.h:
5700         * tabular_funcs.C:
5701         * text.C:
5702         * text2.C: remove InsetText::InnerCache, clean up consequences
5703
5704 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5705
5706         * ispell.C: fix two typos in error messages
5707
5708 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5709
5710         * Extend Note inset to other forms of annotation like Comment
5711         and Greyedout. Right button click gives dialog.
5712
5713         Files modified or added (+):
5714
5715         * insetnote.[Ch]
5716         * FormNote.[Ch]      +
5717         * ControlNote.[Ch]   +
5718         * form_note.fd       +
5719         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5720         frontends/controllers
5721         * xforms/Dialogs.C
5722         * factory.C
5723
5724 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5725
5726         * aspell.C: add missing namespace lyx::support
5727
5728 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5729
5730         * BufferView.[Ch] (newFile): Add
5731         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5732         * LaTeX.[Ch] (message): added this signal and use it
5733         * buffer.[Ch] (busy, message): added these signals and use them
5734         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5735         * converter.C:
5736         * exporter.C:
5737         * format.C:
5738         * importer.C: use buffer signals instead of direct bv calling
5739         * lyx_cb.[Ch] (ShowMessage): removed
5740         * lyx_main.C:
5741         * lyxfunc.C:
5742         * paragraph_funcs.C:
5743         * text2.C: use buffer signals
5744
5745 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * introduce namespace lyx::graphics
5748
5749 2003-07-02  André Pönitz  <poenitz@gmx.net>
5750
5751         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5752
5753 2003-07-01  André Pönitz  <poenitz@gmx.net>
5754
5755         * text.C:
5756         * text2.C:
5757         * text3.C:
5758         * text_funcs.[Ch]:
5759         * textcursor.h:
5760         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5761           text*.C to text_func.C
5762
5763 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * introduce namespace lyx::support
5766
5767 2003-06-30  André Pönitz  <poenitz@gmx.net>
5768
5769         * Chktex.C:
5770         * funcrequest.C:
5771         * lyxtext.h:
5772         * text.C: re-enable --with-included-string
5773
5774 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * textcursor.C: add <config.h>
5777
5778         * text.C (getWord): remove const from word_location arg
5779
5780         * lyxvc.C (getLogFile): fix const type order
5781
5782         * lyxtext.h: remove const from word_location arg, add arg name
5783
5784         * lyxlayout.h: currect type on labeltype.
5785
5786         * importer.C: correct \file
5787
5788         * converter.C (intToFormat): use std:: on ret val, ws changes
5789
5790         * bufferlist.h: correct \file
5791
5792         * buffer.C (makeLinuxDocFile): fix const type order
5793         (makeDocBookFile): ditto
5794         (fillWithBibKeys): use std:: on stdlib args.
5795
5796         * CutAndPaste.C: fix authors.
5797         (availableSelections): use std:: on return vector
5798
5799 2003-06-27  André Pönitz  <poenitz@gmx.net>
5800
5801         * BufferView_pimpl.C:
5802         * bufferview_funcs.C:
5803         * lyxcursor.C:
5804         * lyxcursor.h:
5805         * lyxfunc.C:
5806         * lyxtext.h:
5807         * rowpainter.C:
5808         * text.C:
5809         * text2.C:
5810         * text3.C: remove LyXCursor::row_ member
5811
5812         * lyxtext.h:
5813         * text.C: rename fullRebreak() to partialRebreak() and implement
5814           a fullRebreak() that really bereks fully
5815
5816         * textcursor.h: new struct for cursor-related data
5817
5818 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5819
5820         * lyx_main.C (LyX): get full path of document loaded on the
5821         command line
5822
5823 2003-06-26  André Pönitz  <poenitz@gmx.net>
5824
5825         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5826           remove unused/broken operator>,<,>=.
5827
5828         *       text.C: remove only use of broken operator<= in an Assert().
5829
5830 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5831
5832         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5833         moved errorlist_.clear to showErrorList
5834
5835 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5836
5837         * converter.C (scanLog, runLaTeX):
5838         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5839         move the bv->showErrorList call to the callers
5840         * lyxfunc.C: i.e. here...
5841         * text2.C: and here
5842         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5843         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5844         namespace, the second to...
5845         * buffer_funcs (BufferFormat, parseErrors): added
5846         * errorlist.C (ErrorList(TeXErrors const &)): removed
5847
5848 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5849
5850         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5851
5852 2003-06-24  "Garst R. Reese" <reese@isn.net>
5853
5854         * debug.C: fix typo
5855
5856 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5857
5858         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5859
5860         * version.C.in: change docversion to 1.4
5861
5862 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * buffer.C: fix a bug just introduced
5865
5866 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5867
5868         * buffer.[Ch]: added the parseError signal and use it, removed
5869         sgmlError
5870         * BufferView.[Ch] (addError): moved to ...
5871         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5872         to the Buffer::parseError signal to catch (guess what) parse errors
5873         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5874
5875 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5876
5877         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5878         ability to create a buffer and to return an existing one from
5879         the list. Moved these functions to...
5880         * buffer_funcs.[Ch]: added
5881         * BufferView.[Ch] (loadLyXFile): added
5882         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5883         job removed from bufferlist::loadLyXFile.
5884         * buffer.C (setReadOnly): make it work without view
5885         (i.e added an if (users))
5886
5887 2003-06-19  Angus Leeming  <leeming@lyx.org>
5888
5889         * lfuns.h:
5890         * LyXAction.C (init):
5891         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5892         with LFUN_DIALOG_SHOW <name> <data>.
5893
5894 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5895
5896         * CutAndPaste.C (availableSelections): small compilation fix for
5897         ancient (gcc 2.9x) compilers
5898
5899 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * text3.C (cursorNext): add tmp var
5902
5903         * text2.C (updateCounters): for function calling out of for clause
5904         (replaceSelectionWithString): ditto
5905         (insertStringAsParagraphs): ditto
5906         (getColumnNearX): add tmp var
5907         (setCursorFromCoordinates): add tmp var
5908         (cursorDownParagraph): add tmp var
5909         (deleteEmptyParagraphMechanism): add tmp var
5910
5911         * text.C (insertChar): add tmp var
5912
5913         * rowpainter.C (paintDepthBar): add tmp var
5914
5915         * CutAndPaste.C (availableSelections): potentially check all
5916         paragraphs in a cut to fill the shown strings.
5917
5918 2003-06-18  André Pönitz  <poenitz@gmx.net>
5919
5920         * kbmap.[Ch]: use vector<> instead of list<>
5921
5922 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5923
5924         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5925         pasteSelection with index
5926
5927         * text2.C (pasteSelection): modify, call pasteSelection with index
5928
5929         * paragraph.C (asString): reimplement version with no interval to
5930         call the one with interval.
5931
5932         * lyxtext.h: add index arg to pasteSelection
5933
5934         * MenuBackend.C (MenuItem): handle PasteRecent
5935         (Menu::read::Menutags): add md_pasterecent
5936         (read): handle it
5937         (expandPasteRecent): new function
5938         (expand): use it
5939
5940         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5941
5942         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5943         the limited stack
5944         (availableSelections): new function
5945
5946 2003-06-17  Angus Leeming  <leeming@lyx.org>
5947
5948         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5949
5950 2003-06-17  Angus Leeming  <leeming@lyx.org>
5951
5952         * lfuns.h:
5953         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5954
5955         * lyxfunc.C (dispatch): invoke it.
5956
5957 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5958
5959         * iterators.C (operator++, ParPosition): reintroduce some
5960         const_cast for the benefit of older compilers.
5961
5962 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5963
5964         * text3.C (dispatch): do not modify clipboard when doing
5965         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5966         LFUN_DELETE_SKIP on a selection selection
5967
5968 2003-06-16  André Pönitz  <poenitz@gmx.net>
5969
5970         * BufferView.C:
5971         * buffer.C:
5972         * buffer.h:
5973         * paragraph.C:
5974         * tabular.[Ch]: IU of clone() and getLabelList();
5975
5976 2003-06-13  André Pönitz  <poenitz@gmx.net>
5977
5978         * tabular.h: compactification
5979
5980 2003-06-12  André Pönitz  <poenitz@gmx.net>
5981
5982         * tabular.C:
5983         * tabular.h:
5984         * tabular_funcs.h: some renaming plus whitespace
5985
5986 2003-06-12  André Pönitz  <poenitz@gmx.net>
5987
5988         * BufferView.C:
5989         * BufferView_pimpl.C:
5990         * CutAndPaste.C:
5991         * buffer.C:
5992         * iterators.[Ch]:
5993         * lyxfunc.C:
5994         * text.C:
5995         * toc.C: Return a Paragraph & for ParIterator::operator*()
5996
5997 2003-06-11  John Levon  <levon@movementarian.org>
5998
5999         * lyx_main.C:
6000         * ToolbarBackend.h:
6001         * ToolbarBackend.C: add "Toolbars" section and
6002         put the flags there
6003
6004 2003-06-10  Angus Leeming  <leeming@lyx.org>
6005
6006         * lfuns.h:
6007         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6008
6009         * lyxfunc.C (dispatch): invoke it.
6010
6011 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * main.C: protect <ios> with HAVE_IOS
6014         (main): protect sync_with_stdio with HAVE_IOS
6015
6016 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6017
6018         * text2.C (cutSelection): adjust
6019         (pasteSelection): adjust
6020
6021         * messages.C: handle get of empty string
6022
6023         * main.C (main): use sync_with_stdio(false)
6024
6025         * lyxfunc.C (dispatch): adjust
6026
6027         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6028         (WriteAs): remove unneeded BufferView arg.
6029
6030         * bufferparams.h: use correct types on papersize, papersize2 and
6031         paperpackage.
6032
6033         * bufferparams.C (readToken): adjust for type
6034         (writeLaTeX): add missing cases to switch.
6035
6036         * bufferlist.C (quitWriteBuffer): adjust
6037         (close): adjust
6038
6039         * buffer.C (asciiParagraph): remove some commented code.
6040
6041         * CutAndPaste.C: remove current_view extern variable.
6042         (cutSelection): add BufferParams arg.
6043         (eraseSelection): add BufferParams arg.
6044         (pasteSelection): add Buffer const & arg
6045
6046 2003-06-07  John Levon  <levon@movementarian.org>
6047
6048         * buffer.C:
6049         * paragraph_funcs.C:
6050         * paragraph_pimpl.C:
6051         * text.C:
6052         * text2.C:
6053         * paragraph.h:
6054         * paragraph.C: allow InsetERT to freely space lines,
6055         and some consolidation of code
6056
6057 2003-06-06  José Matos  <jamatos@fep.up.pt>
6058
6059         * buffer.C (makeDocBookFile): fix bug #821
6060
6061 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6062
6063         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6064
6065 2003-06-04  Angus Leeming  <leeming@lyx.org>
6066
6067         * buffer.C: bump format to 224.
6068
6069 2003-06-05  André Pönitz  <poenitz@gmx.net>
6070
6071         * text2.C (redoParagraphs): remove two const_cast<>
6072
6073 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6074
6075         * ParagraphList.h: remove last remnants of NO_STD_LIST
6076
6077 2003-06-03  Angus Leeming  <leeming@lyx.org>
6078
6079         * factory.C (createInset): small change to the way InsetExternal's params
6080         are set.
6081
6082 2003-06-04  André Pönitz  <poenitz@gmx.net>
6083
6084         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6085
6086         * paragraph_pimpl.h:
6087         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6088
6089         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6090
6091         * undo_funcs.C: make some simple cases of undo work again
6092
6093 2003-06-03  John Levon  <levon@movementarian.org>
6094
6095         * ispell.C: HPUX doesn't have sys/select.h
6096         (from Albert Chin)
6097
6098 2003-06-03  John Levon  <levon@movementarian.org>
6099
6100         * CutAndPaste.C: update tabular and include inset
6101         buffer references
6102
6103         * buffer.h:
6104         * paragraph.h:
6105         * paragraph.C: remove owningBuffer(), don't pass Buffer
6106         to clone()
6107
6108         * factory.C: insetGraphicsParams changed
6109
6110 2003-06-02  John Levon  <levon@movementarian.org>
6111
6112         * LyXAction.C:
6113         * factory.C:
6114         * lfuns.h:
6115         * lyxfunc.C:
6116         * text3.C: remove insetparent
6117
6118 2003-06-02  John Levon  <levon@movementarian.org>
6119
6120         * buffer.h:
6121         * buffer.C: fix inset_iterator.end(), move out of line
6122         (bug 1149)
6123
6124 2003-06-01  John Levon  <levon@movementarian.org>
6125
6126         * text3.C: use a proper cut/paste when doing inset
6127         insert (from Jürgen Spitzmüller)
6128
6129 2003-06-01  John Levon  <levon@movementarian.org>
6130
6131         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6132
6133 2003-05-30  André Pönitz  <poenitz@gmx.net>
6134
6135         * rowpainter.C: unify second drawing phase
6136
6137 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * trans_mgr.C: remove one case of current_view
6140
6141         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6142
6143         * paragraph_funcs.h: remove paragraph.h include
6144
6145         * paragraph.h: delete NO_STD_LIST stuff
6146
6147         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6148
6149         * buffer.h: remove paragraph.h include
6150
6151         * ParagraphList.C: delete file
6152
6153         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6154
6155         * toc.C (getTocList): adjust
6156
6157         * paragraph_pimpl.C (validate): adjust
6158
6159         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6160
6161         * paragraph.C (Paragraph): adjust
6162         (getPositionOfInset): use const_iterator, adjust
6163         (bibitem): use const_iterator, adjust
6164         (setInsetOwner): adjust
6165
6166         * iterators.C (operator++): adjust
6167
6168         * InsetList.[Ch]: Replace selfmade iterator with standard
6169         vector::iterator also introduce const_iterator. Remove getPos,
6170         getInset and setInset from InsetTable. Adjust accordingly.
6171
6172         * BufferView.C (lockInset): adjust
6173         (ChangeInsets): adjust
6174
6175         * tabular.[Ch]: delete commented same_id functions
6176
6177 2003-05-28  John Levon  <levon@movementarian.org>
6178
6179         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6180
6181 2003-05-28  André Pönitz  <poenitz@gmx.net>
6182
6183         * metricsinfo.[Ch]: remove 'fullredraw' member
6184
6185 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6186
6187         * lyxtextclass.C (operator): remove caching.
6188
6189 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * text3.C: adjust
6192
6193         * text2.C (cursorBottom): adjust
6194         (setCounter): use ParagraphList::find, adjust
6195
6196         * text.C (workWidth): use ParagraphList::find, adjust
6197
6198         * lyxcursor.C (LyXCursor): adjust
6199
6200         * buffer.C (inset_iterator): adjust
6201
6202         * ParagraphList.h: make iterator(value_type) private, make
6203         ParagraphList a friend of iterator.
6204
6205         * ParagraphList.C (find): new function
6206
6207         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6208
6209 2003-05-27  André Pönitz  <poenitz@gmx.net>
6210
6211         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6212
6213 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6214
6215         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6216
6217 2003-05-26  John Levon  <levon@movementarian.org>
6218
6219         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6220
6221 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * remove same_id from function signatures, adjust.
6224
6225 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6228
6229         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6230
6231         * paragraph.C (Paragraph): get rid of same_ids parameter
6232
6233         * ParagraphList.C (insert): adjust
6234         (push_back): adjust
6235
6236 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * paragraph_funcs.C (breakParagraph): adjust
6239         (breakParagraphConservative): adjust
6240
6241         * buffer.C (readParagraph): adjust
6242
6243         * ParagraphList.C (insert): take a reference instead of a pointer
6244         (insert): adjust
6245
6246         * paragraph.[Ch] (id): new function
6247
6248         * bufferlist.C (newFile): adjust
6249
6250         * ParagraphList.C (ParagraphList): adjust
6251         (assign): adjust
6252         (push_back): take a reference instead of a pointer.
6253
6254         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6255
6256         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6257         instead.
6258
6259         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6260         set else use old code.
6261
6262         * ParagraphList.C: remove all NO_NEXT code and only compile this
6263         code of NO_STD_LIST is set.
6264
6265 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6266
6267         * BufferView_pimpl.C:
6268         * TextCache.C:
6269         * TextCache.h:
6270         * bufferlist.C:
6271         * errorlist.h:
6272         * format.C:
6273         * format.h:
6274         * graph.C:
6275         * lyxfunc.C:
6276         * lyxrc.C:
6277         * graphics/GraphicsConverter.C:
6278         * graphics/PreviewLoader.C: header adjustment
6279
6280 2003-05-23  Angus Leeming  <leeming@lyx.org>
6281
6282         * LaTeXFeatures.[Ch] (useBabel): new method.
6283         * bufferparams.C (writeLaTeX): use it.
6284
6285 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * ParagraphList.h (set): remove unused function.
6288
6289 2003-05-23  André Pönitz  <poenitz@gmx.net>
6290
6291         * BufferView.C:
6292         * BufferView_pimpl.C:
6293         * buffer.C:
6294         * buffer.h:
6295         * lyxfunc.C:
6296         * undo_funcs.C: setUndo reworked
6297
6298         * iterators.[Ch]: add access to topmost ParagraphList
6299
6300         * lyxtext.[Ch] (workWidth): add a const
6301
6302 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6303
6304         * texrow.[Ch] (increasePos): remove function
6305         * exporter.C (export): removed unused var and outdated comment
6306
6307 2003-05-23  Angus Leeming  <leeming@lyx.org>
6308
6309         * latexrunparams.h: rename fragile as moving_arg.
6310         * paragraph.C (simpleTeXOnePar): ditto.
6311         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6312
6313 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6316         (createUndo): ditto
6317         (textUndoOrRedo): comment out a currently unused var.
6318
6319         * paragraph.h (NO_NEXT): enable NO_NEXT
6320
6321         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6322
6323         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6324
6325         * exporter.C (Export): adjust for removeAutoInsets removal.
6326
6327         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6328
6329         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6330
6331         * BufferView.[Ch] (removeAutoInsets): delete function
6332
6333 2003-05-22  Angus Leeming  <leeming@lyx.org>
6334
6335         * latexrunparams.h: add a free_spacing variable.
6336
6337         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6338         to pass moving_arg, as the data is stored in runparams.fragile.
6339
6340         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6341         to Inset::latexOptional or to simpleTeXOnePar.
6342
6343         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6344         free_spacing arg to Inset::latexOptional.
6345
6346         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6347         free_spacing arg.
6348
6349 2003-05-22  Angus Leeming  <leeming@lyx.org>
6350
6351         * latexrunparams.h: add fragile and use_babel variables.
6352
6353         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6354         * buffer.C (makeLaTeXFile): store this returned value in
6355         runparams.use_babel, thus passing it to the inset::latex methods.
6356
6357         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6358         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6359
6360         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6361         longer has a fragile arg, as it is stored in runparams.fragile.
6362
6363         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6364         moving_arg parameter as the data is stored in runparams.fragile.
6365
6366         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6367         a fragile parameter as the data is stored in runparams.fragile.
6368
6369 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6372
6373 2003-05-22  Angus Leeming  <leeming@lyx.org>
6374
6375         * latexrunparams.h: add a 'bool nice' which defaults to false.
6376
6377         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6378         now encapsulated within runparams.
6379
6380         * bufferlist.C (updateIncludedTeXfiles):
6381         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6382
6383 2003-05-22  Angus Leeming  <leeming@lyx.org>
6384
6385         * latexrunparams.h: new file containing struct LatexRunParams.
6386         * Makefile.am: add new file.
6387
6388         * LaTeX.[Ch] (c-tor, run):
6389         * buffer.[Ch] (makeLaTeXFile):
6390         * bufferlist.[Ch] (updateIncludedTeXfiles):
6391         * converter.C (convert, scanLog):
6392         * converter.[Ch] (runLaTeX):
6393         * exporter.C (Export):
6394         * paragraph.[Ch] (simpleTeXOnePar):
6395         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6396         * paragraph_funcs.[Ch] (latexParagraphs):
6397         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6398         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6399         pass around a LatexRunParams parameter.
6400
6401 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * paragraph.[Ch]: remove unused constructor
6404
6405         * ParagraphList.C (erase): new function, taking two iterators
6406
6407 2003-05-22  André Pönitz  <poenitz@gmx.net>
6408
6409         * undo_funcs.C: remove duplicated code
6410
6411         * iterator.[Ch]: operator=
6412
6413 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * tabular.C (SetMultiColumn): ws changes
6416
6417         * rowpainter.C (paintFirst): get rid of a ->previous
6418
6419         * lyx_cb.C (getPossibleLabel): parlist simplification
6420
6421         * BufferView.C (ChangeInsets): simplify slightly.
6422
6423 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6424
6425         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6426         * lfuns.h: new LFUN_SPACE
6427         * lyxfunc.C: protected space has a new lfun
6428         * paragraph_funcs.C: read new space insets
6429         * text3.C:
6430         * factory.C: handle new space insets
6431
6432 2003-05-22  André Pönitz  <poenitz@gmx.net>
6433
6434         * BufferView.C:
6435         * BufferView_pimpl.C:
6436         * buffer.[Ch]:
6437         * lyxfunc.C:
6438         * undo_funcs.C: return a ParIterator from getParFromID.
6439
6440         * iterators.[Ch]: add two const's
6441
6442 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * toc.C (getTocList): adjust
6445
6446         * iterators.[Ch]: rework for parlist
6447
6448         * buffer.C (par_iterator_begin): adjust
6449         (par_iterator_end): adjust
6450
6451         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6452
6453         * BufferView.C (removeAutoInsets): adjust
6454         (ChangeInsets): adjust
6455
6456 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * text.C (top_y): fix bug 1110
6459
6460 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6461
6462         * errorlist.[Ch]: added
6463         * buffer.C:
6464         * BufferView.[Ch]:
6465         * BufferView_pimpl.C:
6466         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6467         instead
6468
6469 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * Makefile.am: ensure that lyx is relinked upon changes to the
6472         various "convenience" libs.
6473
6474 2003-05-20  Angus Leeming  <leeming@lyx.org>
6475
6476         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6477         files are compiled in alphabetical order again.
6478
6479         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6480
6481 2003-05-19  Angus Leeming  <leeming@lyx.org>
6482
6483         * gettext.[Ch]: remove "char const * _(char const *)".
6484
6485 2003-05-19  André Pönitz  <poenitz@gmx.net>
6486
6487         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6488
6489         * Makefile.am:
6490         * BufferView.C:
6491         * DepTable.h:
6492         * LaTeXFeatures.C:
6493         * buffer.C:
6494         * lyxfont.C:
6495         * lyxlex.h:
6496         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6497
6498 2003-05-19  André Pönitz  <poenitz@gmx.net>
6499
6500         * buffer.C:
6501         * lyxlayout.[Ch]:
6502         * lyxtextclass.[Ch]:
6503         * paragraph.C:
6504         * paragraph_funcs.[Ch]:
6505         * text2.C:
6506         * text3.C: more insetenv work
6507
6508 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6509
6510         * ParagraphParameters.C (params2string): small bug fixed
6511
6512 2003-05-16  André Pönitz  <poenitz@gmx.net>
6513
6514         * debug.C:
6515         * bufferview_funcs.C: patch from Kornel Benko to prevent
6516           crash when _(...) is called twice in a statement
6517
6518 2003-05-16  André Pönitz  <poenitz@gmx.net>
6519
6520         * BufferView.C:
6521         * lyxfunc.C:
6522         * text.C:
6523         * text2.C:
6524         * text3.C:
6525         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6526
6527 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6528
6529         * lyx_main.C (init): remove spurious static_cast
6530
6531 2003-05-14  André Pönitz  <poenitz@gmx.net>
6532
6533         * BufferView.C: fix format string
6534
6535 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * BufferView.[Ch] (insertErrors): removed
6538         * BufferView.[Ch] (showErrorList): added
6539         * buffer.C (runChkTeX):
6540         * converter.C (scanLog): call showErrorList instead of inserterrors
6541
6542 2003-05-13  André Pönitz  <poenitz@gmx.net>
6543
6544         * BufferView_pimpl.C:
6545         * buffer.C:
6546         * bufferview_func.C:
6547         * MenuBackend.C:
6548         * lyxfunc.C:
6549         * lyxrc.C:
6550         * tex-accent.C:
6551         * text3.C:
6552         * toc.C:
6553         * tabular_funcs.h: tostr() from its own header
6554
6555         * ParagraphParameters.C:
6556         * ToolbarBackend.C:
6557         * bufferparams.C:
6558         * format.C:
6559         * lyxlex_pimpl.C:
6560         * text3.C: STRCONV()
6561
6562 2003-05-12  André Pönitz  <poenitz@gmx.net>
6563
6564         * BufferView.C:
6565         * BufferView_pimpl.C:
6566         * CutAndPaste.C:
6567         * LaTeX.C:
6568         * LaTeXFeatures.C:
6569         * ParagraphParameters.C:
6570         * buffer.C:
6571         * bufferlist.C:
6572         * bufferparams.C:
6573         * bufferview_funcs.C:
6574         * converter.C:
6575         * counters.C:
6576         * debug.C:
6577         * exporter.C:
6578         * format.C:
6579         * importer.C:
6580         * lyx_cb.C:
6581         * lyx_main.C:
6582         * lyxfont.C:
6583         * lyxfunc.C:
6584         * lyxvc.C:
6585         * paragraph.C:
6586         * paragraph_funcs.C:
6587         * tabular.C:
6588         * tabular_funcs.C:
6589         * text2.C:
6590         * text3.C:  boost::format -> bformat  all over the place
6591
6592
6593 2003-05-09  André Pönitz  <poenitz@gmx.net>
6594
6595         * LColor.[Ch]: Pimpl the #include <map> away
6596
6597 2003-05-09  John Levon  <levon@movementarian.org>
6598
6599         * bufferlist.C: never remove emergency saves
6600
6601 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * Makefile.am: better lib building
6604
6605 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6608         instead.
6609         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6610         (simpleTeXSpecialChars): adjust
6611         (simpleTeXSpecialChars): adjust
6612         * paragraph.C (simpleTeXOnePar): adjust
6613         * buffer.C (makeLaTeXFile): adjust
6614
6615         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6616
6617         * text2.C (changeDepth): parlist cleanup
6618         (getColumnNearX): ditto
6619
6620         * rowpainter.C (getLabelFont): parlist cleanup
6621
6622         * bufferlist.C (newFile): parlist cleanup
6623
6624         * CutAndPaste.C (eraseSelection): parlist cleanup
6625
6626         * BufferView_pimpl.C (trackChanges): parlist cleanup
6627         (dispatch): ditto
6628
6629         * BufferView.C (lockInset): parlist cleanup.
6630         (ChangeInsets): ditto
6631
6632 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * CutAndPaste.h: Update file header.
6635
6636         * CutAndPaste.C: Update file header.
6637         Store the parts cut out of the Document in a limited_stack.
6638         (copySelection): adjust
6639         (pasteSelection): new function, takes the index in the limited stack.
6640         (nrOfParagraphs): adjust
6641         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6642         simplify error inset insertion.
6643         (checkPastePossible): adjust
6644
6645 2003-05-06  John Levon  <levon@movementarian.org>
6646
6647         * text2.C: don't cast wrap inset to float
6648
6649 2003-05-05  André Pönitz  <poenitz@gmx.net>
6650
6651         * iterator.C:
6652         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6653
6654         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6655           few naked Paragraph *.
6656
6657 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6658
6659         * bufferparams.C: Output warning if a document with missing
6660         TeX document class is loaded
6661         * exporter.C: Disable TeX exports if the document class is missing
6662         * lyxtextclass.C:
6663         * lyxtextclass.h:
6664         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6665         isTeXClassAvailable()
6666
6667 2003-05-03  John Levon  <levon@movementarian.org>
6668
6669         * BufferView.h:
6670         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6671         explicit cursor show/hide
6672
6673         * BufferView_pimpl.h:
6674         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6675         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6676
6677         * lyxfunc.C: hide cursor before dispatching.
6678
6679         * lyx_cb.C:
6680         * lyxfind.C:
6681         * text.C:
6682         * text3.C: remove explicit cursor hides
6683
6684 2003-05-02  André Pönitz  <poenitz@gmx.net>
6685
6686         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6687
6688         * undo_funcs.C:
6689         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6690           linked lists
6691
6692         * text2.C: tiny whitespace
6693
6694 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * undo_funcs.C: almost only ws changes.
6697
6698         * ParagraphList.C (splice): just return if pl is empty.
6699
6700 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * ParagraphList.C (splice): new function.
6703
6704         * CutAndPaste.C (pasteSelection): use it
6705
6706 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * CutAndPaste.C (pasteSelection): remove the last next and
6709         previous from this file.
6710
6711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * CutAndPaste.C (pasteSelection): more clean up, user proper
6714         ParagraphList functions for pasteing.
6715
6716         * ParagraphList.C (insert): new function, three arg insert
6717
6718 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * ParagraphList.C (insert): new function, three arg insert
6721
6722         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6723         not on paragraphs.
6724
6725 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6728
6729 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6732
6733 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6736         (copySelection): clean up a bit.
6737         (pasteSelection): use make_pair
6738
6739         * ParagraphList.C (ParagraphList): implement copy constructor
6740         (operator=): implement, base on copy constructor.
6741         (assign): new func
6742
6743         * paragraph.C (erase): return a bool
6744
6745         * paragraph_pimpl.C (erasePos): remove function, move contents...
6746         (erase): ... here. Return a bool.
6747         (erase): call erase instead of erasePos.
6748
6749 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6750
6751         * ParagraphList.h: define PitPosPair
6752         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6753         ParagraphList, fix a bug on pasting multiple pars
6754         * text2.C: change interface to C&P
6755
6756 2003-04-30  André Pönitz  <poenitz@gmx.net>
6757
6758         * undo_func.C: revert part of yesterday's patch 2
6759
6760 2003-04-30  John Levon  <levon@movementarian.org>
6761
6762         * LColor.C: s/tabular/table/
6763
6764 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * text3.C (dispatch): do not convert iterator -> pointer
6767         * undo_funcs.C (setCursorParUndo): ditto
6768         * text_funcs.C (transposeChars): ditto
6769
6770         * text2.C (setLayout): ws changes only
6771
6772         * text.C (breakParagraph): do not convert iterator -> pointer
6773         (insertChar): ditto
6774         (acceptChange): ditto
6775         (rejectChange): ditto
6776         (changeCase): ditto
6777         (Delete): ditto
6778         (backspace): ditto
6779
6780         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6781         pointer
6782
6783 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6784
6785         * text3.C (gotoInset): YABG (yet another bad getChar)
6786
6787 2003-04-29  André Pönitz  <poenitz@gmx.net>
6788
6789         * paragraph.h: make operator= private unimplemented as long as
6790           it is unusable
6791
6792         * ParagraphList.C: whitespace
6793
6794         * paragraph.[Ch]:
6795         * paragraph_pimpl.[Ch]:
6796         * paragraph_funcs.C:
6797         * CutAndPaste.C:
6798         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6799
6800         * text2.C:
6801           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6802
6803 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6804
6805         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6806         * paragraph.[Ch] (erase):
6807         * paragraph_pimpl.[Ch] (erase): change return type and value
6808         * text2.C (cutSelection): some rework
6809
6810 2003-04-28  John Levon  <levon@movementarian.org>
6811
6812         * bufferlist.C: changes for unsaved changes dialog
6813
6814 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * bufferlist.C (newFile): set language (messages_) for new
6817         documents also.
6818
6819         * buffer.C (readFile): ws changes only.
6820
6821 2003-04-28  André Pönitz  <poenitz@gmx.net>
6822
6823         * undo_funcs.C:
6824         * lyxfunc.C:
6825         * buffer.[Ch]:
6826         * BufferView_pimpl.C:
6827         * BufferView.C: getParFromID related ParagraphList::iterator changes
6828
6829 2003-04-28  André Pönitz  <poenitz@gmx.net>
6830
6831         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6832           Changes
6833
6834 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * messages.C: remove one more localedir class variable.
6837
6838 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * messages.C (getLocaleDir): singleton generation function
6841         (Pimpl): use it.
6842         (Messages): add a default constructor.
6843
6844         * main.C (main): do not setup localedir here, do not call
6845         gettext_init.
6846
6847         * gettext.C (_): use it.
6848         (gettext_init): delete funciton
6849
6850 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * gettext.C (getLyXMessages): new singleton generating function.
6853
6854         * buffer.C (updateDocLang): adjust
6855
6856         * Makefile.am (messages.o): add target
6857         (main.o): remove target
6858
6859 2003-04-27  John Levon  <levon@movementarian.org>
6860
6861         * bufferlist.C:
6862         * lyx_cb.C:
6863         * lyxfunc.C:
6864         * lyxvc.C: specify cancel button in Alert::prompt
6865
6866 2003-04-26  John Levon  <levon@movementarian.org>
6867
6868         * text3.C:
6869         * lyxfunc.C:
6870         * lfuns.h:
6871         * LyXAction.C: add LFUN_INSET_SETTINGS
6872
6873         * lyxfunc.C: don't enable tabular-feature when there's
6874         just any locking inset
6875
6876 2003-04-26  John Levon  <levon@movementarian.org>
6877
6878         * bufferlist.C: re-add Cancel to buffer close question
6879
6880         * lyxfunc.C: fix import UI a bit
6881
6882 2003-04-25  John Levon  <levon@movementarian.org>
6883
6884         * gettext.C: remove the broken asserts for now
6885
6886 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * messages.C: make case where setlocale cannot comply work better.
6889
6890         * buffer.C (updateDocLang): new function
6891         (changeLanguage): use it
6892         (readFile): use it
6893
6894         * text2.C (setCounter): use B_ a bit.
6895
6896         * lyxlayout.C (Read): be sure to trim the label strings.
6897
6898         * messages.C (Messages): fix typo in comment
6899
6900         * buffer.C (readFile): set message_ after file is loaded.
6901         (makeDocBookFile): remove double return
6902         (changeLanguage): reset message_ upon language change.
6903         (B_): new func, use this to get translated buffer strings.
6904
6905         * main.C: add myself and Jean Marc as authors.
6906
6907 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6908
6909         * messages.[hC]: pimplify Messages, and three different pimpls to be
6910         used in different circumstances.
6911
6912         * gettext.[Ch]: change for use with new message code.
6913
6914 2003-04-24 André Pönitz <poenitz@gmx.net>
6915
6916         * factory.C: support for eqref
6917
6918 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * messages.[Ch]: add missing char
6921
6922         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6923
6924         * messages.[Ch]: New files
6925
6926 2003-04-18  John Levon  <levon@movementarian.org>
6927
6928         * BufferView.h:
6929         * BufferView.C:
6930         * BufferView_pimpl.C:
6931         * lfuns.h:
6932         * LyXAction.C:
6933         * lyxtext.h:
6934         * text2.C: remove layout-copy/paste (bug 778)
6935
6936 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6939
6940 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6941
6942         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6943         if they succeed. Act accordingly.
6944
6945 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * text2.C (setCharFont): adjust
6948         (setCounter): adjust
6949         (insertStringAsLines): adjust
6950
6951         * text.C (leftMargin): adjust
6952         (setHeightOfRow): adjust
6953
6954         * rowpainter.C (paintFirst): adjust
6955         (paintLast): adjust
6956
6957         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6958         (outerHook): ditto
6959         (isFirstInSequence): ditto
6960         (getEndLabel): ditto
6961         (outerFont): adjust
6962
6963         * paragraph.C (getParLanguage): comment out some hard stuff.
6964
6965         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6966         (sgmlError): ditto
6967         (simpleDocBookOnePar): ditto
6968         (makeDocBookFile): use ParagraphList::iterator
6969
6970         * CutAndPaste.C (pasteSelection): adjust
6971
6972 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * text2.C (getFont): adjust
6975         (getLayoutFont): adjust
6976         (getLabelFont): adjust
6977
6978         * paragraph_funcs.C (TeXOnePar): adjust
6979
6980         * buffer.C (simpleLinuxDocOnePar): adjust
6981         (simpleDocBookOnePar): adjust
6982
6983         * CutAndPaste.C (pasteSelection): adjust
6984
6985         * BufferView.C (getEncoding): adjust
6986
6987         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6988
6989 2003-04-16  John Levon  <levon@movementarian.org>
6990
6991         * lyxfind.C: use parlist stuff for search/changes
6992
6993 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6996
6997         * text2.C (deleteEmptyParagraphMechanism): adjust
6998
6999         * text2.[Ch] (ownerParagraph): delete func (both of them
7000
7001 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7004
7005 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * ParagraphList.C: prepare for NO_NEXT
7008
7009 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * text2.C (getFont): adjust
7012         (getLayoutFont): adjust
7013         (getLabelFont): adjust
7014
7015         * paragraph.C (getFont): adjust
7016         (getLabelFont): adjust
7017         (getLayoutFont): adjust
7018
7019         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7020
7021 2003-04-15  John Levon  <levon@movementarian.org>
7022
7023         From Angus Leeming
7024
7025         * lyx_main.C: handle Include in .ui files
7026
7027 2003-04-15  John Levon  <levon@movementarian.org>
7028
7029         * MenuBackend.C: make the doc files length shorter
7030
7031         * ToolbarBackend.h:
7032         * ToolbarBackend.C: handle toolbar placement flags,
7033         Minibuffer
7034
7035 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7038         adjust
7039
7040         * paragraph_funcs.C (TeXOnePar): adjust
7041
7042         * paragraph.C (getLabelFont): add outerfont arg, adjust
7043         (getLayoutFont): ditto
7044         (simpleTeXOnePar): adjust
7045
7046         * paragraph_pimpl.C (realizeFont): delete func
7047
7048 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7051         row argument, constify cur argument.
7052
7053 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * text2.C (getFont): adjust
7056         (getLayoutFont): adjust
7057         (getLabelFont): adjust
7058
7059         * paragraph_funcs.C (TeXOnePar): adjust
7060         (outerFont): new func...
7061         (realizeFont): ...moved out from here, changed this to facilitate
7062         transition
7063
7064         * paragraph.C (getFont): take outerfont as arg, adjust
7065         (simpleTeXOnePar): add outerfont arg, adjust
7066
7067         * buffer.C (simpleLinuxDocOnePar): adjust
7068         (simpleDocBookOnePar): adjust
7069
7070         * CutAndPaste.C (pasteSelection): adjust
7071
7072         * BufferView.C (getEncoding): adjust
7073
7074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * text2.C (setCharFont): adjust
7077         (setCounter): adjust
7078
7079         * text.C (leftMargin): adjust
7080         (setHeightOfRow): adjust
7081
7082         * rowpainter.C (paintFirst): adjust
7083         (paintLast): adjust
7084
7085         * paragraph_pimpl.C (realizeFont): adjust
7086
7087         * paragraph.C (isFirstInSequence): move from here...
7088         * paragraph_funcs.C (isFirstInSequence): ...to here
7089
7090         * paragraph.C (outerHook): move from here...
7091         * paragraph_funcs.C (outerHook): ...to here
7092
7093         * paragraph.C (depthHook): move from here...
7094         * paragraph_funcs.C (depthHook): ...to here
7095
7096         * paragraph.C (getEndLabel): move from here...
7097         * paragraph_funcs.C (getEndLabel): ...to here
7098
7099         * text2.C (realizeFont): move from here...
7100         * paragraph_funcs.C (realizeFont): ...to here
7101
7102 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7105
7106 2003-04-14  Angus Leeming  <leeming@lyx.org>
7107
7108         * LColor.[Ch]: scrap LColor mathcursor.
7109
7110 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * lyxlex.[Ch] (text): delete function
7113         * trans.C (Load): adjust
7114         * paragraph_funcs.C (readParToken): adjust
7115
7116 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7119         vector<char> instead of a char[].
7120
7121         * lyxlex_pimpl.C (getString): adjust
7122         (next): adjust
7123         (lex): use getString
7124         (eatLine): adjust
7125         (nextToken): adjust
7126
7127         * lyxlex.C (text): use pimpl_->getString()
7128         (getBool): ditto
7129         (findToken): ditto
7130
7131 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7134         (makeFontEntriesLayoutSpecific): temp var for par.size()
7135         (setLayout): temp var for ownerParagraphs().end()
7136         (fullRebreak): temp var for rows().end()
7137         (selectionAsString): temp var for boost::next(startpit), realize
7138         that the while really is a regular for loop.
7139         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7140         setCursor in one place.
7141         (setParagraph): temp vr for ownerParagraphs().end()
7142         (updateCounters): make the while loop a for loop
7143         (cutSelection): temp var for ownerParagraphs().end()
7144         (updateInset): make the do {} while() a regular for loop
7145         (getCursorX): use temp vars
7146         (setCurrentFont): use temp vars
7147         (getColumnNearX): use temp vars
7148
7149 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * text.C (transformChar): use temp var for getChar
7152         (computeBidiTables): use temp var for row->par()
7153         (fill): move temp vars for row->par() and pit->layout() earlier in
7154         the function.
7155         (labelFill): use temp var for row->par()
7156         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7157         asc and desc, realize that pit never changes and that firstpit is
7158         just a duplicate and not needed. Exchange rit->par() with pit in a
7159         lot of places.
7160         (breakAgain): use a temp var for boost::next(rit)
7161         (breakAgainOneRow): ditto
7162         (breakParagraph): use a temp var for rows().begin()
7163         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7164         (cursorRightOneWord): use temp var for cursor.par() and
7165         cursor.pos(), remove usage of tmpcursor.
7166         (cursorLeftOneWord): use temp var for cursor.par() and
7167         cursor.pos() only set cur at end of function.
7168
7169 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * text.C, text2.C: exchange all usage of Paragraph::next with
7172         boost::next(ParagraphList::iterator)
7173
7174         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7175
7176         * text2.C (cursorTop): simplify implementation
7177         (cursorBottom): ditto
7178         (setParagraph): use ParagraphList::iterator
7179         (setCurrentFont): adjust
7180         (getColumnNearX): adjust
7181         (cursorRight): adjust
7182         (cursorLeft): remove usage of Paragraph::previous
7183         (cursorUpParagraph): ditto
7184         (deleteEmptyParagraphMechanism): slight cleanup
7185
7186         * text.C (isBoundary): take a Paragraph const & instead of a
7187         pointer as arg.
7188         (addressBreakPoint): ditto
7189         (leftMargin): remove usage of Paragraph::previous.
7190         (setHeightOfRow): ditto
7191         (cursorLeftOneWord): ditto
7192         (selectNextWordToSpellcheck): ditto
7193         (Delete): ditto
7194         (backspace): ditto
7195         (breakParagraph): remove one usage of Paragraph::next
7196         (redoParagraph): ditto
7197         (acceptChange): ditto
7198         (insertChar): adjust
7199         (rowBreakPoint): adjust
7200
7201         * bufferview_funcs.C (toggleAndShow): adjust
7202
7203 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7206         methods to access it.
7207         * lyxtext.h:
7208         * text.C: Added updateRowPositions to compute all row positions.
7209         Make top_y and getRowNearY() to use the cached y position
7210
7211 2003-04-11  John Levon  <levon@movementarian.org>
7212
7213         * text.C (rowBreakPoint): reintroduce the labelEnd
7214         checks, code copied from the row fill stuff. Deep voodoo.
7215
7216         * text.C (fill): add a comment and debugging for the
7217         next poor soul.
7218
7219 2003-04-11  John Levon  <levon@movementarian.org>
7220
7221         * text.C: make sure fullrow insets get wrapped to the next line,
7222         even when they're in a manual label
7223
7224 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * text2.C (insertParagraph): make it take ParagraphList::iterator
7227         as arg.
7228         (setLayout): make it return ParagraphList::iterator
7229         (redoParagraphs): ditto
7230         (setCounter): ditto
7231         (checkParagraph): ditto
7232
7233         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7234
7235         * text2.C: adjust several funcs.
7236         (realizeFont): take a ParagraphList::iterator as arg.
7237         (getLayoutFont): ditto
7238         (getLabelFont): ditto
7239         (setCharFont): ditto
7240
7241         * text.C: adjust several funcs.
7242
7243 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * text.C (selectNextWordToSpellcheck): don't accidentally
7246         skip insets
7247
7248 2003-04-10  John Levon  <levon@movementarian.org>
7249
7250         * ToolbarBackend.C (getIcon): special handling for
7251         LFUN_MATH_DELIM
7252
7253 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7254
7255         * text2.C (cursorRight): a getChar assert fixed
7256
7257 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * text2.C (getFont): change to take a ParagraphList::iterator
7260         instead of Paragraph*
7261         Adjust several functions.
7262
7263         * text.C (transformChar): change to take a ParagraphList::iterator
7264         instead of Paragraph*
7265         (singleWidth): ditto
7266         Adjust several functions.
7267
7268         * rowpainter.C: adjust several functions
7269         * rowpainter.h:store a ParagraphList::iterator and not a
7270         Paragraph&.
7271
7272
7273 2003-04-09  John Levon  <levon@movementarian.org>
7274
7275         * lyxfunc.C:
7276         * lfuns.h:
7277         * LyXAction.h:
7278         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7279         and the "help" bits as well
7280
7281 2003-04-09  John Levon  <levon@movementarian.org>
7282
7283         * ToolbarBackend.h:
7284         * ToolbarBackend.C: allow multiple toolbars
7285
7286 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * undo_funcs.C (setCursorParUndo): adjust
7289
7290         * text_funcs.C (transposeChars): adjust
7291
7292         * text3.C (gotoNextInset): adjust
7293         (dispatch): adjust
7294
7295         * text2.C (setLayout): adjust
7296         (changeDepth): adjust
7297         (setFont): adjust
7298         (redoParagraphs): adjust
7299         (selectionAsString): adjust
7300         (setParagraph): adjust
7301         (insertInset): adjust
7302         (cutSelection): adjust
7303         (copySelection): adjust
7304         (pasteSelection): adjust
7305         (insertStringAsLines): adjust
7306         (updateInset): adjust
7307         (setCursor): change to take a ParagraphList::iterator parameter
7308         (setCursorIntern): change to take a ParagraphList::iterator parameter
7309         (setCurrentFont): adjust
7310         (cursorLeft): adjust
7311         (cursorRight): adjust
7312         (deleteEmptyParagraphMechanism): adjust
7313
7314         * text.C (breakParagraph): adjust
7315         (insertChar): adjust
7316         (acceptChange): adjust
7317         (rejectChange): adjust
7318         (selectNextWordToSpellcheck): adjust
7319         (changeCase): adjust
7320         (Delete): adjust
7321         (backspace): adjust
7322
7323         * lyxfind.C (SearchForward): adjust
7324         (SearchBackward): adjust
7325         (nextChange): adjust
7326
7327         * lyxcursor.C (par): adjust
7328
7329         * lyxcursor.h: store a ParagraphList::iterator instead of a
7330         Paragraph*
7331
7332         * lyx_cb.C (getPossibleLabel): adjust
7333
7334         * bufferview_funcs.C (toggleAndShow): adjust
7335
7336         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7337         (dispatch): adjust
7338
7339         * BufferView.C (removeAutoInsets): adjust
7340         (lockedInsetStoreUndo): adjust
7341
7342 2003-04-09  John Levon  <levon@movementarian.org>
7343
7344         * ToolbarBackend.C: try icon without argument
7345         if with argument fails
7346
7347 2003-04-08  John Levon  <levon@movementarian.org>
7348
7349         * ToolbarBackend.h:
7350         * ToolbarBackend.C: add getIcon(), handle tooltip,
7351         and change from "Icon" to "Item".
7352
7353 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * BufferView.C (lockInset): another bad getchar crunched
7356
7357 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7360         again)
7361
7362 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * lyxfind.C (searchForward, searchBackwards): bug 782
7365
7366 2003-04-07  John Levon  <levon@movementarian.org>
7367
7368         * paragraph.C: remove dead comment
7369
7370         * text.C: remove troublesome depth-fiddling code
7371         in leftMargin() and rightMargin() (bug 1017)
7372
7373         * text.C: fix breaking of rows in nested lists
7374         (bug 1004)
7375
7376         * text2.C (updateCounters): fix up depth values
7377         (bug 1013)
7378
7379 2003-04-07  John Levon  <levon@movementarian.org>
7380
7381         * BufferView_pimpl.C: clear message when doc finishes resizing,
7382         and after a mouse event
7383
7384         * lyxfunc.C: clear message after exiting inset
7385
7386 2003-04-07  John Levon  <levon@movementarian.org>
7387
7388         * bufferview_funcs.C: show math status not outside
7389         status in the statusbar
7390
7391 2003-04-07  John Levon  <levon@movementarian.org>
7392
7393         * lyxfunc.C: note status changed after a depth change
7394
7395 2003-04-04  Angus Leeming  <leeming@lyx.org>
7396
7397         * LaTeX.h: move AuxInfo operator==, != out of line.
7398         Remove LaTeX virtual destructor; nothing derives from it.
7399         Move operator()() out of public area and rename it startscript().
7400         Change protected for private.
7401
7402 2003-04-04  Angus Leeming  <leeming@lyx.org>
7403
7404         * lyxfunc.C:
7405         * text2.C: remove unneeded #includes.
7406
7407 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * text2.C (dEPM): fix the heigth of the next row
7410
7411 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7412
7413         * text.C: squashed an invalid getChar requester + some ws changes
7414
7415 2003-04-03  John Levon  <levon@movementarian.org>
7416
7417         * bufferview_funcs.h:
7418         * bufferview_funcs.C:
7419         * lyxfunc.C:
7420         * lyxtext.h:
7421         * text2.C: make getStatus work for the env depth lfuns
7422
7423 2003-04-03  John Levon  <levon@movementarian.org>
7424
7425         * bufferview_funcs.h:
7426         * bufferview_funcs.C:
7427         * lyxfunc.C:
7428         * lyxtext.h:
7429         * text2.C: parlistize decDepth(), by merging it with incDepth()
7430
7431 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * lyxrow.h: store a ParagraphList::iterator instead of a
7434         Paragraph* and adjust other class functions to suit.
7435
7436         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7437         above.
7438
7439 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7440
7441         * text2.C (setCursor): do not anchor to cursor row for the time being
7442
7443 2003-04-02  John Levon  <levon@movementarian.org>
7444
7445         * LyXAction.C:
7446         * lfuns.h:
7447         * lyx_main.C:
7448         * lyxtext.h:
7449         * text.C:
7450         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7451
7452 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * paragraph.h: make ParagraphList and ParagraphList::iterator
7455         friends of Paragraph.
7456
7457         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7458
7459         * ParagraphList.C: Use the private next_ and previous_ from
7460         Paragraph.
7461
7462 2003-04-01  John Levon  <levon@movementarian.org>
7463
7464         * ToolbarBackend.h:
7465         * ToolbarBackend.C:
7466         * Makefile.am: rename, remove defaults gunk
7467
7468         * MenuBackend.h:
7469         * MenuBackend.C: remove defaults gunk
7470
7471         * Languages.h:
7472         * Languages.C: remove defaults gunk
7473
7474         * lyx_main.h:
7475         * lyx_main.C: error out if files couldn't be found.
7476
7477 2003-04-02  John Levon  <levon@movementarian.org>
7478
7479         * text2.C: make incDepth() use parlist
7480
7481 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * undo_funcs.C (firstUndoParagraph): adjust
7484
7485         * text3.C (gotoInset): adjust
7486         (dispatch): adjust, and rewrite loop.
7487
7488         * text2.C (init): adjust, and rewrite loop.
7489         (redoParagraphs): adjust
7490         (updateInset): adjust, and rewrite loop.
7491         (deleteEmptyParagraphMechanism): adjust
7492
7493         * tabular.C (LyXTabular): adjust
7494         (SetMultiColumn): adjust
7495         (TeXRow): adjust
7496
7497         * lyxtext.[Ch] (ownerParagraph): delete function
7498         (ownerParagraphs): new function returns a ParagraphList.
7499
7500         * BufferView.C (removeAutoInsets): adjust
7501         (insertErrors): adjust
7502         (setCursorFromRow): adjust
7503
7504 2003-04-01  Angus Leeming  <leeming@lyx.org>
7505
7506         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7507         in the frontends.
7508
7509 2003-04-02  John Levon  <levon@movementarian.org>
7510
7511         * lyxtext.h:
7512         * text.C:
7513         * Makefile.am:
7514         * text_funcs.h:
7515         * text_funcs.C: make transposeChars a free function
7516
7517         * lyxrow_funcs.C: remove wrong comment
7518
7519 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * lyxtext.h: adjust
7522         * rowpainter.C: adjust
7523         * text.C: adjust
7524         * text2.C: adjust
7525         * text3.C: adjust
7526
7527         * lyxrow_funcs. [Ch]: new files
7528
7529         * lyxrow.[Ch]: remove next and previous pointers
7530         (next,previous): remove accessor functions
7531         (isParEnd): move to lyxrow_funcs
7532         (lastPos): move to lyxrow_funcs
7533         (nextRowIsAllInset): move to lyxrow_funcs
7534         (lastPrintablePos): move to lyxrow_funcs
7535         (numberOfSeparators): move to lyxrow_funcs
7536         (numberOfHfills): move to lyxrow_funcs
7537         (numberOfLabelHfills): move to lyxrow_funcs
7538         (hfillExpansion): move to lyxrow_funcs
7539
7540         * lyxfunc.C: adjust
7541
7542         * bufferview_funcs.C (toggleAndShow): adjust
7543
7544         * RowList.h: Remove class RowList from file leave just a
7545         std::list<Row>.
7546
7547         * RowList.C: delete file
7548
7549         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7550         and lyxrow_funcs.h
7551
7552 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7553
7554         * text3.C (cursorPrevious): adjust
7555         (cursorNext): adjust
7556         (dispatch): adjust
7557
7558         * text2.C (redoHeightOfParagraph): adjust
7559         (redoDrawingOfParagraph): adjust
7560         (setCursor): adjust
7561
7562         * text.C (breakParagraph): adjust
7563         (insertChar): adjust
7564         (backspace): adjust
7565
7566         * rowpainter.C (RowPainter): adjust
7567         (leftMargin): simplify and adjust
7568         (most rowpainter functions): adjust.
7569
7570         * rowpainter.h: store the row as RowList::iterator not as Row*
7571
7572         * lyxcursor.C (row): taka RowList::iterator as arg
7573         (irow): ditto
7574
7575         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7576         of Row*.
7577
7578 2003-04-01  Angus Leeming  <leeming@lyx.org>
7579
7580         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7581         stuff like bool Bool.
7582
7583 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7584
7585         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7586         rewrite a loop
7587
7588 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7591         RowList::iterator.
7592
7593         * lyxtext.h (rows): drop one version and leve a const variant that
7594         returns a RowList::iterator.
7595
7596 2003-03-31  Angus Leeming  <leeming@lyx.org>
7597
7598         * text.C (fill): ensure that the signature is the same as that in the
7599         header file.
7600
7601 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7602
7603         * text2.C (redoParagraphs): adjust
7604         (updateCounters): adjust
7605         (checkParagraph): adjust
7606         (getColumnNearX): adjust and reformat a bit.
7607
7608         * text.C (top_y): adjust
7609         (workWidth): adjust
7610         (leftMargin): adjust
7611         (prepareToPrint): adjust
7612         (getRow): adjust
7613         (getRowNearY): adjust
7614
7615         * lyxtext.h: make rowlist_ mutable.
7616
7617         * RowList.h: add const_iterator
7618         * RowList.C: adjust for RowList::const_iterator.
7619
7620         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7621         adjust.
7622
7623 2003-03-31  John Levon  <levon@movementarian.org>
7624
7625         * lyxrc.h:
7626         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7627
7628         * lyx_main.C: set default fonts from using lyx_gui funcs
7629
7630         * exporter.C: pdf_mode moved from lyxrc
7631
7632         * lyx_cb.C:
7633         * lyxfunc.C: changes from above
7634
7635 2003-03-31  John Levon  <levon@movementarian.org>
7636
7637         * lyx_main.C: fix to the last fix
7638
7639 2003-03-31  John Levon  <levon@movementarian.org>
7640
7641         * bufferlist.C: "Load original" -> "Load Original"
7642
7643         * converter.C:
7644         * exporter.C:
7645         * importer.C:
7646         * lyx_main.C:
7647         * format.C: more Alert cleanups
7648
7649 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * text2.C (removeParagraph): make it take a RowList::iterator as
7652         arg, adjust.
7653         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7654         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7655
7656         * text.C (anchor_row): make it take a RowList::iterator as arg,
7657         adjust.
7658         (computeBidiTables): make it take a const reference to Row instead
7659         of Row pointer, adjust.
7660         (leftMargin): make it take a RowList::iterator as arg, adjust.
7661         (rowBreakPoint): adjust
7662         (breakAgainOneRow): make it take a RowList::iterator as arg,
7663         adjust.
7664         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7665
7666         * bufferview_funcs.C (toggleAndShow): adjust
7667
7668 2003-03-30  John Levon  <levon@movementarian.org>
7669
7670         * Makefile.am:
7671         * BoostFormat.h:
7672         * boost-inst.C: moved to support
7673
7674         * several files: changes as a result
7675
7676 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * text2.C (LyXText): adjust.
7679         (init): adjust
7680         (removeRow): make it take a RowList::iterator as arg, adjust.
7681         (fullRebreak): adjust
7682         (deleteEmptyParagraphMechanism): adjust
7683         (clearPaint): adjust
7684         (postPaint): adjust
7685
7686         * text.C (top_y): adjust
7687         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7688         (breakAgain): make it take a RowList::iterator as arg, adjust.
7689         (breakParagraph): adjust
7690         (insertChar): adjust
7691         (backspace): adjust
7692
7693         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7694         need_break_row, and refresh_row.
7695
7696         * text3.C (dispatch): adjust
7697
7698         * text2.C (checkParagraph): adjust
7699         (setCursor): adjust
7700         (setCursorFromCoordinates): adjust
7701
7702         * text.C (top_y): adjust
7703         (workWidth): adjust
7704         (getRow): make it return a RowList::iterator, adjust
7705         (getRowNearY): make it return a RowList::iterator, adjust
7706
7707         * text2.C (init): adjust
7708         (insertRow): remove function
7709         (insertParagraph): adjust
7710         (redoParagraphs): adjust
7711         (fullRebreak): adjust
7712         (updateCounters): adjust
7713
7714         * text.C (top_y): rewrite to use RowList iterators.
7715         (top_y): adjust
7716         (setHeightOfRow): rewrite to sue RowList iterators.
7717         (appendParagraph): adjust
7718         (breakAgain): adjust
7719         (breakAgainOneRow): adjust
7720         (breakParagraph): adjust
7721         (getRow): adjust
7722         (getRowNearY): adjust, and remove commented code.
7723
7724         * lyxtext.h (firstRow): delete function
7725         (lastRow): delete function
7726         (rows): new function (const and non-const versions.)
7727         (insertRow): delete function
7728
7729         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7730
7731 2003-03-29  John Levon  <levon@movementarian.org>
7732
7733         * BufferView_pimpl.C: always update scrollbar top
7734         because pasting text when we're anchored could mean we
7735         miss an update altogether
7736
7737 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * text2.C (init): use rowlist_.end() and not 0.
7740         (insertRow): change to take a RowList::iterator as arg, adjust
7741         for this.
7742         (insertParagraph): change to take a RowList::iterator as arg,
7743         adjust for this.
7744         (redoParagraphs): remove some debug msgs.
7745
7746         * text.C (appendParagraph): change to take a RowList::iterator
7747         arg, adjust for this.
7748         (breakAgain): add an assert
7749         (breakAgainOneRow): ditto
7750
7751 2003-03-29  John Levon  <levon@movementarian.org>
7752
7753         * text2.C: do not clear selection after inc/decDepth
7754         (bug 550)
7755
7756 2003-03-29  John Levon  <levon@movementarian.org>
7757
7758         * BufferView.C:
7759         * buffer.C: fix broken strerrors according to Lars
7760
7761 2003-03-29  John Levon  <levon@movementarian.org>
7762
7763         * converters.C: more Alert cleanups
7764
7765 2003-03-29  John Levon  <levon@movementarian.org>
7766
7767         * bufferview_funcs.C: remove pointless Alert
7768
7769         * buffer.C: fix confusing error message when
7770         a template is chmoded 000
7771
7772 2003-03-29  John Levon  <levon@movementarian.org>
7773
7774         * BufferView.C:
7775         * BufferView.h:
7776         * BufferView_pimpl.C: Alert fixes
7777
7778         * Makefile.am:
7779         * tabular.C:
7780         * tabular-old.C: remove unused table compat reading
7781
7782 2003-03-29  John Levon  <levon@movementarian.org>
7783
7784         * BufferView.C:
7785         * buffer.C:
7786         * lyx_cb.h:
7787         * lyx_cb.C: more Alert cleanups
7788
7789         * lyxfunc.C: don't allow chktex if not latex document
7790
7791 2003-03-29  John Levon  <levon@movementarian.org>
7792
7793         * lyx_cb.C:
7794         * BufferView.C:
7795         * buffer.C: warnings pushed down from support/,
7796         kill err_alert
7797
7798 2003-03-29  John Levon  <levon@movementarian.org>
7799
7800         * lyxfunc.C: safety check for C-r (revert)
7801
7802 2003-03-29  John Levon  <levon@movementarian.org>
7803
7804         * bufferlist.h:
7805         * bufferlist.C: several UI fixes using Alert::prompt.
7806         Fix the pointless looping quit code. Fix stupid revert
7807         behaviour (bug 938)
7808
7809         * lyxvc.h:
7810         * lyxvc.C:
7811         * lyx_cb.C: use Alert::prompt
7812
7813         * lyx_main.C: remove a silly question
7814
7815         * lyxfunc.C: remove a couple of silly questions,
7816         use Alert::prompt
7817
7818 2003-03-28  John Levon  <levon@movementarian.org>
7819
7820         * text2.C: fix bug 974 (End on empty par)
7821
7822 2003-03-28  John Levon  <levon@movementarian.org>
7823
7824         * BufferView_pimpl.C:
7825         * LyXAction.C:
7826         * lfuns.h: remove do-nothing math greek lfuns
7827
7828 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * lyxgluelength.h (isValidGlueLength): add default arg on
7831         parameter 2. Remove default arg from friend in class.
7832
7833         * lyxlength.h (isValidLength): add default arg on parameter 2.
7834         Remove default arg from friend in class.
7835
7836         * text2.C (LyXText): adjust, initialize refresh_row.
7837         (init): adjust
7838         (removeRow): adjust
7839         (insertRow): adjust
7840         (insertParagraph): adjst
7841         (redoParagraphs): adjust
7842         (fullRebreak): adjust
7843         (updateCounters): adjust
7844         (deleteEmptyParagraphMechanism): first attempt at fixing a
7845         crashing bug.
7846
7847         * text.C (top_y): adjust
7848         (setHeightOfRow): adjust
7849         (getRow): adjust
7850         (getRowNearY): adjust
7851
7852         * lyxtext.h: include RowList.h
7853         (~LyXText): not needed anymore, deleted.
7854         (firstRow): modify for RowList
7855         (lastRow): new function
7856         Delete firstrow and lastrow class variables, add a Rowlist
7857         rowlist_ class variable.
7858
7859         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7860         paragraph is empty.
7861
7862         * RowList.C (insert): fix case where it == begin().
7863
7864 2003-03-26  Angus Leeming  <leeming@lyx.org>
7865
7866         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7867         the thesaurus dialog.
7868
7869 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7872
7873         * RowList.[Ch]: new files
7874
7875         * ParagraphList.C (erase): handle the case where it == begin
7876         correctly.
7877
7878 2003-03-25  John Levon  <levon@movementarian.org>
7879
7880         * Makefile.am:
7881         * aspell_local.h:
7882         * aspell.C: add new aspell support
7883
7884         * lyxrc.h:
7885         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7886         have it accessible.
7887
7888 2003-03-25  Angus Leeming  <leeming@lyx.org>
7889
7890         * lfuns.h:
7891         * LyXAction.C (init): new LFUN_INSET_INSERT.
7892
7893         * BufferView_pimpl.C (dispatch): split out part of the
7894         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7895
7896         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7897         LFUN_INSET_APPLY.
7898
7899 2003-03-25  Angus Leeming  <leeming@lyx.org>
7900
7901         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7902
7903 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * text2.C:
7906         * text3.C: remove useless row->height(0)
7907
7908 2003-03-25  John Levon  <levon@movementarian.org>
7909
7910         * lyxtext.h:
7911         * text2.C:
7912         * text3.C: rename the refreshing stuff to better names
7913
7914 2003-03-24  John Levon  <levon@movementarian.org>
7915
7916         * BufferView_pimpl.h:
7917         * BufferView_pimpl.C: update layout choice on a mouse
7918         press/release
7919
7920 2003-03-23  John Levon  <levon@movementarian.org>
7921
7922         * Makefile.am: fix commandtags.h reference
7923
7924 2003-03-22  John Levon  <levon@movementarian.org>
7925
7926         * BufferView_pimpl.C:
7927         * lyxtext.h:
7928         * rowpainter.C:
7929         * rowpainter.h:
7930         * text.C:
7931         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7932
7933 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7934
7935         * lyxtext.h:
7936         * text.C: take the rtl methods out of line
7937
7938 2003-03-21 André Pönitz <poenitz@gmx.net>
7939
7940         * metricsinfo.[Ch]: new files containing structures to be passed around
7941         during the two-phase-drawing...
7942
7943 2003-03-21 André Pönitz <poenitz@gmx.net>
7944
7945         * lyxtextclass.C: read 'environment' tag.
7946
7947 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7948
7949         * text2.C (removeRow): fix bug 964
7950
7951 2003-03-20  John Levon  <levon@movementarian.org>
7952
7953         * rowpainter.C:
7954         * text.C:
7955         * text2.C: paint cleanups. Inset::update() dropped font
7956         parameter
7957
7958 2003-03-19  John Levon  <levon@movementarian.org>
7959
7960         * lyxfunc.C: only fitcursor/markDirty if available()
7961
7962 2003-03-19  John Levon  <levon@movementarian.org>
7963
7964         * commandtags.h: rename to ...
7965
7966         * lfuns.h: ... this, and renumber / cleanup
7967
7968 2003-03-19  John Levon  <levon@movementarian.org>
7969
7970         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7971         fit the cursor after an lfun
7972
7973         * BufferView.h:
7974         * BufferView.C:
7975         * BufferView_pimpl.h:
7976         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7977
7978         * LyXAction.C: layout-character should have ReadOnly
7979
7980         * ParagraphParameters.C:
7981         * buffer.C:
7982         * bufferview_funcs.C:
7983         * lyx_cb.C:
7984         * lyxfind.C:
7985         * lyxtext.h:
7986         * text.C:
7987         * text2.C:
7988         * text3.C:
7989         * undo_funcs.C: changes from above
7990
7991 2003-03-18  John Levon  <levon@movementarian.org>
7992
7993         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7994         remove it from update()
7995
7996         * lyxfunc.C: update layout choice after an lfun
7997
7998         * text3.C: remove extra updateLayoutChoice()s
7999
8000 2003-03-18  John Levon  <levon@movementarian.org>
8001
8002         * text.C: top_y change means full repaint, fix
8003         a drawing bug with cursor movement
8004
8005 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8006
8007         * lyxtext.h:
8008         * text.C:
8009         * text2.C: anchor row on setCursor
8010
8011 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8012
8013         * lyxtext.h: remove almost all mutable keywords
8014         * text.C:
8015         * text2.C:
8016         * text3.C: remove const keywords accordingly
8017
8018 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8021         anon namespace
8022         (TeXEnvironment): ditto
8023         (TeXOnePar): ditto
8024
8025 2003-03-17  John Levon  <levon@movementarian.org>
8026
8027         * text.C (rowBreakPoint): remove attempt to fix displayed
8028         math insets inside a manual label
8029
8030 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * lyxtext.h: remove BufferView* as first arg from almost all class
8033         functions.
8034         * other files: adjust.
8035
8036 2003-03-17  John Levon  <levon@movementarian.org>
8037
8038         * lyxtext.h:
8039         * undo_funcs.C:
8040         * text2.C: more paint cleanups
8041
8042         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8043
8044         * rowpainter.h:
8045         * rowpainter.C: remove "smart" background painting code
8046
8047 2003-03-16  John Levon  <levon@movementarian.org>
8048
8049         * lyxtext.h:
8050         * text.C:
8051         * text2.C:
8052         * text3.C: add helper functions for setting refresh_row/y
8053
8054 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8055
8056         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8057         newline inset which *can* get inserted in the pass_thru layouts.
8058         This is primarily for literate documents.
8059
8060 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8061
8062         * buffer.C: increment LYX_FORMAT to 223
8063
8064 2003-03-14 André Pönitz <poenitz@gmx.net>
8065
8066         * textclass.h: prepare for environment handling, ws changes
8067         * lyxlayout.C: read latexheader and latexfooter tags
8068
8069 2003-03-14  John Levon  <levon@movementarian.org>
8070
8071         * text2.C: rewrite ::status() a bit
8072
8073 2003-03-13  John Levon  <levon@movementarian.org>
8074
8075         * lyxtext.h: add some docs
8076
8077 2003-03-13  John Levon  <levon@movementarian.org>
8078
8079         * lyxtext.h:
8080         * text.C:
8081         * text2.C:
8082         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8083
8084 2003-03-13  John Levon  <levon@movementarian.org>
8085
8086         * text3.C: fix appendix redrawing
8087
8088 2003-03-13  John Levon  <levon@movementarian.org>
8089
8090         * text.C (setHeightOfRow):
8091         * rowpainter.h:
8092         * rowpainter.C: make appendix mark have the text
8093           "Appendix" so the user knows what it is
8094
8095         * LColor.h:
8096         * LColor.C: s/appendixline/appendix/ from above
8097
8098 2003-03-13  John Levon  <levon@movementarian.org>
8099
8100         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8101
8102         * text.C: fix a getChar(pos) bug properly
8103
8104 2003-03-13  Angus Leeming  <leeming@lyx.org>
8105
8106         * commandtags.h:
8107         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8108         Probably only temporary. Let's see how things pan out.
8109
8110         * BufferView.C (unlockInset):
8111         * BufferView_pimpl.C (fitCursor):
8112         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8113
8114         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8115         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8116
8117         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8118         new functions that convert ParagraphParameters to and from a string.
8119
8120         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8121         BufferView::Pimpl's dispatch.
8122         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8123
8124 2003-03-13 André Pönitz <poenitz@gmx.net>
8125
8126         * lyxfunc.C:
8127         * text3.C:
8128         * factory.C: make it aware of InsetEnv
8129
8130 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * text2.C (setCursor): never ask for one past last
8133         (setCursor): add some debugging messages.
8134
8135         * text.C (singleWidth): never ask for one past last
8136         (singleWidth): ditto
8137         (leftMargin): ditto
8138         (rightMargin): ditto
8139         (rowBreakPoint): ditto
8140         (setHeightOfRow): ditto
8141         (prepareToPrint): ditto
8142
8143         * rowpainter.C (paintBackground): never ask for one past last
8144         (paintText): never ask for one past last
8145
8146         * paragraph_pimpl.C (getChar): make the assert stricter, never
8147         allow the one past last pos to be taken
8148
8149         * paragraph.C (getChar): ws changes only
8150
8151         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8152         (numberOfSeparators): ditto
8153         (numberOfHfills): ditto
8154
8155 2003-03-12  John Levon  <levon@movementarian.org>
8156
8157         * author.h:
8158         * author.C:
8159         * bufferparams.h:
8160         * bufferparams.C:
8161         * paragraph_funcs.C: fix per-buffer authorlists
8162
8163 2003-03-12  John Levon  <levon@movementarian.org>
8164
8165         * text.C: fix newline in right address
8166
8167 2003-03-12  Angus Leeming  <leeming@lyx.org>
8168
8169         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8170         duplicate those in LyXFunc::dispatch.
8171
8172         * commandtags.h:
8173         * LyXAction.C:
8174         * ToolbarDefaults.C:
8175         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8176         Add LFUN_FONTFREE_UPDATE.
8177
8178         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8179         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8180
8181         * bufferview_func.[Ch]: several new functions to facilliate
8182         transfer of data to and from the character dialog.
8183
8184 2003-03-12  John Levon  <levon@movementarian.org>
8185
8186         * buffer.C:
8187         * paragraph.h:
8188         * paragraph.C:
8189         * paragraph_funcs.C:
8190         * paragraph_pimpl.C:
8191         * sgml.C:
8192         * tabular.C:
8193         * text.C:
8194         * text3.C: remove META_NEWLINE in favour of an inset
8195
8196         * rowpainter.h:
8197         * rowpainter.C: remove paintNewline (done by inset)
8198
8199 2003-03-12  John Levon  <levon@movementarian.org>
8200
8201         * paragraph_pimpl.C: complain about bad getChar()s
8202         for a while at least
8203
8204 2003-03-12  John Levon  <levon@movementarian.org>
8205
8206         * buffer.h:
8207         * buffer.C: move paragraph read into a separate function,
8208         a little renaming to reflect that.
8209
8210         * bufferparams.h:
8211         * bufferparams.C: remove the author_ids map, not necessary now
8212
8213         * factory.h:
8214         * factory.C: moved Buffer::readInset to here
8215
8216         * paragraph_funcs.h:
8217         * paragraph_funcs.C: readParagraph free function moved from
8218         buffer.C
8219
8220         * tabular.C: name change
8221
8222 2003-03-12  John Levon  <levon@movementarian.org>
8223
8224         * buffer.C:
8225         * ParagraphParameters.C: move par params input to
8226         a read() method
8227
8228         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8229         behave like a normal read from the stream wrt reading
8230         a line vs. a \\token
8231
8232 2003-03-12  John Levon  <levon@movementarian.org>
8233
8234         * paragraph.C:
8235         * ParagraphParameters.h:
8236         * ParagraphParameters.C: move output code to a
8237         ::write() method
8238
8239 2003-03-12  John Levon  <levon@movementarian.org>
8240
8241         * BufferView.C (insertLyXFile):
8242         * buffer.h:
8243         * buffer.C:
8244         * tabular.C: use a parlist iterator for creating the
8245           document.
8246
8247 2003-03-12  John Levon  <levon@movementarian.org>
8248
8249         * buffer.C: make current_change static local not
8250           static file-scope
8251
8252 2003-03-12  John Levon  <levon@movementarian.org>
8253
8254         * buffer.C: fix insertStringAsLines for change tracking
8255
8256 2003-03-12  John Levon  <levon@movementarian.org>
8257
8258         * BufferView.C:
8259         * tabular.C:
8260         * buffer.h:
8261         * buffer.C:
8262         * bufferparams.h:
8263         * bufferparams.C: move author list into params. Rename some
8264           functions. Move the header reading into a separate token
8265           loop. Move the header token reading into BufferParams.
8266
8267 2003-03-12  John Levon  <levon@movementarian.org>
8268
8269         * changes.C: put debug inside lyxerr.debugging() checks
8270
8271 2003-03-11 André Pönitz <poenitz@gmx.net>
8272
8273         * factory.C: make it aware of InsetHFill
8274
8275 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8276
8277         * buffer.C (latexParagraphs): move function from here...
8278         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8279         args.
8280
8281 2003-03-10  Angus Leeming  <leeming@lyx.org>
8282
8283         * LyXAction.C (init): fix bug in poplating array with multiple entries
8284         with the same LFUN (spotted by JMarc).
8285
8286 2003-03-10  John Levon  <levon@movementarian.org>
8287
8288         * text.C:
8289         * text2.C: move getColumnNearX() near its
8290         only call site
8291
8292 2003-03-10  John Levon  <levon@movementarian.org>
8293
8294         * text.C: fix break before a minipage
8295
8296 2003-03-10  John Levon  <levon@movementarian.org>
8297
8298         * text.C: fix the last commit
8299
8300 2003-03-09  John Levon  <levon@movementarian.org>
8301
8302         * lyxtext.h:
8303         * text.C:
8304         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8305         bug 365 (don't break before insets unless needed). Don't
8306         return a value > last under any circumstances.
8307
8308 2003-03-09  Angus Leeming  <leeming@lyx.org>
8309
8310         * BufferView_pimpl.C (trackChanges, dispatch): call
8311         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8312
8313 2003-03-09  Angus Leeming  <leeming@lyx.org>
8314
8315         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8316         than Dialogs::showAboutlyx().
8317
8318 2003-03-09  Angus Leeming  <leeming@lyx.org>
8319
8320         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8321         than Dialogs::showTabularCreate().
8322
8323 2003-03-09  John Levon  <levon@movementarian.org>
8324
8325         * lyxtext.h:
8326         * text.C:
8327         * text2.C: 3rd arg to nextBreakPoint was always the same.
8328           Use references.
8329
8330 2003-03-08  John Levon  <levon@movementarian.org>
8331
8332         * lyxrow.C:
8333         * paragraph.C:
8334         * paragraph.h:
8335         * rowpainter.C:
8336         * text.C:
8337         * text2.C: Remove the "main" bit from the "main body"
8338           notion.
8339
8340 2003-03-08  John Levon  <levon@movementarian.org>
8341
8342         * text.C (leftMargin): The left margin of an empty
8343         manual label paragraph should not include the label width
8344         string length.
8345
8346         * text.C (prepareToPrint): don't attempt to measure hfills
8347         for empty manual label paragraphs - the answer should be 0
8348
8349 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * CutAndPaste.C: remove commented code and reindent.
8352
8353 2003-03-08  John Levon  <levon@movementarian.org>
8354
8355         * lyxfunc.h:
8356         * lyxfunc.C: move reloadBuffer()
8357
8358         * BufferView.h:
8359         * BufferView.C: to here
8360
8361         * lyxvc.C: add comment
8362
8363         * vc-backend.h:
8364         * vc-backend.C: call bv->reload() to avoid
8365           getStatus() check on MENURELOAD
8366
8367 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8368
8369         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8370         to an old format .dep file.
8371
8372 2003-03-07  Angus Leeming  <leeming@lyx.org>
8373
8374         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8375         when the LFUN_MOUSE_RELEASE should have been handled by
8376         inset->localDispatch.
8377
8378 2003-03-07  Angus Leeming  <leeming@lyx.org>
8379
8380         * BufferView_pimpl.C (dispatch):
8381         * LyXAction.C (init):
8382         * ToolbarDefaults.C (init):
8383         * commandtags.h:
8384         * lyxfunc.C (getStatus):
8385         remove LFUN_INSET_GRAPHICS.
8386
8387         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8388
8389 2003-03-07  Angus Leeming  <leeming@lyx.org>
8390
8391         * commandtags.h:
8392         * LyXAction.C (init):
8393         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8394
8395         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8396
8397         * commandtags.h:
8398         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8399
8400         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8401         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8402
8403 2003-03-07  Angus Leeming  <leeming@lyx.org>
8404
8405         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8406         remove "ert".
8407
8408 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * ParagraphList.C (front): new function
8411         (back): implement
8412
8413 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8414
8415         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8416         and top_row_offset_. removed var first_y.
8417         * text.C (top_y):
8418         * text2.C (LyXText, removeRow):
8419         * text3.C:
8420         * BufferView_pimpl.C:
8421         use these methods instead of using first_y
8422
8423 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * text2.C (pasteSelection): adjust for checkPastePossible
8426
8427         * CutAndPaste.C: remove Paragraph * buf and replace with
8428         ParagraphList paragraphs.
8429         (DeleteBuffer): delete
8430         (cutSelection): change the tc type to textclass_type
8431         (copySelection): change the tc type to textclass_type
8432         (copySelection): adjust for ParagraphList
8433         (pasteSelection): change the tc type to textclass_type
8434         (pasteSelection): adjust for Paragraphlist
8435         (nrOfParagraphs): simplify for ParagraphList
8436         (checkPastePossible): simplify for ParagraphList
8437         (checkPastePossible): remove unused arg
8438
8439         * ParagraphList.C (insert): handle the case where there are no
8440         paragraphs yet.
8441
8442         * CutAndPaste.h: make CutAndPaste a namespace.
8443
8444         * text3.C (dispatch): adjust
8445
8446         * text.C (breakParagraph): add a ParagraphList as arg
8447
8448         * paragraph_funcs.C (breakParagraph): change to take a
8449         BufferParams and a ParagraphList as args.
8450         (breakParagraphConservative): ditto
8451         (mergeParagraph): ditto
8452         (TeXDeeper): add a ParagraphList arg
8453         (TeXEnvironment): ditto
8454         (TeXOnePar): ditto
8455
8456         * buffer.C (readLyXformat2): adjust
8457         (insertStringAsLines): adjust
8458         (latexParagraphs): adjust
8459
8460         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8461         (cutSelection): adjust
8462         (pasteSelection): adjust
8463
8464         * BufferView_pimpl.C (insertInset): adjust
8465
8466 2003-03-05  Angus Leeming  <leeming@lyx.org>
8467
8468         * commandtags.h:
8469         * LyXAction.C (init):
8470         * BufferView_pimpl.C (dispatch):
8471         * lyxfunc.C (getStatus):
8472         remove LFUN_CHILD_INSERT.
8473
8474         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8475
8476 2003-03-05  Angus Leeming  <leeming@lyx.org>
8477
8478         * commandtags.h:
8479         * LyXAction.C (init):
8480         * src/factory.C (createInset):
8481         * lyxfunc.C (getStatus):
8482         * text3.C (dispatch):
8483         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8484
8485         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8486
8487 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8488
8489         * ParagraphList.C (insert): handle insert right before end()
8490         (erase): fix cases where it can be first or last paragraph.
8491
8492 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8495         Paragraph::next and Paragraph::previous
8496         (TeXOnePar): ditto
8497
8498         * text.C (breakParagraph): adjust
8499
8500         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8501         BufferParams& as arg.
8502         (breakParagraph): use ParagraphList::insert
8503         (breakParagraphConservative): take a Buffer* instead of a
8504         BufferParams& as arg.
8505         (breakParagraphConservative): use ParagraphList::insert.
8506
8507         * buffer.C (insertStringAsLines): un-const it
8508         (insertStringAsLines): adjust
8509
8510         * ParagraphList.C (insert): new function
8511
8512         * CutAndPaste.C (pasteSelection): adjust
8513
8514         * text.C (backspace): adjust
8515
8516         * tabular.C (SetMultiColumn): adjust
8517
8518         * CutAndPaste.C (cutSelection): adjust
8519         (pasteSelection): adjust
8520
8521         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8522         Buffer const * as arg
8523
8524         * ParagraphList.C (erase): new function
8525         * paragraph_funcs.C (mergeParagraph): use it
8526         (mergeParagraph): make it take a Buffer* instead of a
8527         BufferParams* as arg
8528
8529         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8530         as arg
8531         (breakParagraphConservative): ditto
8532
8533         * paragraph.h: remove the breakParagraph friend
8534
8535         * paragraph.C (eraseIntern): new function
8536         (setChange): new function
8537
8538         * paragraph_funcs.C (mergeParagraph): make it take a
8539         ParagraphList::iterator instead of a Paragraph *, adjust
8540         accordingly.
8541
8542         * paragraph.h: move an #endif so that the change tracking stuff
8543         also works in the NO_NEXT case.
8544
8545 2003-03-04  Angus Leeming  <leeming@lyx.org>
8546
8547         * commandtags.h:
8548         * LyXAction.C: new LFUN_INSET_MODIFY.
8549
8550         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8551         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8552
8553 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * several files: ws changes only
8556
8557         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8558         (TeXEnvironment): ditto
8559         (TeXDeeper): ditto
8560
8561         * buffer.C (makeLaTeXFile): adjust
8562         (latexParagraphs): make it take ParagraphList::iterator as args
8563
8564 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * buffer.C (latexParagraphs): adjust
8567
8568         * paragraph.C (TeXOnePar): move function...
8569         (optArgInset): move function...
8570         (TeXEnvironment): move function...
8571         * paragraph_pimpl.C (TeXDeeper): move function...
8572         * paragraph_funcs.C: ...here
8573
8574         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8575
8576 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * buffer.C (readInset): remove compability code for old Figure and
8579         InsetInfo insets
8580
8581 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * buffer.C: ws changes
8584         (readInset):
8585
8586         * BufferView_pimpl.C: ditto
8587         * author.C: ditto
8588         * buffer.h: ditto
8589         * bufferlist.h: ditto
8590         * changes.h: ditto
8591         * lyxfunc.C: ditto
8592
8593 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8594
8595         * converter.[Ch]: split into itself +
8596         * graph.[Ch]
8597         * format.[Ch]
8598         * Makefile.am: += graph.[Ch] + format.[Ch]
8599         * MenuBackend.C
8600         * buffer.C
8601         * exporter.C
8602         * importer.C
8603         * lyx_main.C
8604         * lyxfunc.C
8605         * lyxrc.C: added #include "format.h"
8606
8607 2003-02-27  Angus Leeming  <leeming@lyx.org>
8608
8609         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8610           a label.
8611
8612         * factory.C (createInset): add "label" to the factory.
8613
8614         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8615           string and do no more.
8616
8617 2003-02-27  Angus Leeming  <leeming@lyx.org>
8618
8619         * commandtags.h:
8620         * LyXAction.C (init):
8621         * factory.C (createInset):
8622         * BufferView_pimpl.C (dispatch):
8623           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8624
8625         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8626
8627         * lyxfunc.C (dispatch):
8628         * text3.C (dispatch): pass name to params2string.
8629
8630 2003-02-26  Angus Leeming  <leeming@lyx.org>
8631
8632         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8633           blocks together.
8634           Rearrange the ~includes. Strip out the unnecessary ones.
8635
8636         * factory.C (createInset): reformat.
8637           create new insets for the various LFUN_XYZ_APPLY lfuns.
8638
8639 2003-02-26  John Levon  <levon@movementarian.org>
8640
8641         * lyxrow.h:
8642         * lyxrow.C: add isParStart,isParEnd helpers
8643
8644         * paragraph.h: make isInserted/DeletedText take refs
8645
8646         * paragraph_funcs.h:
8647         * paragraph_funcs.C: remove #if 0'd code
8648
8649         * lyxtext.h:
8650         * text3.C:
8651         * text2.C:
8652         * text.C: use lyxrow helpers above.
8653           Move draw and paint routines to RowPainter.
8654           Make several methods use refs not pointers.
8655           Make backgroundColor() const.
8656           Add markChangeInDraw(), isInInset().
8657           Merge changeRegionCase into changeCase.
8658           Make workWidth() shouldn't-happen code into an Assert.
8659
8660         * rowpainter.h:
8661         * rowpainter.C: new class for painting a row.
8662
8663         * vspace.h:
8664         * vspace.C: make inPixels take a ref
8665
8666 2003-02-26  Angus Leeming  <leeming@lyx.org>
8667
8668         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8669         LFUN_REF_APPLY.
8670
8671 2003-02-25  John Levon  <levon@movementarian.org>
8672
8673         * ispell.C: give the forked command a more accurate name
8674
8675 2003-02-22  John Levon  <levon@movementarian.org>
8676
8677         * toc.h:
8678         * toc.C: make TocItem store an id not a Paragraph *
8679           (bug #913)
8680
8681 2003-02-21  Angus Leeming  <leeming@lyx.org>
8682
8683         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8684           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8685           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8686           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8687           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8688           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8689
8690         * BufferView_pimpl.C (dispatch):
8691         * LyXAction.C (init):
8692         * factory.C (createInset):
8693         * lyxfunc.C (getStatus, dispatch):
8694         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8695
8696 2003-02-21  Angus Leeming  <leeming@lyx.org>
8697
8698         * BufferView_pimpl.C (MenuInsertLyXFile):
8699         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8700         * lyxfunc.C (menuNew, open, doImport):
8701           no longer pass a LyXView & to fileDlg.
8702
8703 2003-02-21  Angus Leeming  <leeming@lyx.org>
8704
8705         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8706         * LyXAction.C: change, BIBKEY to BIBITEM.
8707         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8708         Change InsetBibKey to InsetBibitem.
8709         Change BIBKEY_CODE to BIBITEM_CODE.
8710         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8711         * factory.C: replace insetbib.h with insetbibitem.h.
8712         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8713         * paragraph.C: replace insetbib.h with insetbibitem.h.
8714         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8715         Change bibkey() to bibitem().
8716         * text.C: remove insetbib.h.
8717         * text2.C: replace insetbib.h with insetbibitem.h.
8718         change bibkey() to bibitem().
8719         * text3.C: remove insetbib.h.
8720         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8721
8722 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * lyxrc.C (output): enclose user email in quotes (in case there are
8725         several words)
8726
8727 2003-02-18  John Levon  <levon@movementarian.org>
8728
8729         * buffer.h: add std::
8730
8731 2003-02-17  John Levon  <levon@movementarian.org>
8732
8733         * SpellBase.h:
8734         * ispell.h:
8735         * ispell.C:
8736         * pspell.h:
8737         * pspell.C: reworking. Especially in ispell, a large
8738           number of clean ups and bug fixes.
8739
8740         * lyxfunc.C: fix revert to behave sensibly
8741
8742 2003-02-17 André Pönitz <poenitz@gmx.net>
8743
8744         * LyXAction.C:
8745         * commandtags.h: new LFUN_INSERT_BIBKEY
8746
8747         * layout.h:
8748         * lyxlayout.C:
8749         * buffer.C:
8750         * factory.C:
8751         * text.C:
8752         * text2.C:
8753         * text3.C:
8754         * paragraph.[Ch]:
8755         * paragraph_func.C: remove special bibkey handling
8756
8757 2003-02-17  John Levon  <levon@movementarian.org>
8758
8759         * text.C (Delete): fix case where delete at the end of
8760           the very first paragraph would not merge the pars
8761
8762 2003-02-17  John Levon  <levon@movementarian.org>
8763
8764         * lyxrow.C: fix lastPrintablePos()
8765
8766 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * bufferparams.C (writeLaTeX): add a std:here
8769
8770         * buffer.C: and remove a using directive there
8771
8772 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * buffer.C (makeLaTeXFile): move the code that generates the
8775           preamble...
8776
8777         * bufferparams.C (writeLaTeX): ... in this new method
8778
8779         * LaTeXFeatures.C (getEncodingSet): make const
8780           (getLanguages): make const
8781
8782         * MenuBackend.C (binding): returns the binding associated to this
8783           action
8784           (add): sets the status of each item by calling getStatus. Adds
8785           some intelligence.
8786           (read): add support for OptSubMenu
8787           (expand): remove extra separator at the end of expanded menu
8788
8789 2003-02-15  John Levon  <levon@movementarian.org>
8790
8791         * BufferView.C:
8792         * BufferView_pimpl.C:
8793         * bufferlist.h:
8794         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8795           inset code that had no actual effect. Remove unneeded status
8796           code.
8797
8798 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8801           in preamble
8802
8803 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8804
8805         * text.C (drawLengthMarker): also draw an arrow marker for
8806           symbolic lengths (medskip...)
8807
8808 2003-02-14  John Levon  <levon@movementarian.org>
8809
8810         * tabular.h:
8811         * tabular.C: better method names
8812
8813 2003-02-14  John Levon  <levon@movementarian.org>
8814
8815         * BufferView_pimpl.C:
8816         * bufferlist.C:
8817         * buffer.C:
8818         * converter.C:
8819         * lyx_cb.C:
8820         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8821           it's a more accurate name. Remove some pointless uses.
8822
8823 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8824
8825         * text2.C (LyXText): change order of initilizers to shut off
8826           warnings
8827
8828 2003-02-14  John Levon  <levon@movementarian.org>
8829
8830         * buffer.C: use ParIterator for getParFromID()
8831
8832         * paragraph.h:
8833         * paragraph.C:
8834         * paragraph_pimpl.h:
8835         * paragraph_pimpl.C: remove unused getParFromID()
8836
8837 2003-02-14  John Levon  <levon@movementarian.org>
8838
8839         * buffer.C: remove some very old #if 0'd parse code
8840
8841 2003-02-13  John Levon  <levon@movementarian.org>
8842
8843         * text.h:
8844         * text.C:
8845         * text2.C: move hfillExpansion(), numberOfSeparators(),
8846           rowLast(), rowLastPrintable(), numberofHfills(),
8847           numberOfLabelHfills() ...
8848
8849         * lyxrow.h:
8850         * lyxrow.C: ... to member functions here.
8851
8852         * paragraph.h:
8853         * paragraph.C:
8854         * lyxtext.h:
8855         * text.C: remove LyXText::beginningOfMainBody(), and call
8856           p->beginningOfMainBody() directly. Move the check for
8857           LABEL_MANUAL into the latter.
8858
8859         * text.h:
8860         * text.C:
8861         * text2.C:
8862         * vspace.C:
8863         * BufferView.h:
8864         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8865
8866         * text.h:
8867         * text.C:
8868         * text2.C:
8869         * text3.C:
8870         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8871           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8872
8873 2003-02-13  John Levon  <levon@movementarian.org>
8874
8875         * CutAndPaste.C: remove debug
8876
8877 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8878
8879         * paragraph.C (asString): remove two unused variables
8880
8881         * lyxtextclass.C (readTitleType):
8882           (Read):
8883           (LyXTextClass): handle new members titletype_ and titlename_
8884
8885         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8886
8887 2003-02-09  John Levon  <levon@movementarian.org>
8888
8889         * buffer.h:
8890         * buffer.C: replace hand-coded list with a map for the dep clean
8891
8892 2003-02-08  John Levon  <levon@movementarian.org>
8893
8894         * LaTeX.C: consolidate code into showRunMessage() helper
8895
8896 2003-02-08  John Levon  <levon@movementarian.org>
8897
8898         * lyxfind.C:
8899         * lyxtext.h:
8900         * text2.C:
8901         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8902           and pass the size in explicitly
8903
8904         * BufferView_pimpl.h:
8905         * BufferView_pimpl.C:
8906         * BufferView.h:
8907         * BufferView.C: add getCurrentChange()
8908
8909         * BufferView_pimpl.h:
8910         * BufferView_pimpl.C: handle change lfuns
8911
8912         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8913           for changes. Mark pasted paragraphs as new.
8914
8915         * support/lyxtime.h:
8916         * support/lyxtime.C:
8917         * DepTable.C: abstract time_t as lyx::time_type
8918
8919         * LColor.h:
8920         * LColor.C: add colours for new text, deleted text, changebars
8921
8922         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8923           package use "usenames" option.
8924
8925         * commandtags.h:
8926         * lyxfunc.C:
8927         * LyXAction.C: add change lfuns
8928
8929         * Makefile.am:
8930         * author.h:
8931         * author.C: author handling
8932
8933         * buffer.h:
8934         * buffer.C: add a per-buffer author list, with first entry as
8935           current author. Handle new .lyx tokens for change tracking. Output
8936           author list to .lyx file. Output dvipost stuff to .tex preamble.
8937           Bump lyx format to 222.
8938
8939         * bufferlist.h:
8940         * bufferlist.C: add setCurrentAuthor() to reset current author details
8941           in all buffers.
8942
8943         * bufferparams.h:
8944         * bufferparams.C: add param for tracking
8945
8946         * bufferview_funcs.C: output change info in minibuffer
8947
8948         * Makefile.am:
8949         * changes.h:
8950         * changes.C: add change-tracking structure
8951
8952         * debug.h:
8953         * debug.C: add CHANGES debug flag
8954
8955         * lyxfind.h:
8956         * lyxfind.C: add code for finding the next change piece
8957
8958         * lyxrc.h:
8959         * lyxrc.C: add user_name and user_email
8960
8961         * lyxrow.h:
8962         * lyxrow.C: add a metric for the top of the text line
8963
8964         * lyxtext.h:
8965         * text.C: implement accept/rejectChange()
8966
8967         * lyxtext.h:
8968         * text.C: paint changebars. Paint new/deleted text in the chosen
8969         colours. Strike through deleted text.
8970
8971         * paragraph.h:
8972         * paragraph.C:
8973         * paragraph_pimpl.h:
8974         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8975           in the current change to the insert functions. Rework erase to
8976           mark text as deleted, adding an eraseIntern() and a range-based
8977           erase(). Implement per-paragraph change lookup and
8978           accept/reject.
8979
8980         * paragraph_funcs.C: Fixup paste for change tracking.
8981
8982         * tabular.C: mark added row/columns as new.
8983
8984         * text.C: fix rowLast() to never return -1. Don't allow
8985           spellchecking of deleted text. Track transpose changes. Don't
8986           allow paragraph break or merge where appropriate.
8987
8988         * text2.C: leave cursor at end of selection after a cut.
8989
8990 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8991
8992         * text.C (getLengthMarkerHeight):
8993         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8994         visible on screen too.
8995
8996 2003-02-07  John Levon  <levon@movementarian.org>
8997
8998         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8999
9000 2003-02-05  Angus Leeming  <leeming@lyx.org>
9001
9002         * lyxserver.C (read_ready): revert my patch of 11 September last year
9003         as it sends PC cpu through the roof. Presumably this means that
9004         the lyxserver will no longer run on an Alpha...
9005
9006 2003-01-30  Angus Leeming  <leeming@lyx.org>
9007
9008         * factory.C (createInset): create an InsetCommandParam of type "index"
9009         and use it to 'do the right thing'.
9010
9011         * text2.C (getStringToIndex): ensure that cursor position is always
9012         reset to the reset_cursor position.
9013
9014 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9015
9016         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9017         disabled.
9018
9019 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9020
9021         * bufferview.C:
9022         * lyxcb.C:
9023         * lyxfunc.C: Output messages with identical spelling, punctuation,
9024         and spaces
9025
9026 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9027
9028         * MenuBackend.C (expandFormats): List only viewable export formats
9029         in "View" menu
9030
9031         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9032         message
9033
9034         * lyxfunc.C (getStatus): Make sure that formats other than
9035         "fax" can also be disabled
9036
9037 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9038
9039         * text3.C (dispatch): put the lfuns that insert insets in 3
9040         groups, and call doInsertInset with appropriate arguments.
9041         (doInsertInset): new function, that creates an inset and inserts
9042         it according to some boolean parameters.
9043
9044 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9045
9046         * buffer.C (readFile): remember to pass on 'par' when calling
9047         readFile recursively.
9048
9049 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9050
9051         * MenuBackend.C (expandFormats): add "..." to import formats.
9052
9053 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9054
9055         * paragraph.C (asString): Remove XForms RTL hacks.
9056
9057 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9058         * buffer.C: fix typo
9059
9060 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * Makefile.am (LIBS): delete var
9063         (lyx_LDADD): add @LIBS@ here instead.
9064
9065 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9066
9067         * Clarify the meaning of "wheel mouse jump"
9068
9069 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9070
9071         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9072         tabular in a float
9073
9074 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9075
9076         * importer.C (Loaders): do not preallocate 3 elements in the
9077         vector, since one ends up with 6 elements otherwise
9078
9079 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9080
9081         * DepTable.C (write): write the file name as last element of the
9082         .dep file (because it may contain spaces)
9083         (read): read info in the right order
9084
9085 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9086
9087         * paragraph_pimpl.C (simpleTeXBlanks):
9088         (simpleTeXSpecialChars):
9089         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9090
9091         * tabular.C (latex): add some missing case statements. Reindent.
9092
9093         * MenuBackend.C (expandToc): remove unused variable.
9094
9095 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9096
9097         * LColor.C:
9098         * LaTeX.C:
9099         * LyXAction.C:
9100         * MenuBackend.C:
9101         * buffer.C:
9102         * exporter.C:
9103         * lyxfunc.C:
9104         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9105         and the like.
9106
9107 2003-01-05  John Levon  <levon@movementarian.org>
9108
9109         * BufferView.h:
9110         * BufferView.C: add getEncoding()
9111
9112         * kbsequence.h:
9113         * kbsequence.C: do not store last keypress
9114
9115         * lyxfunc.h:
9116         * lyxfunc.C: store last keypress here instead. Pass encoding
9117           to getISOEncoded()
9118
9119 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * lyx_main.C (init): remove annoying error message when following
9122         symbolic links (bug #780)
9123
9124 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9125
9126         * text.C (insertChar):
9127         * lyxrc.C (getDescription): remove extra spaces
9128
9129 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * lyxrc.C (getDescription): remove extra spaces
9132
9133 2002-12-20  John Levon  <levon@movementarian.org>
9134
9135         * text3.C: hack fix for page up/down across tall rows
9136
9137 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9138
9139         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9140         not been invoked
9141
9142 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9143
9144         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9145         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9146         thesaurus is not compiled in
9147
9148 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9149
9150         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9151
9152 2002-12-16  Angus Leeming  <leeming@lyx.org>
9153
9154         * lyxrc.[Ch]:
9155         * lyx_main.C (init): remove override_x_deadkeys stuff.
9156
9157 2002-12-12  John Levon  <levon@movementarian.org>
9158
9159         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9160           insert. Only remove shift modifier under strict
9161           circumstances.
9162
9163 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * MenuBackend.C (expandToc): fix crash.
9166
9167 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * MenuBackend.C (expandToc): gettext on float names.
9170
9171 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9172
9173         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9174         implement bool empty() [bug 490]
9175
9176 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9177
9178         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9179
9180 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9181
9182         * several files: ws changes
9183
9184 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * text2.C (setCounter): clean up a bit, use boost.format.
9187         (updateCounters): initialize par upon declaration.
9188
9189         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9190         if the layout exists. We do not just store the layout any more.
9191         (SwitchLayoutsBetweenClasses): use boost.format
9192
9193 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * converter.C (convert): if from and to files are the same, use a
9196         temporary files as intermediary
9197
9198 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * commandtags.h:
9201         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9202
9203 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9204
9205         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9206
9207 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * tabular.C (asciiPrintCell): use string(size, char) instead of
9210         explicit loop.
9211
9212         * sgml.C (openTag): fix order of arguments to string constructor
9213         (closeTag): ditto
9214
9215         * lyxfunc.C (dispatch): use boost.format
9216
9217         * lots of files: change "c" -> 'c'
9218
9219 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9220
9221         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9222
9223 2002-11-25  Angus Leeming  <leeming@lyx.org>
9224
9225         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9226
9227         * lyx_main.C (init): compile fix.
9228
9229 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9230
9231         * lyx_cb.C (start): boost.formatify
9232         do not include <iostream>
9233
9234         * lengthcommon.C: ws only
9235
9236         * boost-inst.C,BoostFormat.h: add more explict instantations
9237
9238 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * lots of files: handle USE_BOOST_FORMAT
9241
9242 2002-11-21  John Levon  <levon@movementarian.org>
9243
9244         * pspell.C: fix compile
9245
9246 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9247
9248         * lyxfunc.C (dispatch): use boost::format
9249         (open): ditto
9250         (doImport): ditto
9251
9252         * lyxfont.C (stateText): use boost::format
9253
9254         * lyx_main.C (LyX): use boost::format
9255         (init): ditto
9256         (queryUserLyXDir): ditto
9257         (readRcFile): ditto
9258         (parse_dbg): ditto
9259         (typedef boost::function): use the recommened syntax.
9260
9261         * importer.C (Import): use boost::format
9262
9263         * debug.C (showLevel): use boost::format
9264
9265         * converter.C (view): use boost::format
9266         (convert): ditto
9267         (move): ditto
9268         (scanLog): ditto
9269
9270         * bufferview_funcs.C (currentState): use boost::format
9271
9272         * bufferlist.C (emergencyWrite): use boost::format
9273
9274         * buffer.C (readLyXformat2): use boost::format
9275         (parseSingleLyXformat2Token): ditto
9276
9277         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9278
9279         * LaTeX.C (run): use boost::format
9280
9281         * Chktex.C (scanLogFile): use boost::format
9282
9283         * BufferView_pimpl.C (savePosition): use boost::format
9284         (restorePosition): ditto
9285         (MenuInsertLyXFile): ditto
9286
9287         * BoostFormat.h: help file for explicit instation.
9288
9289 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9290
9291         * tabular.C (latex): Support for block alignment in fixed width
9292         columns.
9293
9294 2002-11-17  John Levon  <levon@movementarian.org>
9295
9296         * BufferView_pimpl.C:
9297         * lyx_cb.C:
9298         * lyxfunc.C: split filedialog into open/save
9299
9300 2002-11-08  Juergen Vigna  <jug@sad.it>
9301
9302         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9303         by my last patch (hopefully).
9304
9305 2002-11-08  John Levon  <levon@movementarian.org>
9306
9307         * iterators.h:
9308         * iterators.C:
9309         * buffer.h:
9310         * buffer.C:
9311         * paragraph.h:
9312         * paragraph.C:
9313         * toc.h:
9314         * toc.C: ParConstIterator, and use it (from Lars)
9315
9316 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9317
9318         * lyxtextclass.[Ch]: revise and add doxygen comments
9319
9320 2002-11-07  John Levon  <levon@movementarian.org>
9321
9322         * text.C: fix progress value for spellchecker
9323
9324         * toc.C: fix navigate menu for insetwrap inside minipage
9325
9326         * paragraph_funcs.C: added FIXME for suspect code
9327
9328 2002-11-07  John Levon  <levon@movementarian.org>
9329
9330         * BufferView_pimpl.C: fix redrawing of insets
9331           on buffer switch
9332
9333 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9334
9335         * text2.C (updateCounters): fix bug 668
9336
9337 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9338
9339         * text3.C (dispatch): Do not make the buffer dirty when moving the
9340         cursor.
9341
9342 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9343
9344         * vc-backend.C: STRCONV
9345         (scanMaster): ditto
9346
9347         * text2.C (setCounter): STRCONV
9348
9349         * paragraph.C (asString): STRCONV
9350
9351         * lyxlength.C (asString): STRCONV
9352         (asLatexString): ditto
9353
9354         * lyxgluelength.C (asString): STRCONV
9355         (asLatexString): ditto
9356
9357         * lyxfunc.C (dispatch): STRCONV
9358         (open): ditto
9359
9360         * lyxfont.C (stateText): STRCONV
9361
9362         * importer.C (Import): STRCONV
9363
9364         * counters.C (labelItem): STRCONV
9365         (numberLabel): ditto
9366         (numberLabel): remove unused ostringstream o
9367
9368         * chset.C: STRCONV
9369         (loadFile): ditto
9370
9371         * bufferview_funcs.C (currentState): STRCONV
9372
9373         * buffer.C (readFile): STRCONV
9374         (asciiParagraph): ditto
9375         (makeLaTeXFile): ditto
9376
9377         * Spacing.C (writeEnvirBegin): STRCONV
9378
9379         * LaTeXFeatures.C (getLanguages): STRCONV
9380         (getPackages): ditto
9381         (getMacros): ditto
9382         (getBabelOptions): ditto
9383         (getTClassPreamble): ditto
9384         (getLyXSGMLEntities): ditto
9385         (getIncludedFiles): ditto
9386
9387         * LaTeX.C: STRCONV
9388         (run): ditto
9389         (scanAuxFile): ditto
9390         (deplog): ditto
9391
9392         * LString.h: add the STRCONV macros
9393
9394         * BufferView_pimpl.C (savePosition): STRCONV
9395         (restorePosition): ditto
9396         (MenuInsertLyXFile): ditto
9397
9398         * vc-backend.C (scanMaster): change from submatch[...] to
9399         submatch.str(...)
9400
9401         * funcrequest.C: include config.h
9402
9403         * factory.C: include config.h
9404
9405         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9406
9407         * box.C: include config.h
9408
9409         * LaTeX.C (scanAuxFile): change from submatch[...] to
9410         submatch.str(...)
9411         (deplog): ditto
9412
9413 2002-10-25  Angus Leeming  <leeming@lyx.org>
9414
9415         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9416
9417         * ispell.[Ch] (setError): new method.
9418         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9419         Use setError() insetead of goto END.
9420
9421         * lyx_cb.C (AutoSave): move out child process into new class
9422         AutoSaveBuffer.
9423
9424 2002-10-30  John Levon  <levon@movementarian.org>
9425
9426         * text3.C: make start appendix undoable
9427
9428 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * lyxlength.C (inPixels): Fix returned value.
9431
9432         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9433         environment.
9434
9435 2002-10-24  Angus Leeming  <leeming@lyx.org>
9436
9437         * lyxgluelength.h: no need to forward declare BufferParams
9438         or BufferView, so don't.
9439
9440 2002-10-21  John Levon  <levon@movementarian.org>
9441
9442         * BufferView.C: menuUndo ->undo, redo
9443
9444         * BufferView.h: document, remove dead, make some methods private
9445
9446         * paragraph_funcs.h:
9447         * paragraph_funcs.C:
9448         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9449
9450         * buffer.h:
9451         * buffer.C:
9452         * sgml.h:
9453         * sgml.C: move sgml open/close tag into sgml.C
9454
9455         * bufferview_funcs.h: unused prototype
9456
9457         * lyxfunc.h:
9458         * lyxfunc.C: remove unused
9459
9460         * lyxtext.h:
9461         * text.C: remove unused
9462
9463 2002-10-21  John Levon  <levon@movementarian.org>
9464
9465         * BufferView.h:
9466         * BufferView.C:
9467         * BufferView_pimpl.h:
9468         * BufferView_pimpl.C: fix mouse wheel handling based on
9469           patch from Darren Freeman
9470
9471 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9472
9473         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9474
9475 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9476
9477         * lyxlength.C (inPixels): Fix hanfling of negative length.
9478         Fix LyXLength::MU case.
9479
9480 2002-10-16  John Levon  <levon@movementarian.org>
9481
9482         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9483
9484 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9485
9486         * converter.C (view): add support for $$i (file name) and $$p
9487         (file path) for the viewer command. If $$i is not specified, then
9488         it is appended to the command (for compatibility with old syntax)
9489
9490 2002-10-14  Juergen Vigna  <jug@sad.it>
9491
9492         * undo_funcs.C (textHandleUndo): alter the order in which the
9493         new undopar is added to the LyXText, as we have to set first
9494         the right prev/next and then add it as otherwise the rebuild of
9495         LyXText is not correct. Also reset the cursor to the right paragraph,
9496         with this IMO we could remove the hack in "redoParagraphs()".
9497
9498 2002-10-09  Angus Leeming  <leeming@lyx.org>
9499
9500         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9501         to turn off an optimisation if a new inset is to be inserted.
9502
9503 2002-10-11 André Pönitz <poenitz@gmx.net>
9504
9505         * lyxtext.h: make some functions public to allow access
9506         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9507
9508 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9509
9510         * text3.C (dispatch): when changing layout, avoid an infinite loop
9511         [bug #652]
9512
9513 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9514
9515         * lyxrc.C (read): treat a viewer or converter command of "none" as
9516         if it were empty.
9517
9518         * MenuBackend.C (expandFormats): for an update, also allow the
9519         formats that are not viewable
9520
9521         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9522         script if it is newer than the lyxrc.defaults in user directory
9523
9524 2002-10-07 André Pönitz <poenitz@gmx.net>
9525
9526         * text.C: Vitaly Lipatov's small i18n fix
9527
9528 2002-09-25  Angus Leeming  <leeming@lyx.org>
9529
9530         * ispell.h: doxygen fix.
9531
9532 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9533
9534         * buffer.h (readFile): Add a new argument to the method, to allow
9535         reading of old-format templates.
9536
9537 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9538
9539         * toc.C (getTocList): Get TOC from InsetWrap.
9540
9541 2002-09-16  John Levon  <levon@movementarian.org>
9542
9543         * lyxfunc.C: check tabular for cut/copy too
9544
9545 2002-09-12  John Levon  <levon@movementarian.org>
9546
9547         * LyXAction.C: tidy
9548
9549         * factory.h:
9550         * factory.C: add header
9551
9552         * paragraph_funcs.h:
9553         * paragraph_funcs.C: cleanup
9554
9555 2002-09-11  John Levon  <levon@movementarian.org>
9556
9557         * PrinterParams.h: odd/even default to true
9558
9559 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9560
9561         * PrinterParams.h: update printer parameters for new xforms dialog
9562
9563 2002-09-11  Angus Leeming  <leeming@lyx.org>
9564
9565         * lyxserver.C (read_ready): re-write to make it more transparent
9566         and to make it work in coherent fashion under Tru64 Unix.
9567
9568 2002-09-11  André Pönitz <poenitz@gmx.net>
9569
9570         * commandtags.h:
9571         * LyXAction.C:
9572         * text3.C: implement LFUN_WORDSEL
9573
9574 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9575
9576         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9577         make floatlist_ a boost::shared_ptr<FloatList>
9578
9579         * lyxtextclass.C: include FloatList.h
9580         (LyXTextClass): initialize floatlist_
9581         (TextClassTags): add TC_NOFLOAT
9582         (Read): match "nofloat" to TC_NOFLOAT and use it.
9583         (readFloat): modify call to floatlist_
9584         (floats): ditto
9585         (floats): ditto
9586
9587         * FloatList.[Ch] (FloatList): remove commented out float
9588         initialization.
9589         (erase): new function
9590
9591 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9592
9593         * MenuBackend.C (expandToc): fix crash when there is no document
9594         open
9595
9596 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9597
9598         * many files: Add insetwrap.
9599
9600 2002-09-09  John Levon  <levon@movementarian.org>
9601
9602         * text2.C: remove confusing and awkward depth wraparound
9603
9604 2002-09-09  John Levon  <levon@movementarian.org>
9605
9606         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9607
9608         * buffer.h:
9609         * buffer.C: remove getIncludeonlyList()
9610
9611         * paragraph.C:
9612         * lyxfunc.C: remove headers
9613
9614 2002-09-09  Juergen Vigna  <jug@sad.it>
9615
9616         * text.C (getColumnNearX): fix form Michael this is most
9617         probably a cut&paste bug.
9618
9619 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9620
9621         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9622
9623         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9624         references, ws changes.
9625
9626         * text2.C (init): update counters after init
9627         (insertParagraph): no need to set counter on idividual paragraphs.
9628         (setCounter): access the counters object in the textclass object
9629         on in the buffer object.
9630         (updateCounters): ditto
9631
9632         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9633         shared_ptr<Counters> to avoid loading counters.h in all
9634         compilation units.
9635         (LyXTextClass): initialize ctrs_
9636         (TextClassTags): add TC_COUNTER, and ...
9637         (Read): use it here.
9638         (CounterTags): new tags
9639         (readCounter): new function
9640         (counters): new funtion
9641         (defaultLayoutName): return a const reference
9642
9643         * counters.C (Counters): remove contructor
9644         (newCounter): remove a couple of unneeded statements.
9645         (newCounter): simplify a bit.
9646         (numberLabel): some small formatting changes.
9647
9648         * buffer.[Ch]: remove all traces of counters, move the Counters
9649         object to the LyXTextClass.
9650
9651 2002-09-06  Alain Castera  <castera@in2p3.fr>
9652
9653         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9654         package to set the horizontal alignment on fixed width columns.
9655
9656         * lyx_sty.C:
9657         * lyx_sty.h: added tabularnewline macro def.
9658
9659         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9660
9661 2002-09-06  John Levon  <levon@movementarian.org>
9662
9663         * LyXAction.C: tooltips for sub/superscript
9664
9665         * MenuBackend.C: a bit more verbose
9666
9667         * lyxfunc.C: tiny clean
9668
9669         * undo_funcs.C: document undo_frozen
9670
9671 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9672
9673         * counters.C (Counters): add missing algorithm counter.
9674
9675         * text2.C (setCounter): lookup the counter with layouts latexname
9676         instead of by section number.
9677         (setCounter): use a hackish way to lookup the correct enum
9678         counter.
9679         a float name->type change
9680         reset enum couners with counter name directly instead of depth value.
9681
9682         * counters.C (Counters): remove the push_backs, change to use the
9683         float type not the float name.
9684         (labelItem): remove unused string, float name->type change
9685
9686         * counters.h: don't include vector, loose the enums and sects vectors
9687
9688 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9689
9690         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9691         (Read): add float->TC_FLOAT to textclassTags
9692         (Read): and handle it in the switch
9693         (readFloat): new function
9694
9695         * FloatList.C (FloatList): comment out the hardcoded float
9696         definitions.
9697
9698         * lyxlayout.h: ws change.
9699
9700 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9701
9702         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9703
9704 2002-09-03  Angus Leeming  <leeming@lyx.org>
9705
9706         * BufferView_pimpl.h: qualified name is not allowed in member
9707         declaration: WorkArea & Pimpl::workarea() const;
9708
9709         * factory.C: added using std::endl directive.
9710
9711         * text3.C: added using std::find and std::vector directives.
9712
9713 2002-08-29  André Pönitz <poenitz@gmx.net>
9714
9715         * lyxtext.h:
9716         * text2.C: remove unused member number_of_rows
9717
9718         * Makefile.am:
9719         * BufferView2.C: remove file, move contents to...
9720         * BufferView.C: ... here
9721
9722         * BufferView_pimpl.C:
9723         * factory.C: move more inset creation to factory
9724
9725         * vspace.C: avoid direct usage of LyXText, ws changes
9726
9727         * BufferView.[Ch]:
9728                 don't provide direct access to WorkArea, use two simple
9729                 acessors haveSelction() and workHeight() instead
9730
9731
9732 2002-08-29  John Levon  <levon@movementarian.org>
9733
9734         * BufferView_pimpl.C (dispatch): do not continue when
9735           no buffer
9736
9737 2002-08-28  André Pönitz <poenitz@gmx.net>
9738
9739         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9740
9741         * BufferView.h:
9742         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9743
9744 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9745
9746         * buffer.C: increment LYX_FORMAT to 221
9747
9748         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9749         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9750
9751         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9752
9753         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9754
9755 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * factory.C (createInset): use LyXTextClass::floats
9758
9759         * MenuBackend.C (expandFloatListInsert):
9760         (expandFloatInsert):
9761         (expandToc):
9762
9763         * text2.C (setCounter):
9764
9765         * LaTeXFeatures.C (useFloat):
9766         (getFloatDefinitions):
9767
9768         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9769
9770         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9771         floatlist_, with accessor floats().
9772
9773         * FloatList.h: remove global FloatList
9774
9775 2002-08-26  André Pönitz <poenitz@gmx.net>
9776
9777         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9778
9779         * BufferView.h:
9780         * BufferView2.C:
9781         * BufferView_pimpl.C:
9782         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9783
9784 2002-08-25  John Levon  <levon@movementarian.org>
9785
9786         * LyXAction.C: fix margin note description
9787
9788 2002-08-24  John Levon  <levon@movementarian.org>
9789
9790         * buffer.C:
9791         * bufferlist.C:
9792         * bufferview_funcs.C:
9793         * lyxfont.C:
9794         * undo_funcs.C: cleanups
9795
9796         * lyxfunc.C: disable CUT/COPY when no selection
9797
9798 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9799
9800         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9801         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9802
9803         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9804         Add backward compatibility to "mono", "gray" and "no".
9805
9806 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9807
9808         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9809         (and file_format >= 200).
9810
9811 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9814
9815 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9818
9819 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9820
9821         * BufferView_pimpl.C:
9822         * LyXAction.C:
9823         * buffer.C:
9824         * commandtags.h:
9825         * lyxfunc.C:
9826         * paragraph.[Ch]:
9827         * text2.C:
9828         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9829         inset and code to make it  work with the paragraph code. The inset
9830         can be anywhere in the paragraph, but will only do the expected
9831         thing in LaTeX if the layout file contains the parameter line
9832                         OptionalArgs    1
9833         (or more generally, a nonzero value) for that layout.
9834
9835 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * paragraph.h: remove the declaration of undefined counters class
9838         function.
9839
9840 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9841
9842         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9843         Dr. Richard Hawkins.
9844
9845 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * paragraph_funcs.h: remove some unneeded includes
9848
9849         * text.C (backspace): pasteParagraph now in global scipe
9850
9851         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9852         (pasteSelection): ditto
9853
9854         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9855         * paragraph_funcs.C (pasteParagraph): ... here
9856
9857 2002-08-20  André Pönitz <poenitz@gmx.net>
9858
9859         * commandtags.h: new LFUNs for swapping/copying table row/colums
9860
9861         * LyXAction.C:
9862         * lyxfunc.C: support for new lfuns
9863
9864 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * tabular.C:
9867         * buffer.[Ch]: remove NO_COMPABILITY stuff
9868
9869 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * boost.C (throw_exception): new file, with helper function for
9872         boost compiled without exceptions.
9873
9874         * paragraph.h:
9875         * lyxlength.C:
9876         * buffer.C:
9877         * ParameterStruct.h:
9878         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9879
9880         * bufferlist.C (emergencyWriteAll): use boost bind
9881
9882         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9883
9884         * text.C: include paragraph_funcs.h
9885         (breakParagraph): breakParagraph is now in global scope
9886
9887         * paragraph_funcs.[Ch]: new files
9888
9889         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9890         global scope
9891
9892         * buffer.C: include paragraph_funcs.h
9893         (insertStringAsLines): breakParagraph is now in global scope
9894
9895         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9896         paragraph_funcs.C
9897
9898         * CutAndPaste.C: include paragraph_funcs.h
9899         (cutSelection): breakParagraphConservative is now in global scope
9900         (pasteSelection): ditto
9901
9902         * buffer.h: declare oprator== and operator!= for
9903         Buffer::inset_iterator
9904
9905         * bufferlist.C (emergencyWrite): don't use fmt(...)
9906
9907         * text3.C: add using std::endl
9908
9909         * BufferView.C (moveCursorUpdate): remove default arg
9910
9911 2002-08-20  André Pönitz <poenitz@gmx.net>
9912
9913         * buffer.[Ch]: move inline functions to .C
9914
9915         * BufferView2.C:
9916         * BufferView_pimpl.C:
9917         * text.C:
9918         * buffer.[Ch]: use improved inset_iterator
9919
9920         * buffer.C:
9921         * paragraph.[Ch]: write one paragraph at a time
9922
9923 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9926         style if style is not specified.
9927
9928 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * text2.C (setCounter): when searching for right label for a
9931         caption, make sure to recurse to parent insets (so that a caption
9932         in a minipage in a figure float works) (bug #568)
9933
9934 2002-08-20  André Pönitz <poenitz@gmx.net>
9935
9936         * text3.C: new file for LyXText::dispatch() and helpers
9937
9938         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9939
9940         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9941
9942 2002-08-19  André Pönitz <poenitz@gmx.net>
9943
9944         * lyxtext.h:
9945         * text.C: new LyXText::dispatch()
9946
9947         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9948
9949 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9950
9951         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9952
9953         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9954         Hebrew text.
9955
9956 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * Makefile.am: use $(variables) instead of @substitutions@
9959
9960 2002-08-15  André Pönitz <poenitz@gmx.net>
9961
9962         * lyxfunc.C:
9963         * BufferView_pimpl.C: streamlining mathed <-> outer world
9964         interaction
9965
9966         * commandtags.h:
9967         * LyXAction.C: remove unused LFUN_MATH
9968
9969 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9970
9971         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9972
9973 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9974
9975         * paragraph.C (Paragraph): reformat a bit
9976         (cutIntoMinibuffer): use builtin InsetList function instad of
9977         doing it manually.
9978         (getInset): ditto
9979
9980         * buffer.C: include boost/bind.hpp, add using std::for_each
9981         (writeFileAscii): use ParagraphList iterators
9982         (validate): use for_each for validate traversal of paragraphs
9983         (getBibkeyList): use ParagraphList iterators
9984         (resizeInsets): use for_each to resizeInsetsLyXText for all
9985         paragraphs.
9986         (getParFromID): use ParagraphList iterators
9987
9988         * BufferView2.C (lockInset): use paragraph list and iterators
9989
9990 2002-08-14  John Levon  <levon@movementarian.org>
9991
9992         * lyxserver.C: remove spurious xforms include
9993
9994 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9997
9998 2002-08-13  André Pönitz <poenitz@gmx.net>
9999
10000         * LyXAction.[Ch]:
10001         * lyxfunc.C: further cleaning
10002
10003 2002-08-13  André Pönitz <poenitz@gmx.net>
10004
10005         * funcrequest.h: new constructor
10006
10007         * funcrequest.C: move stuff here from .h
10008
10009         * Makefile.am:
10010         * BufferView_pimpl.C:
10011         * LyXAction.C:
10012         * toc.C:
10013         * lyxfunc.C: subsequent changes
10014
10015         * lyxfunc.h: new view() member function
10016
10017         * lyxfunc.C: subsequent changes
10018
10019 2002-08-13  Angus Leeming  <leeming@lyx.org>
10020
10021         * BufferView2.C:
10022         * BufferView_pimpl.C:
10023         * buffer.C:
10024         * converter.C:
10025         * importer.C:
10026         * lyxfunc.C:
10027         * lyxvc.C:
10028         * toc.C:
10029         * vc-backend.C:
10030         changes due to the changed LyXView interface that now returns references
10031         to member variables not pointers.
10032
10033 2002-08-13  Angus Leeming  <leeming@lyx.org>
10034
10035         * WordLangTuple (word, lang_code): return references to strings,
10036         not strings.
10037
10038         * BufferView.h:
10039         * SpellBase.h:
10040         * lyxtext.h: forward-declare WordLangTuple.
10041
10042         * BufferView2.C:
10043         * ispell.C:
10044         * pspell.C:
10045         * text.C: #include "WordLangTuple.h".
10046
10047         * lyxtext.h:
10048         * text.C: (selectNextWordToSpellcheck): constify return type.
10049
10050 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10051
10052         * buffer.C:
10053         * buffer.h:
10054         * lyxtext.h:
10055         * paragraph.C:
10056         * paragraph_pimpl.h:
10057         * text.C:
10058         * text2.C:
10059         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10060         suggested by Angus.
10061         Made updateCounter always count from start of buffer, and removed
10062         second argument (par).
10063         Reverted floats number display to '#'. Perhaps I'll try again when the
10064         code base is sanitized a bit.
10065
10066 2002-08-12  Angus Leeming  <leeming@lyx.org>
10067
10068         * buffer.[Ch] (getLabelList): constify.
10069
10070 2002-08-07  André Pönitz <poenitz@gmx.net>
10071
10072         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10073
10074         * funcrequest.h: extension to keep mouse (x,y) position
10075
10076 2002-08-12  Juergen Vigna  <jug@sad.it>
10077
10078         * BufferView2.C (insertErrors): forbid undo when inserting error
10079         insets.
10080
10081         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10082
10083 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10084
10085         * ParagraphList.[Ch]: new files
10086
10087         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10088
10089         * BufferView2.C (lockInset): ParagraphList changes
10090         * toc.C: ditto
10091         * text2.C: ditto
10092         * bufferlist.C: ditto
10093         * buffer.h: ditto
10094         * buffer.C: ditto
10095
10096 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10097
10098         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10099         unused class variable counter_,
10100
10101         * paragraph.[Ch] (getFirstCounter): delete unused function
10102
10103         * counters.C: include LAssert.h
10104         (reset): add a new function with no arg, change other version to
10105         not have def. arg and to not allow empty arg.
10106
10107         * text2.C (setCounter): remove empty arg from call to Counters::reset
10108
10109 2002-08-11  John Levon  <levon@movementarian.org>
10110
10111         * Makefile.am: add WordLangTuple.h
10112
10113 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10114
10115         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10116         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10117
10118         * insets/insettext.C: InsetList changes
10119
10120         * graphics/GraphicsSupport.C (operator()): InsetList changes
10121
10122         * toc.C (getTocList): InsetList changes
10123
10124         * paragraph_pimpl.[Ch]: InsetList changes
10125
10126         * paragraph.[Ch]: InsetList changes
10127
10128         * buffer.C (inset_iterator): InsetList changes
10129         (setParagraph): ditto
10130         * buffer.h (inset_iterator): ditto
10131         * iterators.C (operator++): ditto
10132         * iterators.h: ditto
10133
10134         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10135
10136         * InsetList.[Ch]: new files, most InsetList handling moved out of
10137         paragraph.C.
10138
10139         * BufferView2.C (removeAutoInsets): InsetList changes
10140         (lockInset): ditto
10141         (ChangeInsets): ditto
10142
10143 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10144
10145         * paragraph_pimpl.h (empty): new function
10146
10147         * paragraph.[Ch] (empty): new function
10148
10149         * other files: use the new Paragraph::empty function
10150
10151 2002-08-09  John Levon  <levon@movementarian.org>
10152
10153         * lyxtext.h: remove unused refresh_height
10154
10155 2002-08-09  John Levon  <levon@movementarian.org>
10156
10157         * Makefile.am:
10158         * sgml.h:
10159         * sgml.C:
10160         * buffer.C:
10161         * paragraph.h:
10162         * paragraph.C: move sgml char escaping out of paragraph
10163
10164         * paragraph.h:
10165         * paragraph.C: remove id setter
10166
10167         * buffer.C:
10168         * paragraph.C:
10169         * paragraph_pimpl.C: remove dead tex_code_break_column
10170
10171         * bufferview_funcs.C: small cleanup
10172
10173         * lyxfunc.C: remove dead proto
10174
10175         * lyxtext.h: make some stuff private. Remove some dead stuff.
10176
10177         * lyxgluelength.C: make as[LyX]String() readable
10178
10179 2002-08-08  John Levon  <levon@movementarian.org>
10180
10181         * LyXAction.h:
10182         * LyXAction.C:
10183         * MenuBackend.C:
10184         * ToolbarDefaults.C:
10185         * lyxfunc.C:
10186         * lyxrc.C:
10187         * toc.C: lyxaction cleanup
10188
10189 2002-08-08  John Levon  <levon@movementarian.org>
10190
10191         * BufferView2.C: small cleanup
10192
10193         * lyxfind.h:
10194         * lyxfind.C: move unnecessary header into the .C
10195
10196 2002-08-08  John Levon  <levon@movementarian.org>
10197
10198         * funcrequest.h: just tedious nonsense
10199
10200         * lyx_main.h:
10201         * lyx_main.C: cleanups
10202
10203         * buffer.C:
10204         * vspace.C: remove dead header lyx_main.h
10205
10206 2002-08-07  Angus Leeming  <leeming@lyx.org>
10207
10208         * Paragraph.[Ch]:
10209         * paragraph_pimpl.h:
10210         Forward declare class Counters in paragraph.h by moving the ctrs member
10211         variable into Paragraph::Pimpl.
10212         (counters): new method, returning a reference to pimpl_->ctrs.
10213
10214         * text2.C: ensuing changes.
10215
10216 2002-08-07  John Levon  <levon@movementarian.org>
10217
10218         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10219
10220         * BufferView_pimpl.C: announce X selection on double/triple
10221           click
10222
10223         * lyx_main.C: use correct bool in batch dispatch
10224
10225         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10226
10227 2002-08-07  André Pönitz <poenitz@gmx.net>
10228
10229         * funcrequest.h: new class to wrap a kb_action and its argument
10230
10231         * BufferView.[Ch]:
10232         * BufferView_pimpl[Ch]:
10233         * LaTeX.C:
10234         * LyXAction.[Ch]:
10235         * lyxfunc.[Ch]:
10236         * lyxrc.C: subsequent changes
10237
10238
10239 2002-08-07  John Levon  <levon@movementarian.org>
10240
10241         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10242           document options change.
10243
10244 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10245
10246         * counters.[Ch]
10247         * text2.C
10248         * paragraph.[Ch]
10249         * makefile.am: move counters functionality over from
10250         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10251
10252 2002-08-06  John Levon  <levon@movementarian.org>
10253
10254         * WordLangTuple.h: new file for word + language code tuple
10255
10256         * SpellBase.h:
10257         * pspell.h:
10258         * pspell.C:
10259         * ispell.h:
10260         * ispell.C:
10261         * lyxtext.h:
10262         * text.C:
10263         * text2.C:
10264         * BufferView.h:
10265         * BufferView2.C: use WordLangTuple
10266
10267         * layout.h:
10268         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10269
10270 2002-08-06  John Levon  <levon@movementarian.org>
10271
10272         * lyx_main.C: fix cmdline batch handling
10273
10274 2002-08-06  André Pönitz <poenitz@gmx.net>
10275
10276         * lyxrc.C: set default for show_banner to true
10277
10278 2002-08-06  John Levon  <levon@movementarian.org>
10279
10280         * pspell.C: fix a crash, and allow new aspell to work
10281
10282 2002-08-06  John Levon  <levon@movementarian.org>
10283
10284         * lyxfunc.C:
10285         * kbmap.C: small cleanup
10286
10287         * vspace.h:
10288         * vspace.C: add const
10289
10290 2002-08-05  John Levon  <levon@movementarian.org>
10291
10292         * LyXAction.C: back to tabular-insert
10293
10294 2002-08-04  John Levon  <levon@movementarian.org>
10295
10296         * BufferView.h:
10297         * BufferView.C: cosmetic change
10298
10299         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10300
10301         * bufferlist.C:
10302         * buffer.h:
10303         * buffer.C:
10304         * lyxcb.h:
10305         * lyxcb.C:
10306         * lyxserver.C:
10307         * lyxvc.C:
10308         * vc-backend.C:
10309         * BufferView2.C: purge all "Lyx" not "LyX" strings
10310
10311         * lyxcursor.h:
10312         * lyxcursor.C: attempt to add some documentation
10313
10314         * lyxfunc.C:
10315         * commandtags.h:
10316         * LyXAction.C:
10317         * ToolbarDefaults.C:
10318         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10319           merge with LFUN_TABULAR_INSERT
10320
10321         * Makefile.am:
10322         * SpellBase.h:
10323         * ispell.h:
10324         * ispell.C:
10325         * pspell.h:
10326         * pspell.C: split up i/pspell implementations into separate
10327           files, many cleanups
10328
10329         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10330
10331         * text2.C: some cleanup
10332
10333         * lyxfunc.C: don't check for isp_command == "none" any more, it
10334           didn't make any sense
10335
10336 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10337
10338         * counters.[Ch]
10339         * text2.C
10340         * paragraph.[Ch]
10341         * makefile.am: move counters functionality over
10342         from text2.C/paragraph.[Ch] to counters.[Ch], and
10343         make proper C++.
10344 2002-08-02  John Levon  <levon@movementarian.org>
10345
10346         * buffer.C: s/lyxconvert/lyx2lyx/
10347
10348 2002-08-02  Angus Leeming  <leeming@lyx.org>
10349
10350         * lyxlex.C: revert John's change as it breaks reading of the user
10351         preamble.
10352
10353 2002-08-02  Angus Leeming  <leeming@lyx.org>
10354
10355         * importer.C (Import):
10356         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10357         changes due to LyXView::view() now returning a boost::shared_ptr.
10358
10359 2002-08-02  John Levon  <levon@movementarian.org>
10360
10361         * lyxlex.C: small cleanup
10362
10363 2002-08-02  John Levon  <levon@movementarian.org>
10364
10365         * text2.C (status): small cleanup, no logic change
10366
10367 2002-08-01  John Levon  <levon@movementarian.org>
10368
10369         * buffer.h:
10370         * buffer.C (writeFile): don't output alerts, caller
10371           handles this
10372
10373         * bufferlist.C:
10374         * lyx_cb.C: from above
10375
10376         * lyxfunc.C: allow to open non-existent files
10377
10378 2002-07-31  John Levon  <levon@movementarian.org>
10379
10380         * lyxserver.C: don't let incidental errors get
10381           in the way (errno)
10382
10383 2002-07-30  John Levon  <levon@movementarian.org>
10384
10385         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10386
10387 2002-07-30  John Levon  <levon@movementarian.org>
10388
10389         * lyxserver.h:
10390         * lyxserver.C: remove I/O callback too
10391
10392 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10395         log.
10396
10397 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10398
10399         * many files: strip,frontStrip -> trim,ltrim,rtrim
10400
10401 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10402
10403         * PrinterParams.h: remove extern containsOnly, and include
10404         support/lstrings.h instead.
10405
10406         * LaTeX.C (scanAuxFile): modify because of strip changes
10407         (deplog): ditto
10408         * buffer.C (makeLaTeXFile): ditto
10409         * bufferparams.C (writeFile): ditt
10410         * lyxfont.C (stateText): ditto
10411         * lyxserver.C (read_ready): ditto
10412         * vc-backend.C (scanMaster): ditto
10413
10414         * BufferView_pimpl.h: ws changes
10415
10416         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10417
10418 2002-07-26  André Pönitz <poenitz@gmx.net>
10419
10420         * kb_sequence.C: remove unnedred usings
10421
10422 2002-07-26  Juergen Vigna  <jug@sad.it>
10423
10424         * lyxfind.C (LyXReplace): we have to check better if the returned
10425         text is not of theLockingInset()->getLockingInset().
10426
10427 2002-07-25  Juergen Vigna  <jug@sad.it>
10428
10429         * lyxfind.C (LyXReplace): don't replace if we don't get the
10430         right LyXText.
10431
10432         * undo_funcs.C (createUndo): remove debugging code.
10433
10434 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10435
10436         * buffer.C (parseSingleLyXformat2Token): Use default placement
10437         when reading old floats.
10438
10439         * FloatList.C (FloatList): Change the default placement of figure
10440         and tables to "tbp".
10441
10442 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * MenuBackend.C: using std::max
10445
10446 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * MenuBackend.C (expandToc):
10449         (expandToc2): code moved from xforms menu frontend. It is now
10450         generic and TOCs are transparent to menu frontends.
10451
10452 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * toc.C (getTocList): protect against buf=0
10455
10456         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10457         Menu as first parameter. Now, this calls itself recursively to
10458         expand a whole tree (this will be useful for TOC handling)
10459         (expandFloatInsert): remove 'wide' version of floats
10460
10461         * MenuBackend.h (submenuname): returns the name of the submenu.
10462         (submenu): returns the submenu itself, provided it has been
10463         created by MenuBackend::expand
10464
10465 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10466
10467         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10468         insets which have noFontChange == true. (bug #172)
10469
10470 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10471
10472         * BufferView_pimpl.C: add connection objects and use them...
10473         (Pimpl): here.
10474
10475 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10476
10477         * MenuBackend.C (expandLastfiles):
10478         (expandDocuments):
10479         (expandFormats):
10480         (expandFloatListInsert):
10481         (expandFloatInsert):
10482         (expand): split expand in parts
10483
10484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * lyx_gui.C: use lyx_gui::exit()
10487
10488 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * LyXAction.C: show the failing pseudo action
10491
10492 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10493
10494         * buffer.C (readFile): Run the lyxconvert script in order to read
10495         old files.
10496
10497 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * LyXAction.C:
10500         * commandtags.h:
10501         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10502
10503 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10504
10505         * LyXAction.C:
10506         * commandtags.h:
10507         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10508
10509 2002-07-22  Herbert Voss  <voss@lyx.org>
10510
10511         * lengthcommon.C:
10512         * lyxlength.[Ch]: add support for the vertical lengths
10513
10514 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * toc.[Ch]: std:: fixes
10517
10518 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * lyxrc.C: do not include lyx_main.h
10521
10522         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10523         for layouts
10524
10525         * lyxrc.C:
10526         * encoding.C:
10527         * bufferlist.C:
10528         * BufferView2.C: include "lyxlex.h"
10529
10530         * tabular.h:
10531         * bufferparams.h: do not #include "lyxlex.h"
10532
10533         * lyxtextclasslist.C (Add): remove method
10534         (classlist): renamed to classlist_
10535
10536         * paragraph_pimpl.C:
10537         * paragraph.C:
10538         * text2.C:
10539         * CutAndPaste.C:
10540         * bufferview_funcs.C:
10541         * bufferlist.C:
10542         * text.C:
10543         * LaTeXFeatures.C:
10544         * buffer.C:
10545         * toc.C (getTocList): use BufferParams::getLyXTextClass
10546
10547         * toc.C (getTocList): use InsetFloat::addToToc
10548
10549         * toc.[Ch]: new files, containing helper functions to handle table
10550         of contents
10551
10552         * lyxfunc.C (dispatch): no need to remove spaces around command
10553         given as a string
10554         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10555         first command of the sequence; it is not very clever, but I do not
10556         have a better idea, actually
10557
10558         * LyXAction.C (LookupFunc): make sure to remove space at the
10559         beginning and end of the command
10560
10561 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * MenuBackend.C (getMenubar): new method: return the menubar of
10564         this menu set
10565         (read): treat differently reading of menu and menubar (in
10566         particular, the menubar has no name now)
10567         (Menu::menubar): remove
10568
10569         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10570         saving is finished
10571
10572 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10573
10574         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10575         a bibitem inset in a RTL paragraph.
10576
10577 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * paragraph_pimpl.C: constify
10580
10581         * BufferView_pimpl.C:
10582         * LaTeX.C:
10583         * lyxfunc.C: fix dispatch in a nicer way
10584
10585 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfunc.C (dispatch):
10588         * BufferView_pimpl.C:
10589         * BufferView_pimpl.h:
10590         * BufferView.C:
10591         * BufferView.h: rename Dispatch() to dispatch()
10592
10593         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10594
10595         * lyxlayout.C (Read): honor DependsOn tag
10596
10597         * lyxlayout.[Ch] (depends_on): new method
10598
10599         * version.C.in: update lyx_docversion
10600
10601         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10602
10603         * paragraph.C (validate): remove from here...
10604         * paragraph_pimpl.C (validate): ... and move here
10605         (isTextAt): make it const
10606
10607         * buffer.C (getLists): ws cleanup
10608
10609 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * language.C (read): Use iso8859-1 encoding in latex_lang
10612         (this prevents LyX from crashing when using iso10646-1 encoding).
10613
10614 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * text2.C (toggleInset): if cursor is inside an inset, close the
10617         inset and leave cursor _after_ it
10618
10619 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * lyxfunc.C: move minibuffer completion handling out of here
10622
10623 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * BufferView_pimpl.C:
10626         * LaTeX.C: fix dispatch calls
10627
10628 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * text.C (drawChars): Fix Arabic text rendering.
10631
10632 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * LyXAction.C:
10635         * commandtags.h:
10636         * lyxfunc.C: remove message-push/pop
10637
10638         * lyxserver.C:
10639         * lyxfunc.h:
10640         * lyxfunc.C: rationalise some code by removing verboseDispatch
10641           in favour of a bool argument to dispatch()
10642
10643 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * lyx_main.C (init): make sure to read symlinks as absolute paths
10646
10647 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * lyxfunc.h:
10650         * lyxfunc.C: no need for commandshortcut to be a member
10651
10652 2002-07-15  André Pönitz <poenitz@gmx.net>
10653
10654         * converter.C: add support for $$s (scripts from lib/scripts dir)
10655         * lyx_main.C: white space
10656
10657 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * bufferlist.C:
10660         * lyxrc.h:
10661         * lyxrc.C: remove second exit confirmation
10662
10663 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * BufferView.h:
10666         * BufferView.C:
10667         * BufferView2.C:
10668         * BufferView_pimpl.h:
10669         * BufferView_pimpl.C:
10670         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10671
10672 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10673
10674         * MenuBackend.C (expand): add numeric shortcuts to document menu
10675
10676         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10677
10678 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxfont.C (setLyXFamily):
10681         (setLyXSeries):
10682         (setLyXShape):
10683         (setLyXSize):
10684         (setLyXMisc):
10685         (lyxRead):
10686         * debug.C (value):
10687         * buffer.C (asciiParagraph): use ascii_lowercase
10688
10689 2002-07-15  Mike Fabian  <mfabian@suse.de>
10690
10691         * lyxlex_pimpl.C (search_kw):
10692         * lyxlex.C (getLongString):
10693         * converter.h (operator<):
10694         * converter.C (operator<):
10695         * buffer.C (parseSingleLyXformat2Token):
10696         (asciiParagraph):
10697         * ToolbarDefaults.C (read):
10698         * MenuBackend.C (checkShortcuts):
10699         (read):
10700         * LColor.C (getFromGUIName):
10701         (getFromLyXName): use the compare_ascii_no_case instead of
10702         compare_no_case, because in turkish, 'i' is not the lowercase
10703         version of 'I', and thus turkish locale breaks parsing of tags.
10704
10705 2002-07-16  Angus Leeming  <leeming@lyx.org>
10706
10707         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10708         now takes a Buffer const & argument.
10709
10710 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * BufferView.C (resize): check there's a buffer to resize
10713
10714 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * lyxfunc.C: remove dead code
10717
10718         * lyxserver.h:
10719         * lyxserver.C: use lyx_guii::set_read_callback
10720
10721 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10722
10723         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10724         an inset in a RTL paragraph.
10725
10726 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * lyxfunc.C: repaint after a font size update
10729
10730 2002-07-15  André Pönitz <poenitz@gmx.net>
10731
10732         * lyxlength.C: inBP should be able to return negative values
10733
10734 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * lyxfunc.C: use lyx_gui::update_fonts()
10737
10738 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * lyxfunc.C: use lyx_gui::update_color()
10741
10742 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * bufferlist.C:
10745         * lyxfunc.h:
10746         * lyxfunc.C:
10747         * lyxrc.h:
10748         * lyxrc.C: remove file->new asks for name option, and let
10749           buffer-new take an argument
10750
10751 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * BufferView_pimpl.C: remove unneeded extra repaint()
10754
10755 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * LyXAction.C: allow command-sequence with NoBuffer
10758
10759         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10760
10761 2002-07-10  Angus Leeming  <leeming@lyx.org>
10762
10763         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10764
10765 2002-07-09  Angus Leeming  <leeming@lyx.org>
10766
10767         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10768
10769 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * lengthcommon.h: whitespace
10772
10773         * lyxfunc.C: update scrollbar after goto paragraph
10774
10775         * lyxtext.h: factor out page break drawing, and fix it so
10776           page break/added space paints as selected nicely
10777
10778 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * BufferView_pimpl.C: add FIXMEs, clean up a little
10781
10782 2002-07-09  André Pönitz <poenitz@gmx.net>
10783
10784         * lyxfont.[Ch]: support for wasy symbols
10785
10786 2002-07-08  André Pönitz <poenitz@gmx.net>
10787
10788         * BufferView_pimpl.C: apply John's patch for #93.
10789
10790 2002-07-05  Angus Leeming  <leeming@lyx.org>
10791
10792         * BufferView_pimpl.C (buffer): generate previews if desired.
10793
10794         * LColor.h: add "preview" to the color enum.
10795
10796         * LColor.C (LColor): add a corresponding entry to the items array.
10797
10798         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10799         with this buffer.
10800
10801 2002-07-05  Angus Leeming  <leeming@lyx.org>
10802
10803         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10804         The body of the code is now in the method that is passed an ostream &
10805         rather than a file name.
10806         Pass an additional only_preamble parameter, useful for the forthcoming
10807         preview stuff.
10808
10809 2002-07-03  André Pönitz <poenitz@gmx.net>
10810
10811         * lyxfunc.C: simplify getStatus() a bit for math stuff
10812
10813 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10816
10817 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * text.C (changeRegionCase): do not change case of all the
10820         document when region ends at paragraph end (bug #461)
10821
10822 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10823
10824         * paragraph.C (startTeXParParams):
10825         (endTeXParParams): add \protect when necessary
10826
10827 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * BufferView_pimpl.C (workAreaExpose): remove warning
10830
10831 2002-06-27  Angus Leeming  <leeming@lyx.org>
10832
10833         * Makefile.am: add lyxlayout_ptr_fwd.h.
10834
10835 2002-06-26  André Pönitz <poenitz@gmx.net>
10836
10837         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10838
10839 2002-06-25  Angus Leeming  <leeming@lyx.org>
10840
10841         * lyxfunc.C (dispatch): Comment out the call to
10842         grfx::GCache::changeDisplay. The method no longer exists now that the
10843         pixmap generation part of the graphics loader has been moved into
10844         InsetGraphics.
10845
10846 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * text2.C: layout as layout
10849
10850         * text.C: layout as layout
10851
10852         * tabular.C (OldFormatRead): layout as layout
10853
10854         * paragraph_pimpl.C (TeXDeeper): layout as layout
10855         (realizeFont): layout as layout
10856
10857         * paragraph.C (writeFile): layout as layout
10858         (validate): layout as layout
10859         (getFont): layout as layout
10860         (getLabelFont): layout as layout
10861         (getLayoutFont): layout as layout
10862         (breakParagraph): layout as layout
10863         (stripLeadingSpaces): layout as layout
10864         (getEndLabel): layout as layout
10865         (getMaxDepthAfter): layout as layout
10866         (applyLayout): layout as layout
10867         (TeXOnePar): layout as layout
10868         (simpleTeXOnePar): layout as layout
10869         (TeXEnvironment): layout as layout
10870         (layout): layout as layout
10871         (layout): layout as layout
10872
10873         * lyxtextclass.C (compare_name): new functor to work with
10874         shared_ptr, layout as layout
10875         (Read): layout as layout
10876         (hasLayout): layout as layout
10877         (operator): layout as layout
10878         (delete_layout): layout as layout
10879         (defaultLayout): layout as layout
10880
10881         * lyxlayout_ptr_fwd.h: new file
10882
10883         * lyxlayout.C (Read): layout as layout
10884
10885         * lyx_cb.C (MenuInsertLabel): layout as layout
10886
10887         * bufferlist.C (newFile): layout as layout
10888
10889         * buffer.C (readLyXformat2): layout as layout
10890         (parseSingleLyXformat2Token): layout as layout
10891         (insertStringAsLines): layout as layout
10892         (asciiParagraph): layout as layout
10893         (latexParagraphs): layout as layout
10894         (makeLinuxDocFile): layout as layout
10895         (simpleLinuxDocOnePar): layout as layout
10896         (makeDocBookFile): layout as layout
10897         (simpleDocBookOnePar): layout as layout
10898         (getLists): layout as layout
10899
10900         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10901
10902         * CutAndPaste.C (cutSelection): layout as layout
10903         (pasteSelection): layout as layout
10904         (SwitchLayoutsBetweenClasses): layout as layout
10905
10906         * BufferView_pimpl.C (Dispatch): layout as layout
10907         (smartQuote): layout as layout
10908
10909         * BufferView2.C (unlockInset): layout as layout
10910
10911 2002-06-24  André Pönitz <poenitz@gmx.net>
10912
10913         * lyxfunc.C: fix #487
10914
10915 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * lyxrc.h:
10918         * lyxrc.C:
10919         * lyxfunc.C: remove display_shortcuts, show_banner
10920
10921 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * Buffer_pimpl.C: oops, update on resize
10924
10925 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * buffer.C:
10928         * converter.C:
10929         * exporter.C:
10930         * lyxfunc.C:
10931         * BufferView.h:
10932         * BufferView.C: use repaint()
10933
10934         * BufferView_pimpl.h:
10935         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10936           as it's a clearer description. Remove superfluous
10937           redraws.
10938
10939 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10940
10941         * text.C: fix bug 488. Not ideal, but getting
10942           getWord() to work properly for the insets that
10943           matter is more difficult ...
10944
10945 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * BufferView_pimpl.C:
10948         * LyXAction.C:
10949         * commandtags.h:
10950         * lyxfunc.C: remove the six million index lyxfuncs to just
10951           one, and DTRT (bug 458)
10952
10953 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView.h:
10956         * BufferView.C:
10957         * BufferView_pimpl.h:
10958         * BufferView_pimpl.C: clean up resize() stuff,
10959           and unnecessary updateScreen()s
10960
10961 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView.h:
10964         * BufferView.C:
10965         * BufferView_pimpl.h:
10966         * BufferView_pimpl.C:
10967         * lyxfind.h:
10968         * lyxfind.C:
10969         * minibuffer.C: remove focus management of workarea,
10970           not needed. Use screen's greyOut()
10971
10972 2002-06-17  Herbert Voss  <voss@lyx.org>
10973
10974         * converter.C: (convert) do not post a message, when converting
10975         fails, let the calling function decide what to do in this case
10976
10977 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxfunc.C: tidy up a little
10980
10981 2002-06-16    <alstrup@diku.dk>
10982
10983         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10984         Got rid of FORMS_H_LOCATION include. Now we are
10985         GUII.
10986
10987 2002-06-15  LyX Development team  <lyx@rilke>
10988
10989         * buffer.[Ch] (sgmlOpenTag):
10990         (sgmlCloseTag): Added support for avoiding pernicious mixed
10991         content. Return number of lines written.
10992
10993         (makeLinuxDocFile):
10994         (makeDocBookFile): Fixed calls to sgml*Tag.
10995         Simple white space clean.
10996
10997         (simpleDocBookOnePar): Simple white space clean.
10998
10999         * tabular.[Ch] (docBook): Renamed to docbook and got another
11000         argument to related with the pernicious mixed content.
11001
11002         (docbookRow): Fixed calls for docbook inset method.
11003
11004 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11005
11006         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11007         so it's X11 independent.
11008
11009         * kb*.[Ch]: ditto.
11010
11011         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11012
11013 2002-06-15  Lyx Development team  <lyx@electronia>
11014
11015         * intl.h: Renamed getTrans to getTransManager.
11016
11017 2002-06-14  Angus Leeming  <leeming@lyx.org>
11018
11019         * Makefile.am: nuke forgotten stl_string_fwd.h.
11020
11021 2002-06-12  Angus Leeming  <leeming@lyx.org>
11022
11023         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11024
11025 2002-06-13  Angus Leeming  <leeming@lyx.org>
11026
11027         * LaTeX.C:
11028         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11029
11030 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11031
11032         * kbmap.C (getiso): add support for cyrillic and greek
11033
11034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * BufferView.h:
11037         * BufferView.C:
11038         * BufferView_pimpl.h:
11039         * BufferView_pimpl.C: move bogus scrolling logic
11040           to xforms
11041
11042 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * lyxfunc.C:
11045         * BufferView_pimpl.C: view->resize() change
11046
11047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * BufferView_pimpl.C: topCursorVisible
11050           prototype change
11051
11052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * Makefile.am:
11055         * lyx_gui.h:
11056         * lyx_gui.C: move to frontends/
11057
11058         * main.C:
11059         * lyx_main.h:
11060         * lyx_main.C: changes from above
11061
11062 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * intl.C:
11065         * intl.h:
11066         * kbmap.C:
11067         * kbsequence.C:
11068         * lyx_cb.C:
11069         * lyx_main.C: minor tidy
11070
11071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11072
11073         * BufferView_pimpl.h:
11074         * BufferView_pimpl.C:
11075         * BufferView.h:
11076         * BufferView.C: make painter() const,
11077           remove dead code
11078
11079         * BufferView2.C: use screen() accessor
11080
11081         * lyx_main.h:
11082         * lyx_main.C: some minor cleanup
11083
11084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * BufferView_pimpl.h:
11087         * BufferView_pimpl.C: remove enter/leaveView,
11088           use workHeight()
11089
11090 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * BufferView.h:
11093         * BufferView.C:
11094         * BufferView2.C:
11095         * BufferView_pimpl.h:
11096         * BufferView_pimpl.C: only construct screen once,
11097           rename
11098
11099         * lyxrc.C: remove pointless comment
11100
11101 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * BufferView.h:
11104         * BufferView.C: remove active() and belowMouse()
11105
11106         * BufferView_pimpl.h:
11107         * BufferView_pimpl.C: use workarea() not workarea_,
11108           and make it use a scoped_ptr instead
11109
11110 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * lyx_gui.C: add debug message on BadWindow
11113
11114 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * sp_spell.C: fdopen is not part of the C++ standard.
11117
11118         * paragraph.C (InsetIterator): use >= instead of ==
11119
11120 2002-06-07  Angus Leeming  <leeming@lyx.org>
11121
11122         Fixes needed to compile with Compaq cxx 6.5.
11123         * BufferView_pimpl.C:
11124         * DepTable.C:
11125         * buffer.C:
11126         * converter.C:
11127         * encoding.C:
11128         * lyx_gui.C:
11129         * lyx_main.C:
11130         * lyxtextclasslist.C:
11131         * minibuffer.C:
11132         * sp_spell.C:
11133         * tabular_funcs.C:
11134         * vc-backend.C:
11135         all c-library variables have been moved into namespace std. Wrap
11136         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11137
11138         * lyxlength.C:
11139         * tabular-old.C:
11140         * tabular.C:
11141         Add a using std::abs declaration.
11142
11143         * kbmap.h (modifier_pair):
11144         * paragraph.h (InsetTable, InsetList):
11145         * lyxfont.h (FontBits):
11146         type definition made public.
11147
11148         * bufferlist.C (emergencyWriteAll): the compiler complains that
11149         there is more than one possible lyx::class_fun template to choose from.
11150         I re-named the void specialisation as lyx::void_class_fun.
11151
11152         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11153
11154         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11155         the compiler is is unable to find tostr in write_attribute.
11156
11157 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11158
11159         * buffer.C (sgmlError): hide #warning
11160
11161 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11162
11163         * xtl/*: get rid of xtl, which is not in use anyway
11164
11165         * LyXAction.C (init):
11166         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11167         were unimplemented xtl experimentation
11168
11169 2002-06-04  André Pönitz <poenitz@gmx.net>
11170
11171         * lyxfunc.C: disable array operation on simple formulae
11172
11173 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * converter.C: constify a bit
11176
11177 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * lyx_gui.C: check xforms version correctly
11180
11181 2002-04-30  Herbert Voss  <voss@lyx.org>
11182
11183         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11184         "keep" option
11185
11186 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11189           attempt to register it with a VCS)
11190
11191 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11192
11193         * lyx_main.C (init): honor variables LYX_DIR_13x and
11194         LYX_USERDIR_13x
11195
11196 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * buffer.h:
11199         * buffer.C:
11200         * lyx_main.C: fix a crash on bad command line,
11201           and give a useful exit status on error
11202
11203         * lyxfunc.C (doImport): allow -i lyx to work
11204
11205 2002-03-30  André Pönitz <poenitz@gmx.net>
11206
11207         * lyxfunc.C: mathed font changes
11208
11209 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * LaTeX.C:
11212         * importer.h:
11213         * importer.C:
11214         * lyx_sty.h:
11215         * lyx_sty.C:
11216         * lyxlex.C:
11217         * lyxrow.h:
11218         * lyxtext.h:
11219         * paragraph.h:
11220         * paragraph.C:
11221         * texrow.h:
11222         * texrow.C:
11223         * text.C:
11224         * trans_mgr.h: srcdocs, and some minor cleanups
11225
11226 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11227
11228         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11229         call getFont all the time)
11230
11231 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * switch from SigC signals to boost::signals
11234
11235 2002-05-29  André Pönitz <poenitz@gmx.net>
11236
11237         * paragraph_pimpl.C (getChar): don't call size() too often...
11238
11239 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * paragraph_pimpl.C (insertChar): do not try to update tables when
11242         appending (pos == size())
11243
11244         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11245         in order to reduce drastically the number of comparisons needed to
11246         parse a large document
11247
11248 2002-05-29  André Pönitz <poenitz@gmx.net>
11249
11250         * text.C:
11251         * text2.C:
11252         * lyxtextclass.C:
11253         * sp_pspell.h:
11254         * textclasslist.[Ch]:
11255         * sp_ispell.h: whitespace change
11256
11257 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11260         lyxaction directly now.
11261
11262 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * trans.C:
11265         * lyxfont.C:
11266         * lyxvc.C: remove unused headers
11267
11268 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * Makefile.am:
11271         * buffer.h:
11272         * undostack.h:
11273         * undostack.C:
11274         * undo_funcs.h:
11275         * undo_funcs.C: some cleanups. Use shared_ptr
11276           and a template for the undo stacks.
11277
11278 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * BufferView_pimpl.h:
11281         * BufferView_pimpl.C:
11282         * kbmap.h:
11283         * kbmap.C:
11284         * kbsequence.h:
11285         * kbsequence.C:
11286         * lyxfunc.h:
11287         * lyxfunc.C:
11288         * text2.C: use key_state/mouse_state
11289
11290 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11291
11292         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11293         and LSubstring
11294
11295         * chset.C: change include order
11296         (loadFile): use boost regex and get rid of LRegex and LSubstring
11297
11298         * Makefile.am (BOOST_LIBS): new variable
11299         (lyx_LDADD): use it
11300
11301         * LaTeX.C: change include order.
11302         (scanAuxFile): use boost regex and get rid of LRegex and
11303         LSubstring
11304         (deplog): ditto
11305
11306 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * ColorHandler.h:
11309         * ColorHandler.C:
11310         * FontInfo.h:
11311         * FontInfo.C: moved to frontends/xforms/
11312
11313         * FontLoader.h:
11314         * FontLoader.C: moved into frontends for GUIIzation
11315
11316         * Makefile.am:
11317         * lyx_gui.C:
11318         * lyxfont.C:
11319         * lyxfunc.C: changes from above
11320
11321 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * LColor.C: remove spurious X include
11324
11325         * BufferView_pimpl.C:
11326         * Makefile.am:
11327         * font.h:
11328         * font.C:
11329         * text.C:
11330         * text2.C: move font metrics to frontends/
11331
11332 2002-05-24  Juergen Vigna  <jug@sad.it>
11333
11334         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11335         setting the undo_cursor.
11336
11337         * ParagraphParameters.h: include local includes first.
11338
11339 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * BufferView_pimpl.C:
11342         * BufferView_pimpl.h:
11343         * Makefile.am:
11344         * WorkArea.h:
11345         * WorkArea.C:
11346         * screen.C: move WorkArea into frontends/
11347
11348         * lyxscreen.h:
11349         * screen.C:
11350         * text.C:
11351         * BufferView.C:
11352         * BufferView2.C: move LyXScreen into frontends/
11353
11354         * lyxlookup.h:
11355         * lyxlookup.C:
11356         * lyx_gui.C: move lyxlookup into frontends/xforms/
11357
11358 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView2.C:
11361         * BufferView_pimpl.C:
11362         * FontLoader.C:
11363         * LyXView.h:
11364         * LyXView.C:
11365         * Makefile.am:
11366         * WorkArea.C:
11367         * XFormsView.h:
11368         * XFormsView.C:
11369         * buffer.C:
11370         * bufferlist.C:
11371         * bufferview_funcs.C:
11372         * converter.C:
11373         * importer.C:
11374         * lyx_cb.C:
11375         * lyx_gui.C:
11376         * lyx_main.C:
11377         * lyx_find.C:
11378         * lyxfunc.C:
11379         * lyxvc.C:
11380         * minibuffer.C:
11381         * text.C:
11382         * text2.C:
11383         * trans.C:
11384         * vc-backend.C: move LyX/XFormsView into frontends/
11385
11386 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * Makefile.am:
11389         * PainterBase.C:
11390         * PainterBase.h:
11391         * Painter.C:
11392         * Painter.h:
11393         * WorkArea.C:
11394         * WorkArea.h:
11395         * screen.C:
11396         * tabular.C:
11397         * text.C:
11398         * text2.C: move Painter to frontends/
11399
11400 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * buffer.C: comment out some some code that depend upon lyx_format
11403         < 220
11404
11405         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11406         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11407
11408         * buffer.h (NO_COMPABILITY): turn off compability
11409
11410         * ColorHandler.C: include scoped_array.hpp
11411
11412         * font.C: Use more specific smart_ptr header.
11413         * Painter.C: ditto
11414         * gettext.C: ditto
11415         * ShareContainer.h: ditto
11416         * lyx_main.h: ditto
11417         * kbmap.h: ditto
11418         * FontInfo.h: ditto
11419         * BufferView_pimpl.h: ditto
11420         * ColorHandler.h: ditto
11421
11422         * kbmap.C (defkey): change call to shared_ptr::reset
11423
11424 2002-05-21  Juergen Vigna  <jug@sad.it>
11425
11426         * buffer.C (insertErtContents): fix to insert ert asis if it is
11427         non empty. Skip it completely if it contains only whitespaces.
11428
11429 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * BufferView_pimpl.C:
11432         * BufferView2.C: clear selection on paste (bug 393)
11433
11434 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * DepTable.C: include ctime
11437
11438 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11439
11440         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11441
11442 2002-05-14  Juergen Vigna  <jug@sad.it>
11443
11444         * text.C (breakParagraph): fixed function to honor the keepempty
11445         layout in the right maner and also to permit the right breaking
11446         algorithm on empty or non empyt keepempty paragraphs.
11447
11448         * paragraph.C (breakParagraph): we have to check also if the par
11449         is really empty (!size()) for isempty otherwise we do the wrong
11450         paragraph break.
11451
11452 2002-05-10  Juergen Vigna  <jug@sad.it>
11453
11454         * buffer.[Ch] : The following are only changes to the ert
11455         compatibility read reading old LaTeX layout and font stuff and
11456         convert it to ERTInsets.
11457
11458         * buffer.h: added isErtInset().
11459
11460         * buffer.C (struct ErtComp): add a fromlayout bool to check
11461         if we're inside a LaTeX layout.
11462         (isErtInset): new helper function.
11463         (insertErtContents): look for other ert insets before this one
11464         and insert the contents there, so that we don't have subsequent
11465         ERT insets with nothing between them. This way we create only one
11466         inset with multiple paragraphs. Also check if we don't insert only
11467         spaces ' ' as they are ignored anyway afterwards in the .tex file
11468         so if we have only spaces we will ignore this latex part in the
11469         new file.
11470         (parseSingleLyXformat2Token \\layout): better compatibility when
11471         reading layout-latex stuff.
11472         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11473         language tag.
11474         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11475         stuff after reading the inset only get the information back from
11476         the stack.
11477
11478 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11481
11482         * LaTeXFeatures.C (getBabelOptions): New method.
11483
11484 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * BufferView_pimpl.C (Dispatch): work around missing argument for
11487         'layout'
11488
11489 2002-05-08  Juergen Vigna  <jug@sad.it>
11490
11491         * text.C (leftMargin): handle paragraph leftindent.
11492
11493         * paragraph.C (writeFile): write the new \\leftindent tag.
11494         (validate): handle leftindent code.
11495         (TeXEnvironment): handle paragraphleftindent code again.
11496
11497         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11498
11499         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11500         for paragrap_extra indent code and new token \\leftindent.
11501         (latexParagraphs): handle the leftindent as environment.
11502
11503         * ParameterStruct.h: added leftindent support.
11504
11505         * ParagraphParameters.C (leftIndent): added support functions for
11506         the paragraph left indent.
11507
11508         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11509         more appropriate.
11510
11511 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11512
11513         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11514         inside insetERT.
11515
11516         * text.C (computeBidiTables): No bidi in insetERT.
11517
11518         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11519         in RTL documents.
11520
11521 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * version.C.in: pre 5
11524
11525 2002-05-02  José Matos  <jamatos@fep.up.pt>
11526         * buffer.C (makeDocBookFile): white space changes, add newline to
11527         command styles.
11528         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11529
11530         * tabular.C (docBook): fix typo.
11531
11532 2002-05-03  Juergen Vigna  <jug@sad.it>
11533
11534         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11535         change in LyXText as we can not be sure it was not freed.
11536         (drawOneRow): remove unused code.
11537
11538         * text.C (drawInset): redo the calculation of the need_break_row as
11539         it could have a row which was already freed.
11540         (draw): look at the return value of drawInset and return false if
11541         it also returned false.
11542         (paintRowText): look at the return value of draw and return false if
11543         it also returned false.
11544
11545         * lyxtext.h: added bool return type to drawInset() and draw() so that
11546         if we have a change in the row so that the rowbreak has to be redone
11547         we abort drawing as it will be called again.
11548
11549 2002-05-02  Juergen Vigna  <jug@sad.it>
11550
11551         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11552         a change in the maintext also if we're inside an inset.
11553         (Dispatch): set the cursor again after a break line and after the
11554         screen has been updated as it could be we're in a different row.
11555
11556         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11557         to set the cursor behind the pargraph with > size().
11558         (setCursor): check also for the same paragraph when checking where
11559         to put the cursor if we have a NFR inset.
11560
11561         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11562         parts of layout read further up as it still was in the wrong
11563         position.
11564
11565 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * screen.C (drawFromTo): change sine fullRebreak always return
11568         true.
11569
11570         * buffer.C (parseSingleLyXformat2Token): reindent some
11571
11572         * BufferView_pimpl.C (update): change since fullRebreak always
11573         return true.
11574         (Dispatch): git rid of the last hardcoded "Standard"s.
11575
11576 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * text2.[Ch] (fullRebreak): make it return void now that we always
11579         returned true.
11580
11581 2002-04-30  Juergen Vigna  <jug@sad.it>
11582
11583         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11584         ert compatibility check for "latex" layout.
11585
11586 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11587
11588         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11589         minipages: use col% instead of p%, and also use the current font.
11590         (makeLaTeXFile): Fix use babel condition.
11591         (parseSingleLyXformat2Token): Correct font when reading old floats.
11592
11593 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11594
11595         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11596         inserting list of floats.
11597
11598 2002-04-25  Herbert Voss  <voss@lyx.org>
11599
11600         * MenuBackend.C (expand): don't add the graphics extensions to the
11601         export menu
11602
11603 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11606         non-existing layout, do not complain if it was the default layout
11607         of the original class (bug #342)
11608
11609 2002-04-24  Juergen Vigna  <jug@sad.it>
11610
11611         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11612         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11613
11614 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11615
11616         * buffer.C (getBibkeyList): If using \bibliography, return the
11617         option field with the reference itself. Enables us to provide natbib
11618         support when using \bibliography.
11619
11620 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11621
11622         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11623
11624         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11625         natbib is provided by the LaTeX class.
11626
11627 2002-04-23  Juergen Vigna  <jug@sad.it>
11628
11629         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11630         Wakeup functions.
11631
11632         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11633
11634 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11637
11638         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11639         ensuremath around textordmasculine, textordfeminine and
11640         textdegree.
11641
11642 2002-04-19  Juergen Vigna  <jug@sad.it>
11643
11644         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11645         reinitializing the buffer otherwise row-dimensions may be wrong.
11646         (update): reset also the selection cursors if they do exits otherwise
11647         their x/y positions may be wrong.
11648
11649         * text2.C (cursorDown): don't enter the inset if we came from a row
11650         above and are one row over the inset.
11651
11652         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11653         really leaving an inset.
11654
11655 2002-04-18  Juergen Vigna  <jug@sad.it>
11656
11657         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11658         of the selected paragraph does not have the selected layout also if
11659         the last one had!
11660
11661         * text2.C (setLayout): fixed bug which did not change last selected
11662         paragraph.
11663
11664         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11665         changed the read and substituted \\end_float with \\end_inset!
11666
11667         * BufferView_pimpl.C (cursorPrevious):
11668         (cursorNext): fixed to make it work with rows heigher than the work
11669         area without moving the cursor only the draw of the row.
11670         (workAreaMotionNotify): fix jumping over high rows.
11671
11672 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11675         Ressler.
11676
11677 2002-04-16  Juergen Vigna  <jug@sad.it>
11678
11679         * text2.C (setCursor): set also the irow().
11680         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11681         (cursorUp):
11682         (cursorDown): support for locking an inset if the x_fix value goes
11683         inside it. That way I can transverse insets too with cursor up/down.
11684
11685         * lyxrow.h: added irow helper function same as other (i) functions.
11686
11687         * BufferView_pimpl.C (cursorPrevious):
11688         (cursorNext): fixed for insets!
11689
11690 2002-04-15  Juergen Vigna  <jug@sad.it>
11691
11692         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11693         position otherwise it is wrong in some cases.
11694
11695         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11696         inside the inset before the call.
11697
11698 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * buffer.[Ch] (getBibkeyList): make it const.
11701
11702 2002-04-12  Juergen Vigna  <jug@sad.it>
11703
11704         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11705
11706         * text2.C (getCursorX): new helper function
11707         (setCursor): compute also ix_
11708         (setCursorFromCoordinates): set also ix.
11709
11710         * lyxcursor.h: added ix_ and helper functions.
11711
11712         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11713
11714         * buffer.C (insertStringAsLines): dont break paragraph if the this
11715         paragraph is inside an inset which does not permit it!
11716
11717         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11718         also with no chars on this paragraph.
11719         (paintRowText): only paint stuff if it's inside the workarea!
11720
11721         * paragraph.C (breakParagraph): honor keepempty flag and break the
11722         paragraph always below not above.
11723
11724         * BufferView2.C (unlockInset): update the paragraph layout on inset
11725         unlock as we changed paragraph in such a case.
11726
11727         * lyxfind.C (LyXFind): clear the former selection if not found!
11728
11729         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11730         again called in insertChar().
11731
11732         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11733         an inset which uses the whole row!
11734         (rightMargin): ditto.
11735         (insertChar): force a rebreak if we inserted an inset!
11736
11737 2002-03-28  Herbert Voss  <voss@lyx.org>
11738
11739         * lyxlength.[Ch]: add inBP() to get the right PS-point
11740         units (BigPoint). With inPixels we have rounding errors
11741
11742 2002-04-11  Juergen Vigna  <jug@sad.it>
11743
11744         * text2.C (setCursorFromCoordinates): set iy to the right value.
11745         (setCursor): add check if row->previous exists!
11746
11747         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11748         an old float_type as this was the case in the old code!
11749
11750         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11751
11752         * BufferView2.C (showLockedInsetCursor): use iy
11753         (fitLockedInsetCursor): ditto
11754
11755         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11756         locked insets as there we have the right value now.
11757
11758         * lyxcursor.C: added iy_ variable and iy functions to set to the
11759         baseline of cursor-y of the locked inset.
11760
11761         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11762         (setCursor): fixed for insets which need a full row.
11763
11764         * text.C (rowLastPrintable): don't ignore the last space when before
11765         an inset which needs a full row.
11766         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11767         as last character of a row when before a inset which needs a full row.
11768
11769 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * version.C.in: update date
11772
11773         * text2.C (fullRebreak): try to always return true and see what
11774         happens...
11775
11776 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * MenuBackend.C (expand): use Floating::listName
11779
11780         * FloatList.C (FloatList): add listName argument to the built-in
11781         floats
11782
11783         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11784         text associated with the float.
11785
11786 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11789
11790 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * ShareContainer.h: add a couple of missing typenames.
11793
11794 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11795
11796         * lyxrc.C (getDescription): use _() correctly rather than N_().
11797
11798 2002-03-28  Herbert Voss  <voss@lyx.org>
11799
11800         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11801         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11802
11803 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11806         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11807
11808 2002-03-29  Juergen Vigna  <jug@sad.it>
11809
11810         * lyxfunc.C (dispatch): add a missing fitCursor call.
11811
11812         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11813         it was scrolled by a cursor move, so return the bool status.
11814
11815         * BufferView.C (fitCursor): return the bool flag also to the outside
11816         world as this is needed.
11817
11818         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11819
11820         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11821         call the edit() as it is not needed (and wrong) IMO.
11822         (workAreaButtonPress): set the screen_first variable before evt.
11823         unlock the inset as this may change screen_first and then we have
11824         a wrong y position for the click!
11825
11826 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * MenuBackend.C (expand): another translation that I missed
11829
11830 2002-03-28  Juergen Vigna  <jug@sad.it>
11831
11832         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11833
11834         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11835
11836 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11839
11840         * MenuBackend.C (expand): fix export/view/update when there is no
11841         document open.
11842
11843 2002-03-27  Herbert Voss  <voss@lyx.org>
11844
11845         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11846         and text%
11847
11848 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * bufferview_funcs.C (currentState): only show paragraph number
11851         for is DEVEL_VERSION is set.
11852
11853         * lyxfunc.C (dispatch): put warning in INFO channel
11854
11855         * MenuBackend.C (expand): translate the name of floats
11856
11857         * FloatList.C (FloatList): mark the float names for translation
11858
11859         * converter.C (convert): use LibScriptSearch
11860
11861 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * MenuBackend.C (defaults): fix default menu (we might as well get
11864         rid of it...)
11865
11866 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11869         directory.
11870
11871 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * lyxvc.C: reorder includes.
11874
11875 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11878           properly
11879
11880 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * CutAndPaste.C: change layouts earlier on paste
11883           to avoid crashing when calling getFont()
11884
11885 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11886
11887         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11888         irritating #error.
11889
11890 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * WorkArea.C: remove 'Pending' debug message.
11893
11894         * most files: ws cleanup
11895
11896         * buffer.[Ch]: ws changes
11897
11898         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11899
11900 2002-03-21  Juergen Vigna  <jug@sad.it>
11901
11902         * tabular.C (SetMultiColumn): collapse also the contents of the
11903         cells and set the last border right. Added a Buffer const * param.
11904
11905 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11908         linking or not.
11909
11910 2002-03-19  Juergen Vigna  <jug@sad.it>
11911
11912         * text2.C (clearSelection): reset also xsel_cache.
11913
11914         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11915         where it needs to be called (John tells us to do so too :)
11916         (selectionLost): reset sel_cache.
11917
11918         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11919
11920 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * text2.C (setCursorIntern): put debuging code in INSETS channel
11923
11924 2002-03-19  André Pönitz <poenitz@gmx.net>
11925
11926         * lyxfunc.C: tiny whitespace change
11927
11928 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11929
11930         * ToolbarDefaults.C (init):
11931         * LyXAction.C (init):
11932         * commandtags.h:
11933         * BufferView_pimpl.C (Dispatch):
11934         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11935
11936 2002-03-19  Allan Rae  <rae@lyx.org>
11937
11938         * exporter.C (Export): removeAutoInsets before doing anything else.
11939         While I've just introduced a dependency on BufferView this really is
11940         the best place to clean the buffer otherwise you need to cleanup in
11941         a dozen places before calling export or cleanup in a dozen functions
11942         that export calls.
11943
11944         * converter.C (runLaTeX):
11945         (scanLog): Better handling of removeAutoInsets and screen updates.
11946
11947         * lyxfunc.C (dispatch): small whitespace changes
11948
11949 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * WorkArea.C (C_WorkAreaEvent): return a value.
11952         (event_cb): return 1 if we handled the event, 0 otherwise.
11953
11954         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11955
11956 2002-03-18  Juergen Vigna  <jug@sad.it>
11957
11958         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11959         (GetAdditionalWidth): ditto.
11960         (RightLine): ditto.
11961         (LeftLine): ditto.
11962
11963         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11964         inset if we're there actually (probably not used right now but this
11965         is the direction to go for unifying code).
11966         (paste): disable code to clear the selection.
11967
11968         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11969         inside an InsetText and move the check further up as it is in the
11970         wrong place.
11971
11972         * text2.C (pasteSelection): set a selection over the pasted text.
11973
11974 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11975
11976         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11977         and libgraphics to build on Cygwin.
11978
11979 2002-03-15  Juergen Vigna  <jug@sad.it>
11980
11981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11982         inserting an Inset into the paragraph. I know this is not the best
11983         fix but we already use current_view in CutAndPaste so we will remove
11984         all of it's using at the same time.
11985
11986         * buffer.C (sgmlError): deactivated function till it is rewritten in
11987         the right mode, now it can create problems.
11988
11989         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11990         before accessing it.
11991
11992 2002-03-14  Juergen Vigna  <jug@sad.it>
11993
11994         * undo_funcs.C (textHandleUndo): do the right thing when updating
11995         the inset after the undo/redo.
11996
11997         * text2.C (setCursor): just some testcode for #44 not ready yet.
11998
11999         * undo_funcs.C (textHandleUndo): set the next() and previous()
12000         pointers of the paragraph to 0 before deleting otherwise we have
12001         problems with the Paragraph::[destructor].
12002
12003         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12004         on a paragraph insertion.
12005
12006 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * buffer.C (asciiParagraph): use += operator for char append to
12009         string.
12010
12011         * paragraph.C (getFontSettings): compare >= not just >
12012         (highestFontInRange): ditto
12013         (setFont): ditto
12014
12015 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * paragraph.C: change several algorithm to be more appripriate for
12018         the problem domain. This is lookip in FontList and in the InsetList.
12019
12020 2002-03-13  André Pönitz <poenitz@gmx.net>
12021
12022         * commandtags.h:
12023         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12024
12025 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * commandtags.h:
12028         * LyXAction.C:
12029         * lyxfunc.C:
12030         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12031
12032 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * Painter.C (display): anon helper function, adjust code for this
12035         change.
12036         (pixmap): remove function.
12037
12038         * Painter.h: remove private display variable.
12039
12040         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12041
12042 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12043
12044         * WorkArea.[Ch]: remove figinset_canvas cruft.
12045
12046 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * lyxtextclass.C (operator): add one item cache optimization.
12049
12050         * bufferlist.h: doxy changes
12051
12052         * bufferlist.C: ws changes
12053
12054         * DepTable.[Ch] (ext_exist): place const in the right spot.
12055
12056         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12057         call resizeInsets.
12058         (workAreaExpose): call resizeInsets when the with BufferView changes.
12059         (Dispatch): adjust for protectedBlank removal
12060         (specialChar): call updateInset if the insert went ok.
12061
12062         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12063         specialChar instead.
12064
12065         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12066
12067         * BufferView.h: doxy change
12068
12069         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12070
12071         * lyxtextclass.C (operator[]): remove non-const version
12072         (defaultLayout): remove non-const version
12073
12074 2002-03-12  Juergen Vigna  <jug@sad.it>
12075
12076         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12077         did resize the LyXText too.
12078
12079         * buffer.C (readLyXformat2): set layout information on newly allocated
12080         paragraphs.
12081
12082         * tabular.C (OldFormatRead): set layout information on the paragraph.
12083
12084 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12085
12086         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12087
12088 2002-03-11  Juergen Vigna  <jug@sad.it>
12089
12090         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12091         plainly wrong.
12092         (resizeCurrentBuffer): force also the insets to resize themselfes.
12093         (moveCursorUpdate): fixed up for InsetText.
12094
12095 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * commandtags.h:
12098         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12099         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12100         value of Dialogs::tooltipsEnabled().
12101         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12102
12103 2002-03-08  Juergen Vigna  <jug@sad.it>
12104
12105         * BufferView_pimpl.C (updateInset): update inset inside inset also
12106         if it isn't inside theLockingInset().
12107
12108 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * buffer.C (asciiParagraph): redo some of the word and line length
12111         handling.
12112         (getLists): look for Caption instead of caption.
12113
12114 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * buffer.C (Buffer): initialize niceFile to true
12117         (makeLaTeXFile):
12118         (makeLinuxDocFile):
12119         (makeDocBookFile): make sure niceFile is true on exit
12120
12121 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12122
12123         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12124
12125 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * LyXSendto.C: remove.
12128         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12129         * lyx_gui.C: remove now-redundant comment.
12130         * ColorHandler.h: remove forward declaration of class WorkArea.
12131         * lyxfunc.C: remove #include "WorkArea.h".
12132
12133 2002-03-07  Juergen Vigna  <jug@sad.it>
12134
12135         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12136         got moved away with the DEPM and also set the inset_owner always
12137         right which before could have been omitted.
12138
12139 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12142         wanted layout is not found.
12143
12144 2002-03-07  Juergen Vigna  <jug@sad.it>
12145
12146         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12147
12148 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * paragraph.C (breakParagraph): use default layout not layout of
12151         prev paragraph.
12152         (Paragraph): clear ParagraphParameters.
12153
12154 2002-03-06  Juergen Vigna  <jug@sad.it>
12155
12156         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12157         otherwise it would not be a valid lenght. Fixed a special case in
12158         the minipage compatibility read where we end the document with a
12159         minipage.
12160
12161         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12162         was set as it could be 0 for InsetTexts first entry.
12163
12164 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * paragraph.C (writeFile): if layout is empty write out
12167         defaultLayoutName().
12168
12169         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12170         file without named layout we set layout to defaultLayoutName().
12171
12172 2002-03-06  Juergen Vigna  <jug@sad.it>
12173
12174         * CutAndPaste.C (copySelection): set layout for new paragraph.
12175
12176         * text.C (prepareToPrint): leave ERT inset left aligned
12177         (leftMargin): don't indent paragraphs inside ERT insets
12178
12179 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * paragraph.C (breakParagraph): dont call clear do the work manually
12182
12183         * paragraph.[Ch] (clear): remove function
12184
12185 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * paragraph.C (Paragraph): dont call clear, the work has already
12188         been done.
12189
12190         * lyxtextclass.C (operator): assert if n is empty
12191
12192         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12193         work manually instead.
12194
12195 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12196
12197         * BufferView_pimpl.C: protect selectionLost against text == 0
12198
12199 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * text.C (breakParagraph): fix a setting layout to '0' problem.
12202
12203 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12204
12205         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12206         final location of file, for the included files, and graphics.
12207
12208 2002-03-05  Juergen Vigna  <jug@sad.it>
12209
12210         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12211
12212 2002-03-04  Juergen Vigna  <jug@sad.it>
12213
12214         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12215
12216         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12217         last column of multicolumn cells.
12218         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12219
12220 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12221
12222         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12223         file if it doesn't go to a temporary file.
12224
12225         * buffer.C (sgmlOpenTag):
12226         (sgmlCloseTag):  remove extra newline insertion.
12227
12228 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * text.C (getRowNearY): comment out debug msg
12231
12232 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * text2.C: first -> first_y
12235
12236         * text.C (getRowNearY): add some attemts at a possible
12237         optimization, not working.
12238
12239         * tabular.[Ch]: add BufferParams to several function so that newly
12240         created paragraph can be initialized to he default layotu for the
12241         buffers textclass.
12242
12243         * tabular-old.C (ReadOld): add buf->params to call of Init
12244
12245         * screen.C: rename text->first to text->first_y
12246
12247         * paragraph.C (breakParagraph): always set layout in the broken
12248         paragraph
12249
12250         * lyxtextclass.C (Read): remove lowercase
12251         (hasLayout): ditto
12252         (operator): ditto
12253         (delete_layout): ditto
12254
12255         * lyxtext.h: rename first -> first_y
12256
12257         * lyxlayout.C (Read): remove lowercase
12258         (name): ditto
12259         (setName): ditto
12260         (obsoleted_by): ditto
12261
12262         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12263
12264         * buffer.C (insertErtContents): add params are to InsetERT
12265         (parseSingleLyXformat2Token): add code to check if a paragraphs
12266         layout really exist.
12267         (parseSingleLyXformat2Token): add params to several inset
12268         constructors
12269         (asciiParagraph): remove lowercase, do the layout comparisons with
12270         no_case
12271
12272         * BufferView_pimpl.C (cursorNext): first -> first_y
12273         (resizeCurrentBuffer): first -> first_y
12274         (updateScrollbar): first -> first_y
12275         (scrollCB): first -> first_y
12276         (workAreaMotionNotify): first -> first_y
12277         (workAreaButtonPress): first -> first_y
12278         (checkInsetHit): first -> first_y
12279         (cursorPrevious): first -> first_y
12280         (cursorNext): first -> first_y
12281         (Dispatch): add buffer_->params to severl inset contructors
12282
12283 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12284
12285         * lyxlayout.C (Read): remove some debug info that I forgot.
12286
12287         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12288         clean up the code slightly.
12289         (makeLinuxDocFile): ditto
12290         (makeDocBookFile): ditto
12291
12292         * text2.C: layout as string
12293
12294         * text.C: layout as string
12295
12296         * paragraph_pimpl.C: layout as string
12297
12298         * paragraph.[Ch]: layout as string
12299
12300         * lyxtextclasslist.[Ch]: layout as string
12301
12302         * lyxtextclass.[Ch]: layout as string
12303
12304         * lyxtext.h: layout as string
12305
12306         * lyxlayout.[Ch]: layout as string
12307
12308         * lyx_cb.C: layout as string
12309
12310         * bufferview_funcs.C: layout as string
12311
12312         * bufferparams.C: layout as string
12313
12314         * buffer.C: layout as string
12315
12316         * LyXView.[Ch]: layout as string
12317
12318         * LaTeXFeatures.[Ch]: layout as string
12319
12320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12321
12322         * BufferView_pimpl.C: change current_layout to string, remove
12323         lyx::layout_type.
12324         (Dispatch):
12325         (smartQuote):
12326         (insertInset):
12327         (workAreaButtonRelease): layout as string
12328
12329         * BufferView2.C (unlockInset): adjust
12330
12331         * vspace.C (asLatexCommand): use an explict temp variable.
12332
12333 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * Makefile.am: use FRONTEND_*
12336
12337 2002-03-01  Juergen Vigna  <jug@sad.it>
12338
12339         * tabular.C (SetWidthOfMulticolCell): changed to something better
12340         I hope but still work in progress.
12341         (recalculateMulticolumnsOfColumn): renamed function from
12342         recalculateMulticolCells as it is more appropriate now.
12343         (SetWidthOfCell): calculate multicols better.
12344
12345 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12346
12347         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12348
12349         * lyxfunc.C (processKeySym): print sequence also if it is
12350         `deleted' (complete)
12351
12352         * kbsequence.C (print): print sequence even if it is deleted
12353         (complete would be a better word, actually).
12354
12355         * lyxfunc.C (dispatch): print complete options after a prefix key
12356
12357         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12358
12359 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12360
12361         * text2.C (setCharFont): eliminate setCharFont code duplication.
12362
12363 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12366         LFUN_TABULAR_FEATURE (bug #177)
12367
12368 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * Makefile.am: remove figure.h
12371
12372 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * Bufferview_pimpl.C:
12375         * CutAndPasteC:
12376         * LaTeX.C:
12377         * LyXSendto.C:
12378         * buffer.C:
12379         * bufferlist.C:
12380         * converter.C:
12381         * language.C:
12382         * lyxfunc.C:
12383         * lyxvc.C:
12384         * paragraph.C:
12385         * text.C:
12386         * text2.C: remove #include "lyx_gui_misc.h".
12387
12388         * LaTeX.C: added #include <cstdio>
12389
12390 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12393         that the paragraph following this one can have.
12394
12395         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12396
12397         * vspace.C (asLatexCommand): fix bogus gcc warning
12398
12399         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12400
12401 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12402
12403         * text2.C (setLayout): get rid of redundant code
12404
12405 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12406
12407         * text2.C (incDepth): make sure depth cannot be increased beyond
12408         reasonable values.
12409
12410 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12411
12412         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12413         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12414
12415         * PainterBase.h (image):
12416         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12417         a LyXImage const *.
12418
12419 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * BufferView.C:
12422         * BufferView.h:
12423         * BufferView_pimpl.C:
12424         * BufferView_pimpl.h:
12425         * LaTeXFeatures.C:
12426         * LyXAction.C:
12427         * LyXView.C:
12428         * Makefile.am:
12429         * UpdateList.h:
12430         * UpdateList.C:
12431         * buffer.C:
12432         * figure.h:
12433         * figureForm.C:
12434         * figureForm.h:
12435         * figure_form.C:
12436         * figure_form.h:
12437         * lyx_cb.C:
12438         * lyx_gui.C:
12439         * lyx_gui_misc.C:
12440         * lyxfunc.C:
12441         * sp_base.h:
12442         * sp_ispell.h:
12443         * sp_pspell.h:
12444         * sp_spell.C: remove fig inset, and the crap house of
12445           cards that follows it
12446
12447 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * Makefile.am:
12450         * lyxserver.C:
12451         * os2_defines.h:
12452         * os2_errortable.h:
12453         * nt_defines.h: move .h into support/
12454
12455         * vms_defines.h: remove
12456
12457         * WorkArea.C: add space in debug output
12458
12459         * text2.C:
12460         * paragraph.C:
12461         * buffer.C: add WITH_WARNINGS
12462
12463         * vc-backend.h:
12464         * vc-backend.C:
12465         * bufferlist.C: s/retrive/retrieve/, add docs
12466
12467         * vspace.h:
12468         * vspace.C:
12469         * kbmap.h:
12470         * lyxlength.h:
12471         * lyxgluelength.h:
12472         * length_common.h:
12473         * chset.h:
12474         * chset.C: add docs
12475
12476         * lyxgui.C: add ID to X error handler
12477
12478         * lyxtestclass.c: fix typo
12479
12480 2002-02-26  Juergen Vigna  <jug@sad.it>
12481
12482         * tabular_funcs.C (write_attribute): changed so that some default
12483         attributes are not written at all.
12484         (getTokenValue): set default values before trying to read the
12485         value so we have the return value always set as default if we don't
12486         find the token we search for.
12487
12488         * tabular.C (Write): write bools as bools not as strings!
12489
12490 2002-02-22  Juergen Vigna  <jug@sad.it>
12491
12492         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12493         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12494
12495         * text.C (leftMargin): don't add an indent for paragraphs inside
12496         tabular cells (fix #208).
12497
12498 2002-02-21  José Matos  <jamatos@fep.up.pt>
12499
12500         * tabular.C (docBook): fixed support for long tables.
12501
12502 2002-02-20  Juergen Vigna  <jug@sad.it>
12503
12504         * text2.C (getFont): get the drawing font of the Inset if this
12505         paragraph is inside an inset (only important for InsetERT for now).
12506
12507         * buffer.C (insertErtContents): use new lanugage params in ERT
12508         constructor.
12509
12510         * CutAndPaste.C: commenting out seemingly uneeded code.
12511
12512 2002-02-19  Allan Rae  <rae@lyx.org>
12513
12514         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12515         Iterators might be simple to use but they also get invalidated.
12516         (removeAutoInsets): renamed saved cursor tracking variables and added
12517         some comments to clarify what everything does.
12518
12519 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * Chktex.C:
12522         * LaTeX.C:
12523         * LyXSendto.C:
12524         * converter.C:
12525         * lyx_cb.C:
12526         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12527         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12528
12529         * lyxfunc.C:
12530         * vc-backend.h: remove #include "support/syscall.h"
12531
12532         * LaTeX.C:
12533         * LyXSendto.C:
12534         * converter.C: rearrange #includes in Lars' approved fashion.
12535
12536         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12537         forward declare class Timeout in the header file.
12538
12539         * XFormsView.C: changes due to the above.
12540
12541         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12542         similar to LyXView.
12543
12544         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12545         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12546
12547 2002-02-18  José Matos  <jamatos@fep.up.pt>
12548
12549         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12550         insets contents.
12551
12552 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12553
12554         * a lot of small ws changes
12555         * add a lot of using std::XXX
12556         * use std construcs some places where approp.
12557         * use some exisint stuff from lyxfunctional where approp.
12558         * Make file changes to use partial linking (lets test this now...)
12559
12560 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * Chktex.C:
12563         * buffer.C:
12564         remove #include "support/syscontr.h" as it's redundant. Always has been.
12565
12566         * Chktex.C:
12567         * LaTeX.C:
12568         * LyXSendto.C:
12569         * converter.C:
12570         * lyx_cb.C:
12571         * vc-backend.C:
12572         change Systemcalls::System to Systemcalls::Wait and
12573         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12574         No change of functionality, just reflects the stripped down Systemcalls
12575         class.
12576
12577 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12578
12579         * debug.[Ch]: add a GRAPHICS type to the enum.
12580
12581 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12584
12585         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12586         there is an inset.
12587
12588 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12589
12590         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12591         match the changes below.
12592
12593         * text2.C (toggleInset): if there is not editable inset at cursor
12594         position, try to see if cursor is _inside_ a collapsable inset
12595         and close it.
12596
12597 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12600         document menu has a nice checkbox
12601
12602 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * lyxlength.C (asLatexString): change PW to output as percent of
12605         \textwidth.
12606
12607         * lengthcommon.C: change '%' to 't%'
12608
12609         * lyxfunc.C (dispatch): a few comments from Martin
12610
12611 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * WorkArea.h:
12614         * WorkArea.C:
12615         * BufferView_pimpl.h:
12616         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12617           the X selection.
12618
12619 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * vspace.C (inPixels): fix compiler warning
12622
12623 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * lyxfunc.C (getStatus): fix status message for disabled commands.
12626
12627 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * BufferView_pimpl.C: fix crash on close buffer
12630         during selection (#227)
12631
12632 2002-01-27  Herbert Voss  <voss@lyx.org>
12633
12634         * buffer.C: link old Figure to new graphic inset
12635
12636 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12637
12638         * FontLoader.C (getFontinfo): Change the latex font names in order
12639         to match the names of type1inst.
12640
12641 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12644
12645         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12646         (extchanged): ditto
12647         (ext_exist): ditto
12648         (remove_files_with_extension): ditto
12649         (remove_file): ditto
12650         (write): ditto
12651
12652         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12653         document is smaller than the work area height. Do not initialize
12654         static variables to 0.
12655
12656 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12659
12660         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12661         LFUN_LAYOUT_PARAGRAPHS.
12662
12663         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12664         tabular. It is possible to provide a possible cell, which will
12665         typically be the actcell from the corresponding insettabular
12666
12667         * lyxfunc.C (getStatus): small cleanup; disable
12668         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12669         true
12670
12671 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12672
12673         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12674
12675         * paragraph.C (startTeXParParams):
12676         (endTeXParParams): new methods. The LaTeX code to
12677         start/end paragraph formatting
12678         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12679         empty (fixes bug #200)
12680
12681         * vspace.C (inPixels): adapt to the change below
12682         (inPixels): [later] more cleanups (remove unused variables)
12683
12684         * lyxlength.C (inPixels): change to use a width and a height as
12685         parameter.
12686
12687 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12690         Replaced with \paperwidth
12691
12692         * DepTable.C (insert): add std:: qualifier
12693
12694 2002-01-18  Allan Rae  <rae@lyx.org>
12695
12696         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12697         updated also?
12698
12699         * text.C (drawInset): Turned out I didn't know enough about how
12700         rebreaking worked.  This fixes most of the redraw problems.  I see
12701         an occasional cursor trail when a line is broken now and the cursor
12702         placement can seem out by a few pixels also after a rebreak.
12703
12704 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * buffer.C (parseSingleLyXformat2Token): update because minipage
12707         width is now a LyXLength
12708
12709         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12710
12711         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12712         math insets
12713
12714 2002-01-17  Juergen Vigna  <jug@sad.it>
12715
12716         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12717
12718         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12719         is set correctly and the inset is updated correctly.
12720
12721 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12724         the beginning of the loop.
12725
12726 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * lyxrc.C: improve help for use_scalable_fonts
12729
12730 2002-01-17  Allan Rae  <rae@lyx.org>
12731
12732         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12733
12734 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12735
12736         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12737         make sure to set their inset_owner to the right value (bug #171)
12738
12739 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12740
12741         * DepTable.h
12742         * DepTable.C: Implement mtime checking to reduce time spent doing
12743         CRCs.
12744
12745 2002-01-16  Juergen Vigna  <jug@sad.it>
12746
12747         * tabular.C (GetAdditionalHeight): one of error fixed.
12748
12749         * lyxrc.C (output): small fix in writing use_pspell.
12750
12751 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12752
12753         * sp_base.h: #include LString.h
12754
12755 2002-01-16  Allan Rae  <rae@lyx.org>
12756
12757         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12758         Can someone check this please?
12759
12760         * text.C (drawInset): It was possible that p.row would be removed by
12761         breakAgainOneRow upsetting a few other settings.  There may be another
12762         small tweak possible by setting need_break_row = 0 when p.row has been
12763         removed but I don't know enough about the logic here.
12764
12765 2002-01-15  Allan Rae  <rae@lyx.org>
12766
12767         * text.C (insertChar): removed conditional truism.
12768
12769         * BufferView2.C (removeAutoInsets): More tweaks.
12770         cur_par_prev could be a stray pointer.  Check for trailing empty line
12771         in case last line was cur_par and only had an error inset on it.
12772
12773 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12774
12775         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12776         absolute
12777
12778         * vc-backend.C (most methods):
12779         * exporter.C (Export):
12780         * converter.C (convert):
12781         (runLaTeX):
12782         * LyXSendto.C (SendtoApplyCB):
12783         * lyxfunc.C (dispatch):
12784         (menuNew):
12785         (open):
12786         (doImport):
12787         * lyx_cb.C (AutoSave):
12788         (InsertAsciiFile):
12789         * BufferView_pimpl.C (MenuInsertLyXFile):
12790         * buffer.C (runChktex): use Buffer::filePath().
12791
12792         * buffer.h: rename filename to filename_; rename filepath to
12793         filepath_ and make it private
12794         (filePath): new method
12795
12796         * buffer.C (writeFile): use fileName()
12797         (getLatexName):
12798
12799         * lyx_main.C (init): fix starting  of LyX when the binary is a
12800         link from so,ewhere else.
12801
12802         * minibuffer.C: include <cctype> for isprint
12803
12804 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12805
12806         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12807         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12808         name clash with InsetCollapsable's width function.
12809
12810 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * lastfiles.C: include <iterator>
12813
12814 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12815
12816         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12817         std::count.
12818
12819         * buffer.C (makeLaTeXFile): ditto.
12820         Also make loop operation more transparent.
12821
12822 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * ToolbarDefaults.C: remove trailing comma closing namespace.
12825
12826         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12827
12828         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12829         as in WorkArea.
12830
12831         * trans.C (Load): comment out unused variable, allowed.
12832
12833 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12834
12835         * minibuffer.[Ch] (append_char): new method to recieve input from the
12836         drop-down completion browser. If a key was pressed, then recieve this
12837         char and append it to the existing string.
12838         (peek_event): modify the positioning data passed to the completion
12839         browser so that it can be placed above the minibuffer rather than below.
12840 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * LyXAction.C (init): alloe error-next for readonly documents.
12843
12844         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12845         count.
12846
12847 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * bufferlist.C (readFile): create the buffer _after_ checking that
12850         the file exists.
12851
12852         * lyxfunc.C (verboseDispatch): fix handling of arguments
12853
12854         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12855
12856         * lyxrc.C: use string::erase() instead of initializing to "".
12857
12858
12859 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * BufferView_pimpl.h:
12862         * BufferView_pimpl.C:
12863         * WorkArea.h:
12864         * WorkArea.C:
12865         * text2.C: tell X when we have made a selection for copying
12866
12867 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12868
12869         * BufferView_pimpl.C (MenuInsertLyXFile):
12870         * lyxfunc.C (menuNew):
12871         (open):
12872         (doImport): add shortcuts to directory buttons
12873
12874         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12875         open a float)
12876
12877         * lyxfunc.C (setStatusMessage):
12878         (getStatusMessage): new methods
12879         (getStatus):use setStatusMessage instead of setErrorMessage
12880         (dispatch): when function is disabled, set error message here
12881         [instead of in getStatus previously]
12882
12883         * BufferView_pimpl.C (workAreaButtonRelease): update
12884         toolbar/menubar here too.
12885
12886 2002-01-13  Allan Rae  <rae@lyx.org>
12887
12888         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12889         Now seems indestructible.  Remaining task is to audit all other
12890         code affected by deleteEmptyParagraphMechanism.  One small quirk
12891         left is that an empty document with an error in the preamble can
12892         be made to report an error but no error box appears.  I don't know
12893         where it goes.
12894         (removeAutoInsets): Improved comments.
12895
12896 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * Thesaurus.h:
12899         * Thesaurus.C: update for Aiksaurus 0.14
12900
12901 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * text2.C (firstParagraph): removed member function, all uses
12904         replaces with ownerParagraph
12905         (redoParagraphs): here
12906         (updateInset): here
12907         (toggleAppendix): here
12908         * BufferView2.C (insertErrors): here
12909         (setCursorFromRow): here
12910
12911 2002-01-13  Allan Rae  <rae@lyx.org>
12912
12913         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12914         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12915         There is still a way to segfault this although you may have to do this
12916         multiple times: Have an InsetERT with an unknown command in it.
12917         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12918         <down-arrow>, <Enter> again, View->DVI, BANG!
12919
12920         * text2.C (setCursor):
12921         (deleteEmptyParagraphMechanism):
12922         * lyxtext.h (setCursor):
12923         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12924         Making use of the return value may help fix other bugs.
12925
12926 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12927
12928         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12929
12930         * LyXView.C (updateMenubar): call MenuBar::update here
12931         (updateToolbar): but not here
12932         (showState): do not update toolbar/menubar
12933
12934         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12935         should need to care about that.
12936
12937         * lyxfunc.C (verboseDispatch): simplify a bit
12938         (getStatus): have a version which takes a pseudoaction, and
12939         another which requires a (kb_action,string).
12940
12941         * LyXAction.C (retrieveActionArg): make it work also when action
12942         is not a pseudo-action.
12943         (getActionName): simplify a bit
12944         (helpText):
12945
12946 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * lyxfunc.C (verboseDispatch): new families of methods with
12949         several ways to specify a command and a bool to indicate whether
12950         the command name and shortcut should be displayed in minibuffer
12951         (eventually, we could extend that to a finer bitmask like
12952         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12953         (dispatch): the pristine dispatch command which just, well,
12954         dispatchs! Note it still sets its result to minibuffer; I'm not
12955         sure we want that.
12956
12957         * lyxfunc.h: remove setHintMessage
12958
12959         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12960
12961 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12962
12963         * BufferView_pimpl.C (specialChar): delete new inset if we have
12964         not been able to insert it.
12965
12966         * kbmap.C: revert to using int instead of kb_action, since all we
12967         are dealing with is pseudo-actions.
12968
12969         * LyXAction.C (searchActionArg): change to return int instead of
12970         kb_action, since the result is a pseudoaction.
12971
12972 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * buffer.C (insertErtContents): Fix (partially) the font bug.
12975
12976 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12979         as the other one is broken on my machine!
12980
12981 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12982
12983         * commandtags.h:
12984         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12985
12986 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12987
12988         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12989         reflect their actual use. Provide compatibility code for older lyxrc
12990         files.
12991
12992         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12993         FL_NORMAL_STYLE.
12994         change names of popup font variables in line with the changes to lyxrc.C
12995
12996 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * buffer.C (asciiParagraph): avoid outputing a word twice after
12999         an inset.
13000
13001         * lyxrc.C (getDescription): document that document_path and
13002         template_path can be empty.
13003
13004 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13005
13006         * LaTeXFeatures.C (getMacros):
13007         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13008
13009         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13010
13011         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13012         getPackages.
13013         (getPackages): rename feature "floats" to "float". Use an array to
13014         iterate over 'simple' features (i.e. just a \usepackage). Add
13015         handling of "amsmath" (renamed from "amsstyle").
13016
13017 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13018
13019         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13020         features list.
13021
13022 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13025         FuncStaus::FuncStatus & FuncStaus::some_method().
13026
13027 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13028
13029         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13030         of the func_satus stuff. Edited and massaged in various ways by
13031         JMarc.
13032
13033         * lyxfunc.C (getStatus): use FuncStatus
13034
13035 2002-01-08  Juergen Vigna  <jug@sad.it>
13036
13037         * text.C (nextBreakPoint): use function Inset::isChar().
13038
13039         * paragraph.C (TeXOnePar): use function
13040         Inset::forceDefaultParagraphs.
13041
13042         * buffer.C (latexParagraphs): use function
13043         Inset::forceDefaultParagraphs.
13044
13045 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13046
13047         * lyx_gui.C (init): set the style of the menu popups to
13048         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13049
13050 2002-01-07  Juergen Vigna  <jug@sad.it>
13051
13052         * text.C (setHeightOfRow): small fix
13053         (prepareToPrint): don't look at alignment if we don't have the place
13054         for doing it.
13055
13056 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * box.C: New file. Move the Box methods and functions out of box.h,
13059         following Lars' suggestion.
13060
13061 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13062
13063         * box.h: #include "support/LOstream.h", needed for inlined function.
13064
13065         * lyxtextclass.C:
13066         * lyxtextclasslist.C: added some using std declarations.
13067
13068 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * box.h: make signed dimensions to allow insets wider than
13071           the screen (bug #162)
13072
13073         * BufferView_pimpl.C: add some insetHit debug
13074
13075 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * vc-backend.C: add FIXME
13078
13079 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * lyxfunc.C (getStatus): enable code for showing math font status
13082         in toolbar/menu.
13083
13084 2002-01-07  Juergen Vigna  <jug@sad.it>
13085
13086         * text.C (nextBreakPoint): removed debug output not needed anymore.
13087
13088 2002-01-06  Juergen Vigna  <jug@sad.it>
13089
13090         * text.C (nextBreakPoint): fixed up this function we had this bug
13091         since ever but now hopefully we break row better.
13092         (insertChar): we have to check if an inset is the next char as it
13093         could now happen that a large inset is causing a break.
13094
13095 2002-01-05  Juergen Vigna  <jug@sad.it>
13096
13097         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13098         if it doesn't like to be drawed.
13099
13100 2002-01-04  Juergen Vigna  <jug@sad.it>
13101
13102         * BufferView2.C (lockInset): forgot to set a cursor.
13103
13104         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13105
13106 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13107
13108         * FormMathsPanel.C:
13109         * FormMathsPanel.h
13110         * MathsSymbols.C:
13111         * form_maths_panel.C:
13112         * form_maths_panel.h:
13113         * form_maths_panel.fd: implemented sub- and super- buttons in math
13114         panel.
13115
13116         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13117         (or ^ space) to be used as in TeX (req'd by André).
13118
13119         * lyxfunc.C: Allow ^ and _ again to be used both as
13120         super/subscript (mathed) and as themselves (in text).
13121
13122 2002-01-03  Allan Rae  <rae@lyx.org>
13123
13124         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13125         "LyX" or the filename of the current buffer if it has one.  This is a
13126         modified form of John Levon's patch.
13127
13128         * XFormsView.C (setWindowTitle): also set icon title.
13129
13130         * LyXView.h (setWindowTitle): signature changed.
13131         * XFormsView.h (setWindowTitle): ditto.
13132
13133 2002-01-02  Juergen Vigna  <jug@sad.it>
13134
13135         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13136
13137 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * screen.C (topCursorVisible): introduce a temp var for
13140         text->cursor.row(), handle the case where this row is null. (kindo
13141         hachish)
13142
13143         * text2.C (setCursor): add a couple of asserts.
13144
13145         * paragraph.h (inset_iterator): add -> operator
13146
13147         * paragraph.[Ch] (autoDeleteInsets): remove member function
13148
13149         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13150         cursor pos correctly and handle inset deletion by itself.
13151         (insertErrors): move iterator declaration out of for expression
13152
13153         * lyxtextclass.C: add <algorithm>
13154
13155         * Makefile.am: added the new files to sources, removed layout.C
13156
13157         * layout.C: removed file
13158
13159         * layout.h: remove LYX_DUMMY_LAYOUT
13160
13161         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13162         layout.
13163
13164         * lyxlayout.[Ch]:
13165         * lyxtextclass.[Ch]:
13166         * lyxtextclasslist.[Ch]: new files
13167
13168         * include order changes to a lot of files, also changes because of
13169         the six new files.
13170
13171 2001-12-27  Juergen Vigna  <jug@sad.it>
13172
13173         * buffer.C (asciiParagraph): more fixes.
13174
13175         * tabular.C (ascii): make ascii export support export of only the
13176         data separated by a column-delimiter.
13177         (ascii): better support for ascii export.
13178
13179         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13180
13181 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * tabular_funcs.C: use a "using std::getline" instead of the
13184         previous fix from Angus (necessary for cxx + lyxstring)
13185
13186 2001-12-24  Juergen Vigna  <jug@sad.it>
13187
13188         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13189
13190         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13191         problems. First check a minipage also if we have some ert-contents
13192         (not only on par->size(), second set the right depth of the paragraph
13193         on the relink to the root-paragraph-list!
13194
13195         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13196         which then did not anymore update the main paragraphs on undo/redo!
13197
13198 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13199
13200         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13201         code. Support all font-changing funcs (even those which are not in
13202         menu currently). Support for reporting font settings in
13203         mathed (disabled until Andre provides a function on mathed's side).
13204
13205         * func_status.h (toggle): small helper function to set toggle
13206         state on a flag.
13207
13208 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13209
13210         * tabular_funcs.C: getline -> std::getline
13211
13212 2001-12-21  Juergen Vigna  <jug@sad.it>
13213
13214         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13215         accessed and could be 0 (I couldn't generate this but it seems
13216         Michael could!).
13217
13218 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13221         * tabular_funcs.h: here and include iosfwd
13222
13223 2001-12-20  Juergen Vigna  <jug@sad.it>
13224
13225         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13226         inside inset but undo_par was.
13227
13228 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * Thesaurus.C: always include <config.h> in sources.
13231
13232         * Painter.h:
13233         * lyxlookup.h:
13234         * box.h: do not include <config.h> in header files
13235
13236         * text.C (paintLastRow): remove unused variable
13237
13238         * text.C (transformChar):
13239         (insertChar):
13240         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13241
13242         * Painter.C (text):
13243         * font.C (width): rewrite to use uppercase() instead of
13244         islower/toupper.
13245
13246         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13247
13248 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * lyxfind.C: clean up of find failure position change
13251
13252 2001-12-20  Juergen Vigna  <jug@sad.it>
13253
13254         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13255
13256         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13257         (TeXRow): added to LaTeX a single tabular row.
13258         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13259         (Latex): simplified and finally good LT-h/f support.
13260         (various_functions): just small adaptions for LT-h/f support.
13261
13262         * tabular_funcs.[hC]: added and moved here all not classfunctions
13263         of LyXTabular.
13264
13265 2001-12-19  Juergen Vigna  <jug@sad.it>
13266
13267         * tabular.[Ch]: better support for longtabular options (not finished
13268         yet!)
13269
13270 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13271
13272         * text.C (paintLastRow): use the label font instead of the font of
13273         the last character to compute the size of *_BOX. This makes more
13274         sense and avoids a crash with empty paragraphs.
13275         Use Painter::rectangle to draw EMPTY_BOX.
13276
13277 2001-12-19  Juergen Vigna  <jug@sad.it>
13278
13279         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13280         the paragraphs if the replaced paragraph is not the first one!
13281         Tried to delete not used paragraphs but does not work yet so for
13282         now it's inside #ifdef's and by default off!
13283
13284 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * MenuBackend.C: include "lyx_main.h" instead of declaring
13287         lastfiles (actually was declared as LastFiles* instead of a
13288         scoped_ptr).
13289
13290 2001-12-17  Juergen Vigna  <jug@sad.it>
13291
13292         * tabular.C (AppendColumn): applied John's fix
13293
13294 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * BufferView.h:
13297         * BufferView.C:
13298         * BufferView_pimpl.h:
13299         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13300
13301         * Makefile.am:
13302         * box.h: new start of class for above
13303
13304         * lyxfunc.C: ignore space-only minibuffer dispatches.
13305           Show the command name when it doesn't exist
13306
13307         * minibuffer.C: don't add empty lines to the history
13308
13309         * minibuffer.C: add a space on dropdown completion
13310
13311 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * text.C: fix line above/below drawing in insets
13314
13315 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * lyxlength.C (LyXLength): Initialize private variables.
13318
13319 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13320
13321         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13322         when inserting error insets.
13323
13324 2001-12-13  Juergen Vigna  <jug@sad.it>
13325
13326         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13327         actually sometimes the before-paragraph.
13328         (setUndo): don't clear the redostack if we're not actually undoing!
13329
13330 2001-12-06  Juergen Vigna  <jug@sad.it>
13331
13332         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13333         and fixed redoing of main paragraph, so we can use it now ;)
13334
13335         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13336
13337 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13338
13339         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13340         Juergen's request
13341
13342 2001-12-13  André Pönitz <poenitz@gmx.net>
13343
13344         * undostack.[Ch]:
13345         * undo_func.C: minor cleanup
13346
13347 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13348
13349         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13350         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13351         font in urw-fonts package which is marked as -urw-fontspecific and
13352         does not work (incidentally, changing the encoding in the
13353         fonts.dir of this package to -adobe-fontspecific fixes the
13354         problem).
13355
13356         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13357         is a crash when undoing first paragraph (Juergen, please take a
13358         look). THis does not mean the undo fix is wrong, just that it
13359         uncovers problems.
13360
13361         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13362         the (Paragraph*) version when needed instead of duplicating the
13363         code.
13364
13365         * text.C (workWidth): use Inset::parOwner to find out where the
13366         inset has been inserted. This is a huge performance gain for large
13367         documents with lots of insets. If Inset::parOwner is not set, fall
13368         back on the brute force method
13369
13370         * paragraph_pimpl.C (insertInset):
13371         * paragraph.C (Paragraph):
13372         (cutIntoMinibuffer): set parOwner of insets when
13373         inserting/removing them
13374
13375         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13376
13377 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13378
13379         * commandtags.h:
13380         * LyXAction.C:
13381         * lyx_main.C:
13382         * lyxfunc.C:
13383         * mathed/formulabase.C:
13384         * mathed/math_cursor.[Ch]:
13385         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13386
13387
13388 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * lyxlength.[Ch] (operator!=): new function
13391
13392 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13393
13394         * text.C (workWidth): use Inset::parOwner to find out where the
13395         inset has been inserted. This is a huge performance gain for large
13396         documents with lots of insets. If Inset::parOwner is not set, fall
13397         back on the brute force method
13398
13399         * paragraph_pimpl.C (insertInset):
13400         * paragraph.C (Paragraph):
13401         (cutIntoMinibuffer): set parOwner of insets when
13402         inserting/removing them
13403
13404         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13405
13406 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13407
13408         * tabular-old.C (getTokenValue):
13409         * tabular.C (getTokenValue):
13410         (write_attribute): new versions for LyXLength
13411         (everywhere): adjust the use of widths
13412
13413         * tabular.h: change the type of widths from string to LyXLength
13414
13415 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13416
13417         * paragraph.C: fixed missing line number count when exporting
13418         Environments to LaTeX file
13419
13420         * buffer.C: added informational message for checking line numbers.
13421
13422 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13423
13424         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13425         paragraph, do the 'double space' part, but not the 'empty
13426         paragraph' one.
13427
13428         * text.C (workWidth): small optimization
13429         (getLengthMarkerHeight): use minimal size for negative lengths.
13430
13431 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13434
13435         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13436
13437 2001-12-11  André Pönitz <poenitz@gmx.net>
13438
13439         * FontLoader.C:
13440         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13441
13442 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * text2.C: keep selection on a setFont()
13445
13446 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * lyx_cb.C: another bv->text misuse, from insert label
13449
13450 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * kbsequence.h:
13453         * kbsequence.C: re-instate nmodifier mask
13454
13455 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13456
13457         * lyx_main.h: make lyxGUI private.
13458
13459 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * lyxfind.C: place the cursor correctly on failed search
13462
13463 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13464
13465         * text.C (getLengthMarkerHeight): for small heights, the arrows
13466         are not always on top/bottom of the text
13467         (drawLengthMarker): smaller arrows; take the left margin in
13468         account; draw also vfills.
13469         (paintFirstRow):
13470         (paintLastRow): remove special code for vfill and standard spaces,
13471         since everything is handled in drawLengthMarker now.
13472
13473 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * buffer.C (insertErtContents): try to handle font and language
13476         interaction a bit better.g
13477
13478         * ColorHandler.C (updateColor): change the hash to cover the whole
13479         LColor enum, ws cleanup
13480         (getGCLinepars): ditto
13481         (getGCLinepars): only lookup in the linecache once.
13482
13483 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * iterators.C (operator++): Make the iterator more robust
13486
13487         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13488         (John's patch)
13489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13490
13491 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * lyxtext.h:
13494         * text.C: better added space drawing
13495
13496 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * LyXView.C:
13499         * BufferView2.C: fix layout combo update on inset unlock
13500
13501 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * Makefile.am: don't compile unused files
13504
13505 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * lyxfunc.C:
13508         * commandtags.h:
13509         * LyXAction.C: remove old LFUN_LAYOUTNO
13510
13511 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13512
13513         * paragraph_pimpl.h:
13514         * paragraph_pimpl.C: isTextAt() doesn't need font param
13515
13516 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * lyxlex.h:
13519         * lyxlex.C: little cleanup
13520
13521 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * BufferView_pimpl.C: fix insertAscii for insets
13524
13525 2001-12-05  Juergen Vigna  <jug@sad.it>
13526
13527         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13528         set the right font on the "multi" paragraph paste!
13529
13530 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * trans_decl.h:
13533         * trans_mgr.[Ch]:
13534         * trans.[Ch]:
13535         * lyxgluelength.C:
13536         * lyxlength.C: remove out-commented code.
13537
13538         * BufferView_pimpl:
13539         * CutAndPaste.C:
13540         * DepTable.C:
13541         * buffer.C:
13542         * chset.C:
13543         * lastfiles.C:
13544         * lyxlex.C:
13545         * lyxlex_pimpl.C:
13546         * lyxserver.C:
13547         * screen.C:
13548         * tabular-old.C:
13549         * tabular.C:
13550         * text.C:
13551         * trans_mgr.C:
13552         * vc-backend.C: change "while(" to "while ("
13553
13554         * lyxlength.[Ch]: add zero function to check if length is zero or
13555         not
13556         * lyxgluelength.C: use it
13557
13558 2001-12-05  Allan Rae  <rae@lyx.org>
13559
13560         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13561         Works for 2.95.3, from what I understand of Garst's reports this should
13562         work for other g++ versions.  We're screwed if the abs(int) definition
13563         changed between bugfix releases of gcc.
13564
13565 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * text.C: fix chapter label offset !
13568
13569 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13570
13571         * lyxtext.h:
13572         * text.C: fix hfill at end of line, clean up
13573
13574 2001-12-04  Juergen Vigna  <jug@sad.it>
13575
13576         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13577         that we force an update of the inset and it's owners if neccessary.
13578
13579 2001-12-03  Juergen Vigna  <jug@sad.it>
13580
13581         * text.C (rowLast): simplified code
13582
13583 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * lyxfunc.C: fix show options on timeout
13586
13587 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * screen.C (topCursorVisible): scroll half a page when the cursor
13590         reached top of bottom of screen
13591
13592 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * minibuffer.C: deactivate on loss of focus
13595
13596 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * vspace.[Ch] (operator!=): add operator.
13599
13600 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * BufferView_pimpl.C: refuse to open an inset when
13603         there's a selection.
13604
13605 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * BufferView_pimpl.C: allow to click on RHS of full row insets
13608
13609 2001-11-30  Juergen Vigna  <jug@sad.it>
13610
13611         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13612         insets for undo reasons.
13613
13614 2001-11-28  André Pönitz <poenitz@gmx.net>
13615
13616         * vspace.[Ch]: cosmetical changes
13617
13618 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13619
13620         * LyXAction.h:
13621         * LyXAction.C:
13622         * lyxfunc.h:
13623         * lyxfunc.C:
13624         * kbmap.h:
13625         * kbmap.C:
13626         * lyxrc.C:
13627         * kbsequence.h:
13628         * kbsequence.C: part re-write of old kb code
13629
13630         * Painter.C:
13631         * WorkArea.C: remove Lgb_bug_find_hack
13632
13633 2001-11-30  José Matos <jamatos@fep.up.pt>
13634
13635         * buffer.C (makeDocBookFile): add a comment to point a hack.
13636         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13637         Fixed a double write of labels.
13638
13639 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13640
13641         * LaTeX.C:
13642         * LaTeX.h Fixed bug in LaTeX class where it would not
13643         re-run latex if no depfiles were changed, but the .dvi was removed.
13644
13645 2001-11-28  André Pönitz <poenitz@gmx.net>
13646
13647         * all the files from the change on 2001/11/26:
13648         use lyx::layout_type instead of LyXTextClass::size_type
13649         use lyx::textclass_type instead of LyXTextClassList::size_type
13650
13651 2001-11-29  Juergen Vigna  <jug@sad.it>
13652
13653         * text.C: added support for paragraph::isFreeSpacing()
13654
13655         * buffer.C: same as above
13656
13657         * paragraph.h: inserted isFreeSpacing() function to enable
13658         FreeSpacing inside InsetERT.
13659
13660         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13661         of the paragraph's in the cut/copy buffer to 0!
13662
13663         * text2.C (removeRow): remove the assert as it can!
13664
13665         * lyxtext.h: added helper function firstRow returning firstrow and
13666         made firstrow private again.
13667
13668         * BufferView2.C (lockInset): don't relock if we're already locked!
13669
13670         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13671         the only paragraph.
13672         (removeRow): added Assert::(firstrow)
13673
13674         * debug.C: forgot to add INSETTEXT here.
13675
13676 2001-11-28  Juergen Vigna  <jug@sad.it>
13677
13678         * sp_spell.C (initialize): changed error text to more general
13679         spellchecker command use (not only ispell!)
13680
13681         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13682
13683         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13684
13685 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * vspace.C: initialise lyxgluelength on failure
13688
13689 2001-11-28  Allan Rae  <rae@lyx.org>
13690
13691         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13692         declaration & definition that looks like a function declaration.
13693
13694 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * BufferView2.C (copy):
13697         (copyEnvironment): do not clear the selection when doing a copy.
13698
13699         * text.C (paintFirstRow): compilation fix
13700
13701 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13702
13703         * tabular.C (Latex): correct line count when writing latex.
13704
13705 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * paragraph_pimpl.h:
13708         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13709           bug a bit
13710
13711 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * text.C:
13714         * LColor.h:
13715         * LColor.C: change vfillline->added_space
13716
13717         * text.C: add markers and text for added space
13718
13719         * vspace.C: fix comment
13720
13721 2001-11-28  André Pönitz <poenitz@gmx.net>
13722
13723         * paragraph.C: whitespace changes
13724         * all the other files from the change on 2001/11/26:
13725         change *::pos_type into lyx::pos_type
13726
13727 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13728
13729         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13730         language of the document when inserting error insets.
13731
13732 2001-11-26  André Pönitz <poenitz@gmx.net>
13733
13734         * BufferView_pimpl.[Ch]:
13735         *       CutAndPaste.C:
13736         * buffer.[Ch]:
13737         * lyxcursor.[Ch]:
13738         * lyxfind.C:
13739         * lyxfunc.C:
13740         * lyxrow.[Ch]:
13741         * paragraph.[Ch]:
13742         * paragraph_pimpl.[Ch]:
13743         * sp_spell.C:
13744         * text.C:
13745         * text2.C: reduce header dependencies, introduce type for positions
13746
13747 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13748
13749         * <various>: change to use Alert.h
13750
13751 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13752
13753         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13754         when encountering an unknown token.
13755         (readLyXformat2): Show an error message if there were unknown tokens.
13756
13757 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * BufferView2.C:
13760         * BufferView_pimpl.C:
13761         * buffer.C:
13762         * paragraph.h:
13763         * text.C:
13764         * text2.C: use par->isInset()
13765
13766 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * paragraph_pimpl.h:
13769         * paragraph_pimpl.C: cleanup
13770
13771 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13772
13773         * text2.C (removeRow):
13774         * text.C (setHeightOfRow): remove useless (and costly) call to
13775         getRow.
13776
13777 2001-11-20  Allan Rae  <rae@lyx.org>
13778
13779         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13780         Now need Inset*::checkInsertChar() to return true for appropriate
13781         cases so that the characters in the minibuffer will actually be
13782         inserted.
13783
13784 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * text.C: change the order of the includes.
13787         (workWidth): initialize it at once.
13788         (workWidth): make maxw unsigned
13789         (setHeightOfRow): remove unused variable (inset)
13790         (selectSelectedWord): remove unused variable (inset)
13791         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13792
13793 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13796         server is not running.
13797         (openConnection):
13798         (closeConnection): add debug info when server is disabled.
13799
13800         * ColorHandler.C (getGCForeground): send debug message to GUI
13801         channel.
13802
13803         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13804
13805         * kbmap.C (bind): modify because return conventions of
13806         kb_sequence::parse have changed.
13807
13808         * kbsequence.C (parse): only ignore spaces and not any stupid
13809         control character. This avoids tests like s[i] <= ' ', which are
13810         guaranteed to fail with 8bit characters and signed chars.
13811         Change return code to string::npos when there have been no error
13812         (0 was a bad idea when error is at first character)
13813
13814 2001-11-14  José Matos  <jamatos@fep.up.pt>
13815
13816         * buffer.h:
13817         * buffer.C (simpleDocBookOnePar): removed unused argument.
13818
13819 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13822         insets which are part of a word. Paragraph::isLetter takes care of
13823         that now. Use Paragraph::isInset to identify insets.
13824         (selectSelectedWord): do not test for hyphenation break.
13825
13826         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13827         that protected spaces are considered as spaces.
13828
13829         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13830         Inset::isLetter.
13831
13832 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13833
13834         * lyxserver.h:
13835         * lyxserver.C: fix it. and small cleanup.
13836
13837 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * BufferView_pimpl.C: use inline helpers
13840
13841         * LaTeXFeatures.h:
13842         * LaTeXFeatures.C: fix typos
13843
13844         * Spacing.h:
13845         * Spacing.C: move spacing_string into class
13846
13847         * ToolbarDefaults.C: move stuff into namespace anon
13848
13849         * layout.h: update enum
13850
13851         * lyxfunc.C: use better debug
13852
13853         * minibuffer.h: fix typo
13854
13855         * debug.h:
13856         * debug.C:
13857         * WorkArea.C: add and use Debug::WORKAREA
13858
13859         * lyxtext.h:
13860         * text.C:
13861         * text2.C: code re-organisation, inline helpers
13862
13863 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13864
13865         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13866         std::vector.empty().
13867
13868 2001-11-09  Allan Rae  <rae@lyx.org>
13869
13870         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13871         '\n's after tables.  Tabular and ERT inset work now makes this no
13872         longer necessary.
13873
13874 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * minibuffer.h:
13877         * minibuffer.C: fix crash, improve drop-down completion
13878
13879 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13880
13881         * lyxserver.h:
13882         * lyxserver.C: invalidate fd's when doing endPipe()
13883
13884 2001-11-08  José Matos  <jamatos@fep.up.pt>
13885
13886         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13887         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13888
13889         * paragraph.h:
13890         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13891
13892 2001-11-07  José Matos  <jamatos@fep.up.pt>
13893
13894         * buffer.h:
13895         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13896         const qualifier.
13897
13898         * buffer.C (sgmlOpenTag):
13899         * buffer.C (sgmlCloseTag): removed debug info.
13900
13901         * buffer.h (sgmlOpenTag):
13902         * buffer.h (sgmlCloseTag): made public.
13903
13904 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * buffer.C (saveParamsAsDefaults):
13907         * lyx_cb.C (MenuLayoutSave): remove
13908
13909         * LyXAction.C (init):
13910         * commandtags.h:
13911         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13912
13913 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * buffer.C (setPaperStuff): removed from here...
13916
13917         * bufferparams.C (setPaperStuff): ... and moved there.
13918
13919 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * minibuffer.h:
13922         * minibuffer.C:
13923         * XFormsView.C: add support for drop-down completion
13924
13925 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13928         commands.
13929
13930 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13931
13932         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13933         disabled.
13934
13935 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * lyx_main.C: change ref to known bugs
13938
13939 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13940
13941         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13942         to work around older babel problems.
13943
13944 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13945
13946         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13947
13948 2001-10-24  Juergen Vigna  <jug@sad.it>
13949
13950         * tabular-old.C (ReadOld): below variable changes reflected.
13951
13952         * tabular.[Ch]: added ltType struct for longtable header/footer
13953         defines and changed all instances where they are used. Added
13954         future support for double top/bottom rows.
13955
13956 2001-10-24  José Matos  <jamatos@fep.up.pt>
13957
13958         * buffer.h (docbookHandleCaption):
13959         * buffer.C (docbookHandleCaption): removed unused function.
13960         (makeDocBookFile): moved docbook supported version to v4.1.
13961
13962 2001-10-24  José Matos  <jamatos@fep.up.pt>
13963
13964         * tabular.h:
13965         * tabular.C (docbookRow): new function to export docbook code of a row.
13966         (DocBook): now honors the longtable flags.
13967
13968 2001-10-23  José Matos  <jamatos@fep.up.pt>
13969
13970         * LaTeXFeatures.h:
13971         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13972         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13973
13974         * buffer.C (makeLinuxDocFile):
13975         (makeDocBookFile): reworked the preamble, more clean, and with
13976         support for lyx defined entities. Changed the document declaration
13977         to be more XML friendly.
13978
13979         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13980         if we need to output XML that should be done with a filter.
13981
13982 2001-10-22  Juergen Vigna  <jug@sad.it>
13983
13984         * sp_pspell.h (class PSpell): add alive function needed in the
13985         controller to see if the spellchecker could be started.
13986
13987 2001-10-22  Juergen Vigna  <jug@sad.it>
13988
13989         * buffer.C (insertStringAsLines): modify the font for inserting
13990         chars in certain conditions by calling checkInsertChar(font).
13991
13992 2001-10-19  Juergen Vigna  <jug@sad.it>
13993
13994         * text.C (workWidth): use getRow instead of wrong algorithm.
13995         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13996
13997 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * lyxserver.h:
14000         * lyxserver.C:
14001         * lyx_main.h:
14002         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14003
14004 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * text.C (workWidth): do not search for the exact row when
14007         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14008         optimization for big documents.
14009
14010 2001-10-18  Juergen Vigna  <jug@sad.it>
14011
14012         * text.C (workWidth): new function with added Inset * parameter.
14013
14014 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14015
14016         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14017
14018         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14019         change return type of getColumnNearX.
14020
14021
14022         * text.C (changeRegionCase): use uppercase/lowercase instead of
14023         toupper/tolower.
14024         (leftMargin):
14025         (rightMargin): simplify code by factoring out the uses of
14026         textclasslist.
14027         (labelFill):
14028         (numberOfHfills):
14029         (setHeightOfRow):
14030         (appendParagraph): use Paragraph::size_type
14031
14032 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * vspace.C (asLatexString): add a missing break
14035
14036 2001-10-15  Herbert Voss  <voss@perce.de>
14037
14038         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14039
14040 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14043         is not available.
14044
14045 2001-10-10  André Pönitz <poenitz@gmx.net>
14046
14047         * lyxfunc.C: removed greek_kb_flag.
14048
14049 2001-10-10  Herbert Voss  <voss@perce.de>
14050
14051         * lyx_main.C: delete global string help_lyxdir.
14052
14053 2001-10-09  Herbert Voss  <voss@perce.de>
14054
14055         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14056
14057         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14058
14059         * lyx_main.C: added global string help_lyxdir.
14060
14061         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14062
14063 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14064
14065         * lyxrc.C (set_font_norm_type): support iso8859-4
14066
14067 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14068
14069         * LaTeX.C (deplog): add another regex for MikTeX
14070
14071 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14072
14073         * lyxrc.C (set_font_norm_type): support iso8859-3
14074
14075 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14076
14077         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14078
14079         * LaTeXFeatures.C: remove special case of french and index
14080
14081         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14082         before \begin{document}). This solves several incompatibilities.
14083
14084 2001-10-03  Garst Reese  <reese@isn.net>
14085
14086         * lyx_cb.C: change CheckTex error msg.
14087
14088 2001-10-03  José Matos  <jamatos@fep.up.pt>
14089
14090         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14091
14092 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * .cvsignore: update
14095
14096         * lyx_main.C (commandLineVersionInfo): use new style version info.
14097
14098         * buffer.C (writeFile):
14099         (makeLaTeXFile):
14100         (makeLinuxDocFile):
14101         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14102
14103         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14104
14105         * version.h: update to use stuff in version.C
14106
14107         * version.C.in: new file. Contains version information determined
14108         at compile time. This is a merging of version.h and
14109         version_info.h.in.
14110
14111 2001-10-03  Juergen Vigna  <jug@sad.it>
14112
14113         * BufferView_pimpl.C (update): don't change "dirty" status in
14114         updateInset call.
14115
14116 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14117
14118         * WorkArea.C (c-tor): re-position version string slightly.
14119
14120 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14123         revert to previous code.
14124
14125         WorkArea.[Ch]: (show, destroySplash): methods removed.
14126
14127         WorkArea.C: rework code so that it's an amalgam of the codes before and
14128         after the splash screen was moved to WorkArea.
14129
14130 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14131
14132         * lyxrc.C (read):
14133         * vspace.C (inPixels):
14134         (lyx_advance):
14135         * kbmap.C (bind):
14136         * buffer.C (insertStringAsLines):
14137         (asciiParagraph): fix types to be large enough
14138
14139         * lyxlex_pimpl.h: change member status from short to int
14140
14141         * layout.h: fix type of endlabeltype
14142
14143         * kbmap.C (bind):
14144         * kbsequence.C (parse): change return type to string::size_type
14145
14146         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14147         variable
14148
14149         * Bullet.C (bulletSize):
14150         (bulletEntry): do not use short ints as parameters
14151
14152         * BufferView2.C (insertLyXFile): change a char to an int.
14153
14154         * WorkArea.C (WorkArea): remove unneeded floats in computation
14155
14156 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14157
14158         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14159
14160         * paragraph.C (asString): Do not ignore newline/hfill chars when
14161         copying to the clipboard.
14162
14163 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14164
14165         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14166         after a multi-line inset.
14167
14168 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * paragraph.C (validate): Set NeedLyXFootnoteCode
14171
14172 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14173
14174         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14175         and decrease-error to decrease.
14176
14177 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14180         it more readable (should be equivalent)
14181
14182 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14183
14184         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14185
14186 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14187
14188         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14189         of a cursor (row, etc.) after a character has been deleted
14190         (deleteEmptyParagraphMechanism): call the method above on _all_
14191         cursors held by the LyXText when a double space has been
14192         detected/deleted.
14193
14194 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14197         pixmap.
14198         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14199
14200         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14201         background. Use greyOut() and the new show() methods to toggle between
14202         the foreground and background. Add code to remove the splash after
14203         its initial showing.
14204
14205         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14206         (create_forms): no longer call Dialogs::showSplash.
14207
14208 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * .cvsignore: add version_info.h
14211
14212 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14213
14214         * version_info.h.in: new file
14215
14216         * Makefile.am: add version_info.h.in
14217
14218         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14219         version_info.h instead of VERSION_INFO
14220
14221 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14224         The ERT inset now returns string().
14225
14226 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * lyxtext.h, text.C (selectNextWord): renamed as
14229         selectNextWordToSpellcheck.
14230
14231         * text.C (selectNextWordToSpellcheck): Modified to not select
14232         words inside an ERT inset.
14233
14234 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14235
14236         * lyx_cb.C (MenuLayoutSave): change a bit the question
14237
14238         * sp_base.h: include <sys/types.h>
14239
14240 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14241
14242         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14243
14244 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14245
14246         * several files: fix typos in user-visible strings
14247
14248 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * text2.C (pasteSelection): do not set the selection, since it
14251         will be cleared later. Actually, the intent was to fix the way the
14252         selection was set, but I figured rmoving the code was just as good.
14253
14254 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * FontLoader.C (available): Check if font is available without
14257         loading the font.
14258
14259 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14260
14261         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14262
14263 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * lyxrc.[Ch]: added display_graphics variable and associated code.
14266
14267 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * bufferparams.C (hasClassDefaults): new method. Returns true if
14270         the buffer parameters correspond to known class defaults
14271
14272 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14273
14274         * XFormsView.C (show): set minimum size to the main window.
14275
14276 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * text2.C (copySelection):
14279         (cutSelection):
14280         * lyxfind.C (LyXReplace):
14281         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14282         LyXText::selectionAsString.
14283
14284         * paragraph.C (asString): add "label" argument to the second form
14285
14286         * text2.C (selectionAsString): add "label" argument and pass it to
14287         Paragraph::asString.
14288
14289 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * lyx_main.C (commandLineHelp): remove version information
14292
14293 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14294
14295         * lyx_main.C: add -version commandline option
14296
14297 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * paragraph.h: make the optional constructor arg required instead.
14300         some modifications to other files because of this.
14301
14302         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14303
14304         * lyxserver.C (C_LyXComm_callback): make it static
14305
14306         * lyx_main.C (error_handler): make it static
14307
14308         * lyx_gui.C (LyX_XErrHandler): make it static
14309
14310         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14311
14312         * WorkArea.C: make the extern "C" methods static.
14313
14314         * Makefile.am (lyx_LDADD): simplify
14315
14316 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14317
14318         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14319         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14320
14321         * LyXAction.C (init):
14322         * lyxfunc.C (dispatch): associated code removal.
14323
14324 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14325
14326         * lyxfont.h (isSymbolFont): shut off warning
14327
14328         * text.C (setHeightOfRow):
14329         (getVisibleRow): fix crash with empty paragraphs which have a
14330         bottom line
14331
14332 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14333
14334         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14335         code.
14336
14337 2001-09-04  José Matos  <jamatos@fep.up.pt>
14338         * buffer.C
14339         * buffer.h
14340         * tabular.C (docbook): rename docBook method to docbook.
14341
14342 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * Makefile.am: add dependencies to main.o.
14345
14346 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * FontLoader.C (available): Return false if !lyxrc.use_gui
14349
14350 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14351
14352         * FontInfo.C (query):
14353         * converter.C (view):
14354         * importer.C (Import):
14355         * exporter.C (Export): Can not -> cannot.
14356
14357 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14358
14359         * BufferView_pimpl.C: allow to create index inset even if
14360           string is empty
14361
14362 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14363
14364         * buffer.C (getLists): replace boost::tie code with an explicit pair
14365         as boost::tie can break some compilers.
14366
14367         * iterators.h: Added a std:: declaration to the return type of
14368         ParIterator::size.
14369
14370 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14373           case.
14374
14375 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14376
14377         * iterators.[Ch]: New files. Provide paragraph iterators.
14378
14379         * buffer.C (changeLanguage): Use paragraph iterators.
14380         (isMultiLingual): ditto
14381
14382         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14383
14384 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * FontLoader.C: Support for cmr font.
14387
14388 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14389
14390         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14391         (available): New method.
14392
14393         * FontInfo.C (getFontname): Use scalable fonts even when
14394         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14395         found.
14396
14397 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * converter.C (Formats::view): reverted! Incorrect fix.
14400
14401 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14402
14403         * converter.C (Formats::view): only output the -paper option
14404         if the dvi viewer is xdvi, thereby fixing bug #233429.
14405
14406 2001-08-23  Herbert Voss  <voss@perce>
14407
14408         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14409
14410 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14411
14412         * Spacing.h (Spacing): Set space to Default on in the default
14413         constructor.
14414
14415 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * vc-backend.h (RCS::versionString): add RCS to version
14418         (CVS::versionString): add CVS to version
14419
14420         * vc-backend.C (scanMaster): do not add CVS to version.
14421         (scanMaster): do not add RCS to version
14422
14423         * lyxvc.C (versionString): new method
14424
14425         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14426
14427 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * Spacing.C (set): initialize fval
14430
14431 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14432
14433         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14434         " or \.
14435
14436 2001-08-16  Juergen Vigna  <jug@sad.it>
14437
14438         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14439
14440 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * BufferView_pimpl.C:
14443         * figureForm.C:
14444         * lyxtext.h:
14445         * text2.C: setParagraph takes linespacing now
14446
14447 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14448
14449         * LyxAction.C: add internal LFUN_CITATION_INSERT
14450
14451         * LyXView.C: actually apply fix
14452
14453         * bufferlist.C: fix open non-existent file
14454
14455         * lyxfind.C: fix indentation
14456
14457         * lyxfunc.C: remove unneeded assert, fix typo
14458
14459 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * MenuBackend.C: use "Floatname List"
14462
14463 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14464
14465         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14466         when converting LaTeX layout to insetERT.
14467         Generate a non-collapsed float when reading old float
14468
14469 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14470
14471         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14472         ERT insets.
14473
14474 2001-08-13  Juergen Vigna  <jug@sad.it>
14475
14476         * text.C (fill): return 0 instead of 20 as this seems to be the more
14477         correct value.
14478
14479 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14482         lyxrc.font_norm.
14483
14484 2001-08-13  Juergen Vigna  <jug@sad.it>
14485
14486         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14487         casesensitive off.
14488         (SearchBackward): comment out the unlocking of the inset_owner this
14489         should not be needed!
14490
14491 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14492
14493         * Many files: Remove inherit_language, and add latex_language
14494
14495         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14496         collapsible insets.
14497
14498 2001-08-10  Juergen Vigna  <jug@sad.it>
14499
14500         * text.C (prepareToPrint): fixed hfill-width in draw!
14501
14502         * BufferView2.C (selectLastWord): save the selection cursor as this
14503         now is cleared in the function LyXText::clearSelection!
14504
14505 2001-08-08  Juergen Vigna  <jug@sad.it>
14506
14507         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14508         BACKSPACE type functions.
14509
14510         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14511         is only cutted from the document but not put in the cut-buffer, where
14512         still the old stuff should be.
14513
14514         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14515
14516         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14517
14518         * tabular.C (SetWidthOfCell): fixed special case where the width
14519         was not updated!
14520         (LeftLine): handle '|' in align_special.
14521         (RightLine): ditto
14522         (LeftAlreadyDrawed): ditto
14523         (SetWidthOfCell): ditto
14524
14525 2001-08-07  Juergen Vigna  <jug@sad.it>
14526
14527         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14528
14529 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14530
14531         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14532         * lyxlex.[hC]: ditto
14533
14534 2001-08-06  Juergen Vigna  <jug@sad.it>
14535
14536         * text.C (getVisibleRow): fix up row clearing a bit.
14537
14538 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * minibuffer.C: make sure the X server sees the changes in the input.
14541
14542 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * paragraph.C (getFont): split into...
14545         (getLabelFont): this
14546         (getLayoutFont): and this
14547         * paragraph_pimpl.C (realizeFont): calling this
14548
14549         * text2.C (getFont): split into...
14550         (getLayoutFont): this
14551         (getLabelFont): and this
14552         (realizeFont): all three calling this
14553
14554         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14555         files where used.
14556
14557 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14560
14561 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14562
14563         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14564         layouts from the Quote inset insertion.
14565
14566 2001-08-03  Juergen Vigna  <jug@sad.it>
14567
14568         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14569
14570         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14571         only if status not is already CHANGED_IN_DRAW (second level).
14572
14573         * text.C (draw): don't set the need_break_row when inside an
14574         InsetText LyXText.
14575
14576 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * buffer.C (parseSingleLyXformat2Token): handle more latex
14579         conversion cases.
14580
14581         * bufferview_funcs.[hC]: change function names to
14582         begin with small char, adjust other files.
14583
14584 2001-08-02  André Pönitz <poenitz@gmx.net>
14585
14586         * lyxfunc.C:
14587         BufferView_pimpl.C: remove broken special code for math-greek
14588
14589 2001-08-02  Juergen Vigna  <jug@sad.it>
14590
14591         * BufferView_pimpl.C (update): redone this function so that we
14592         update the text again if there was a CHANGE_IN_DRAW.
14593
14594         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14595         (drawFromTo): added a new internal bool which is used by draw() and
14596         redraw() function.
14597         (general): some cursor drawing problems fixed.
14598
14599 2001-08-01  Juergen Vigna  <jug@sad.it>
14600
14601         * lyxfind.C (LyXFind): fixed
14602         (SearchForward): ditto
14603         (SearchBackward): ditto
14604
14605         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14606         spurius drawing of the cursor in the main area.
14607
14608         * text2.C (status): small fix which could lead to a segfault!
14609         (clearSelection): remove unneeded BufferView param.
14610
14611 2001-08-01  André Pönitz <poenitz@gmx.net>
14612
14613         * lyxfunc.C: small change due to changed mathed interface
14614
14615 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14618
14619 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * lyxfunc.c: fail gracefully if file doesn't exist
14622
14623         * LyXSendto.C:
14624         * buffer.C:
14625         * lyxfunc.C:
14626         * BufferView_pimpl.C: IsDirWriteable() proto changed
14627
14628         * LyXView.C: fix updateWindowTitle() to store the last title
14629
14630 2001-07-31  Juergen Vigna  <jug@sad.it>
14631
14632         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14633         the font (wrong since using of Paragraph::highestFontInRange).
14634
14635         * paragraph.C (highestFontInRange): added a default_size parameter.
14636
14637         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14638         (setHeightOfRow): reformat
14639
14640 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14641
14642         * converter.[hC] + affected files: move to (inital-char)lowercase
14643         function names.
14644
14645         * ParagraphParameters.C (ParagraphParameters): remove commented code
14646
14647         * PainterBase.[Ch]: remove commented code
14648
14649         * LaTeXFeatures.h: add "bool floats" for float.sty
14650
14651         * LaTeXFeatures.C (LaTeXFeatures): init floats
14652         (require): handle float
14653         (getPackages): do it with floats
14654
14655 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14656
14657         * BufferView_pimpl.C (Dispatch): improve handling of
14658         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14659
14660         * commandtags.h: #include lyxfont.h here temporarily to avoid
14661         keybinding bug.
14662
14663         * bufferlist.h: include LString.h here.
14664
14665 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * text2.C (getStringToIndex): new method.
14668
14669 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14670
14671         * *: Reduced header file dependencies all over.
14672
14673 2001-07-30  Baruch Even  <baruch@lyx.org>
14674
14675         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14676
14677 2001-07-29  Baruch Even  <baruch@lyx.org>
14678
14679         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14680
14681 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * ParameterStruct.h (endif): add a default constructor to make
14684         sure that all variables is initialized.
14685
14686         * ParagraphParameters.C (ParagraphParameters): adjust
14687
14688 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14689
14690         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14691         index; also, check that there is something to index, and that it
14692         does not span over several paragraphs.
14693         (doubleClick): use WHOLE_WORD_STRICT for double click.
14694
14695         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14696
14697         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14698         scheme.
14699
14700 2001-07-26  Baruch Even  <baruch@lyx.org>
14701
14702         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14703         an InsetFig figure, backwards compatible reading of old figure code.
14704
14705 2001-07-27  Juergen Vigna  <jug@sad.it>
14706
14707         * text2.C: font.realize function adaption.
14708
14709         * text.C (draw): add a warnings lyxerr text if needed.
14710
14711         * layout.C: font.realize function adaption.
14712
14713         * language.C: add inherit_language and implement it's handlings
14714
14715         * bufferview_funcs.C (StyleReset): remove language parameter from
14716         font creation (should be language_inherit now).
14717
14718         * bufferparams.C (writeFile): handle ignore_language.
14719
14720         * paragraph.C (getFontSettings): the language has to be resolved
14721         otherwise we have problems in LyXFont!
14722
14723         * lyxfont.C (lyxWriteChanges): added document_language parameter
14724         (update): removed unneeded language parameter
14725
14726         * paragraph.C (validate): fixed wrong output of color-package when
14727         using interface colors for certain fonts in certain environments,
14728         which should not seen as that on the final output.
14729
14730 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14731
14732         * BufferView_pimpl.C:
14733         * Thesaurus.h:
14734         * Thesaurus.C:
14735         * Makefile.am:
14736         * commandtags.h:
14737         * LyXAction.C: add thesaurus support
14738
14739         * lyxfind.h:
14740         * lyxfind.C: add "once" parameter, for thesaurus, to not
14741           move to the next match
14742
14743 2001-07-26  Juergen Vigna  <jug@sad.it>
14744
14745         * lyxfont.C (realize): honor ignore_language too!
14746         (resolved): ditto.
14747
14748         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14749
14750         * text.C (draw): one place more for ignore_language to not draw
14751         itself!
14752
14753 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14754
14755         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14756
14757 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14758
14759         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14760         the minipage conversion problem.
14761
14762 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14765         insert an inset.
14766
14767 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * BufferView.h: don't forward declare WorkArea
14770
14771         * BufferView.C: don't include WorkArea.h
14772
14773 2001-07-25  André Pönitz <poenitz@gmx.net>
14774
14775         * commandtags.h:
14776         * LyXAction.C:
14777         * lyxfunc.C:  new LFUN 'math-space'
14778
14779         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14780
14781 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * text2.C (toggleInset): call open/close
14784
14785 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * lyxfunc.C (dispatch): add debug for the disabled case
14788
14789         * font.C (buttonText): make similar to rectText
14790
14791         * buffer.C (readInset): comment out parsing of insetlist and
14792         insttheorem
14793
14794         * PainterBase.C (rectText): small correction
14795
14796         * BufferView_pimpl.C: comment out insettheorem and insetlist
14797         * LyXAction.C: ditto
14798         * commandtags.h: ditto
14799
14800 2001-07-24  Juergen Vigna  <jug@sad.it>
14801
14802         * text.C (draw): honor the ignore_language.
14803
14804         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14805
14806 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14809         char inset.
14810
14811 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14812
14813         * lyxtext.h: remove unused (and unimplemented) methods
14814
14815 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14816
14817         * text.C (getVisibleRow): honor background color
14818
14819         * PainterBase.h:
14820         * Painter.h: remove default color argument for fillRectangle
14821
14822         * text.C (backgroundColor): new method
14823
14824 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825
14826         * text.C (getVisibleRow): adjust
14827
14828         * font.[Ch] (rectText): new method, metrics
14829         (buttonText): new method, metrics
14830
14831         * PainterBase.[hC]: make rectText and buttonText always draw and take
14832         fewer paramteres.
14833
14834 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14835
14836         * ToolbarDefaults.C (read):
14837         * MenuBackend.C (read): allow escaping in all strings
14838
14839         * BufferView_pimpl.C (insertAndEditInset): new method.
14840         (Dispatch): use insertAndEditInset whenever appropriate.
14841
14842         * BufferView_pimpl.C (insertNote): removed
14843
14844         * BufferView_pimpl.C (smartQuote): new method, moved from
14845         BufferView; if an insetquote cannot be inserted, insert a '"'
14846         character instead.
14847
14848         * BufferView2.C: remove insertCorrectQuote();
14849
14850         * lyxfunc.C (getStatus): Add support for all remaingin
14851         inset-insert lfuns.
14852
14853         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14854
14855         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14856         command (necessary to pass " as parameter of self-insert.
14857
14858         * text.C (selectWordWhenUnderCursor):
14859         (selectWord): add word_location parameter
14860         (selectWordWhenUnderCursor): same + remove special code for word
14861         boundary.
14862         (selectNextWord): use kind() to guess type of insetspecialchar,
14863         not latex().
14864
14865         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14866         (insertErtContents): create ert insets as collapsed.
14867         (readInset): better compatibility code for Info inset.
14868
14869 2001-07-20  Juergen Vigna  <jug@sad.it>
14870
14871         * lyxfunc.C (dispatch): use always LyXFind now!
14872
14873         * text2.C (init): add a reinit flag so that the LyXText can be
14874         reinited instead of deleted and reallocated (used in InsetText).
14875
14876         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14877
14878         * text.C: ditto
14879
14880         * text2.C: ditto
14881
14882 2001-07-18  Juergen Vigna  <jug@sad.it>
14883
14884         * text.C (selectNextWord): handle insets inside inset by calling
14885         always the bv->text functions so that we can go up the_locking_inset!
14886
14887         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14888         in strange locations when inside an inset!
14889
14890         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14891         handling to include insets.
14892
14893         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14894
14895 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * LyXAction.C (init):
14898         * commandtags.h:
14899         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14900         LIGATURE_BREAK, since the name is so stupid.
14901
14902 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14905         InsetInfos.
14906
14907         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14908
14909         * sp_form.[Ch]: remove.
14910
14911         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14912
14913         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14914         InsetInfo.
14915
14916         * src/buffer.C (readInset): ditto.
14917
14918 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14919
14920         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14921         menuSeparator(), endOfSentenceDot(), ldots() and
14922         hyphenationPoint(), which are therefore removed.
14923         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14924
14925         * LyXAction.C (init):
14926         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14927
14928         * paragraph.C (getWord): removed.
14929
14930         * BufferView_pimpl.C (Dispatch): use last word or selection for
14931         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14932
14933         * lyx_main.C (queryUserLyXDir): do not ask before creating
14934         user_dir, except if it has been named explicitely.
14935
14936 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14937
14938         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14939         a document of zero size.
14940
14941 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14944         approriately in the c-tor and in require().
14945         (getPackages): output the appropriate LaTeX for natbib support.
14946
14947         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14948         variables "use_natbib" and "use_numerical_citations" when reading the
14949         LyX file.
14950         (readInset): read the various natbib cite commands.
14951         (validate): white-space change.
14952
14953         * bufferparams.[Ch]: new variables "bool use_natbib" and
14954         "bool use_numerical_citations".
14955         (writeFile): output them in the LyX file.
14956
14957 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14958
14959         * lyxfunc.C (getStatus): add support for all the inset insertion
14960         commands.
14961
14962         * text2.C (insertInset):
14963         * paragraph.C (insetAllowed):
14964         * BufferView_pimpl.C (insertInset): update to take in account the
14965         renaming of insertInsetAllowed
14966
14967         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14968
14969         * text2.C (getInset): new method. returns inset at cursor position.
14970
14971         * BufferView_pimpl.C (Dispatch): changes because of this.
14972
14973         * LyXAction.C (init): rename open-stuff to inset-toggle.
14974
14975         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14976
14977         * text2.C (toggleInset): renamed from openStuff; use
14978         Inset::open().
14979
14980 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14981
14982         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14983
14984         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14985
14986 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14987
14988         * buffer.C (readLyXformat2): Add filename to the error dialog
14989
14990 2001-07-18  Juergen Vigna  <jug@sad.it>
14991
14992         * tabular.C (GetCellNumber): put an assert here instead of the check!
14993
14994 2001-07-17  Juergen Vigna  <jug@sad.it>
14995
14996         * BufferView_pimpl.C (toggleSelection): adapted too.
14997
14998         * text.C (selectNextWord): adapted for use with insets.
14999         (selectSelectedWord): ditto
15000
15001 2001-07-17  Juergen Vigna  <jug@sad.it>
15002
15003         * sp_spell.C (PSpell): fix initialitation order.
15004
15005 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15006
15007         * paragraph.C: spacing
15008
15009 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15010
15011         * sp_spell.C: repair language selection for pspell
15012
15013 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15014
15015         * lyxfunc.h: change more methods to begin with lower char.
15016
15017 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15020         for unknown layouts.
15021
15022 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * buffer.C (readLyXformat2): Generate an error dialog if there are
15025         unknown layouts.
15026
15027 2001-07-16  Juergen Vigna  <jug@sad.it>
15028
15029         * sp_spell.C: always compile ISpell part.
15030
15031         * lyxrc.C: added use_pspell entry and it's handling.
15032
15033 2001-07-13  Juergen Vigna  <jug@sad.it>
15034
15035         * sp_spell.C: removed double includes.
15036
15037 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         Consistent use of Lsstream.h:
15040         * Lsstream.h: added using std::stringstream for consistencies sake.
15041
15042         * buffer.C: removed using std::stringstream
15043
15044         * lyxfont.C (stateText):
15045         * paragraph.C (asString):
15046         * text.C (selectNextWord, selectSelectedWord):
15047         * text2.C (setCounter):
15048         * vspace.C (asString, asLatexString):
15049         std::ostringstream -> ostringstream.
15050
15051 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15052
15053         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15054         * commandtags.h: add LFUN_HELP_ABOUTLYX
15055         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15056
15057 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15058
15059         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15060         cursorToggle()
15061         * lyx_gui_misc.C: remove spellchecker
15062         * lyxfunc.C: showSpellchecker
15063         * sp_base.h: added
15064         * sp_ispell.h: added
15065         * sp_pspell.h: added
15066         * sp_spell.C: added
15067         * sp_form.[Ch]: removed
15068         * spellchecker.[Ch]: removed
15069
15070 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15071
15072         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15073         is set.
15074         (simpleTeXSpecialChars): Simply print the input character without
15075         any special translation if pass_thru is set.
15076
15077         * layout.h: Added bool pass_thru to layout class for being able to
15078         implement pass through of a paragraph for Literate Programming.
15079
15080         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15081         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15082         * layout.C (Read): add "passthru" to list of layout tags and add
15083         code to set the pass_thru boolean when it is read.
15084
15085 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086
15087         * trans_decl.h: remove allowed from KmodInfo
15088
15089         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15090         remove allowed code
15091         (Load): adjust
15092
15093         * paragraph_pimpl.C (erase): use boost::prior
15094
15095         * Painter.C (text): use data() instead of c_str() when length is
15096         also provided.
15097         * WorkArea.C (putClipboard): ditto
15098         * font.h (width): ditto
15099
15100         * BufferView2.C: use it-> instead of (*it). for iterators
15101         * texrow.C: ditto
15102         * paragraph_pimpl.C: ditto
15103         * paragraph.C: ditto
15104         * minibuffer.C: ditto
15105         * language.C: ditto
15106         * kbmap.C: ditto
15107         * encoding.C: ditto
15108         * counters.C: ditto
15109         * converter.C: ditto
15110         * chset.C: ditto
15111         * Variables.C: ditto
15112         * TextCache.C: ditto
15113         * MenuBackend.C: ditto
15114         * LyXAction.C: ditto
15115         * LColor.C: ditto
15116         * FloatList.C: ditto
15117         * DepTable.C: ditto
15118         * ColorHandler.C (LyXColorHandler): ditto
15119
15120 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15123
15124         * text2.C (openStuff): reintroduce this method (which had been
15125         nuked in NEW_INSETS frenzy).
15126
15127         * lyxfunc.C (Dispatch): when an action has not been handled, use
15128         its name in the error message, not its number.
15129
15130         * paragraph.C (inInset): change method name to begin with lowercase.
15131
15132         * undo_funcs.C:
15133         * text2.C: updates because of this.
15134
15135 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * ToolbarDefaults.C (add): add spaces in error message
15138
15139 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15142         (readLyXformat2): rename return_par to first_par, use lyxlex's
15143         pushToken and remove the manual push handling.
15144         (parseSingleLyXformat2Token): add another ert comp. variable:
15145         in_tabular, rename return_par to first_par. handle newlines better
15146
15147 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15150
15151 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15152
15153         * text2.C (getParFromID): removed
15154
15155         * buffer.C (getParFromID): new method moved form lyxtext.
15156         * BufferView2.C (insertErrors): adjust
15157         (setCursorFromRow): adjust
15158         * BufferView_pimpl.C (restorePosition): adjust
15159         * lyxfunc.C (Dispatch): adjust
15160         * undo_funcs.C (textUndo): adjust
15161         (textRedo): adjust
15162         (textHandleUndo): adjust
15163         (textHandleUndo): adjust
15164
15165 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * buffer.C: up' the LYX_FORMAT
15168
15169         * lyxfont.h: turn NO_LATEX on as default
15170
15171         * buffer.C (insertErtContents): new methods of tex style compability.
15172         (parseSingleLyXformat2Token): use it several places.
15173         * tabular.C (OldFormatRead): and here
15174
15175 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * text2.C: remove some commented code.
15178         reindent file.
15179
15180         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15181         * trans.C: changes because of the above.
15182
15183 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * text2.C (setCounter): Fix counters bug with bibliography layout.
15186
15187 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15190         own member functions
15191         (simpleTeXSpecialChars): ditto
15192
15193 2001-07-06  Juergen Vigna  <jug@sad.it>
15194
15195         * a lot of files: changed the access to LyXText::status and the
15196         call of undo-functions.
15197
15198         * undo.[Ch]: added a inset_id to the undo informations.
15199
15200         * undo_funcs.[Ch]: added and moved here all undo functions.
15201
15202         * lyxtext.h: give the status enum a weight, made status_ a private
15203         variable and made accessor functions for it, removed the whole bunch
15204         of undo-functions as they are now in their own file, make some
15205         functions publically available. Added function ownerParagraph with
15206         int parameter.
15207
15208         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15209         made InInset() a const function, added getParFromID() function.
15210
15211         * buffer.[Ch]: added const version for inset_iterator functions,
15212         added getInsetFromID() function.
15213
15214         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15215         changed undo functions for new version.
15216
15217 2001-07-05  Juergen Vigna  <jug@sad.it>
15218
15219         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15220         unknow mechanism does not call the proper constructor but only this
15221         one also if I request the other!?
15222
15223 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15224
15225         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15226
15227         * text2.C (LyXText): use initialization lists.
15228
15229         * lyxtext.h (Selection): initialize set_ and mark_
15230         (init): remove method
15231
15232 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15233
15234         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15235
15236 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * screen.[Ch]: change method names to begin with lowercase
15239
15240         * BufferView_pimpl.C (updateScrollbar): simplify further and
15241         hopefully make it a bit faster.
15242
15243 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15246         calling directly xforms functions.
15247
15248         * Painter.C (Painter):
15249         * lyx_cb.C (MenuWrite):
15250         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15251         fl_display.
15252
15253         * lyx_gui.C: remove bogus guiruntime extern declaration.
15254
15255 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15258         in NEW_INSETS
15259         (redoDrawingOfParagraph): ditto
15260         (redoParagraphs): ditto
15261         (cutSelection): don't create a object for CutAndPaste use the
15262         static method directly
15263         (pasteSelection): ditto
15264
15265         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15266         LyXview (+ rename)
15267
15268 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15269
15270         * modifications to some other files because of this.
15271
15272         * Makefile.am (lyx_SOURCES): add XFormsView
15273
15274         * XFormsView.[Ch]: new files
15275
15276         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15277         the main window. Move the gui dependent stuff to XFormsView
15278
15279 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * tabular.C (GetCellInset): update cur_cell also in the row/col
15282         version of this function.
15283
15284         * lyxfunc.C: no need to include figure_form.h here.
15285
15286         * FontLoader.h:
15287         * lyxfunc.h:
15288         * lyxscreen.h:
15289         * text2.C:
15290         * lyxvc.C: no need to include forms.h here.
15291
15292 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15295
15296         * lyxfunc.C (Dispatch):
15297         * Spacing.C (set):
15298         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15299         constructor argument.
15300
15301 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15302
15303         * paragraph.C (Paragraph): dont't clear, and just set layout.
15304         (makeSameLayout): use params's copy contructor.
15305
15306         * ParagraphParameters.[Ch] (makeSame): delete method
15307
15308 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * Variables.[Ch]: fix indentation, rename set to isSet
15311
15312 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * lyxfunc.C (Dispatch): fix typo
15315
15316 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15319         upper_bound.
15320
15321         * bufferlist.C: include assert.h for emergencyWrite().
15322
15323 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15324
15325         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15326           give up at last (bug #425202) !
15327
15328 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15329
15330         * lyx_gui_misc.C:
15331         * sp_form.h:
15332         * sp_form.C:
15333         * spellchecker.h:
15334         * spellchecker.C: strip spellchecker options and bring up
15335           preferences tab instead
15336
15337 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15340         the istringstream constructor
15341
15342 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * paragraph.C (getLayout): fix return value
15345
15346         * paragraph.h: do not declare getLayout as inline.
15347
15348         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15349
15350 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * lyxcursor.h (operator<): new func
15353         (operator>): new func
15354         (operator>=): new func
15355         (operator<=): new func
15356
15357         * text.C (changeCase): use selection.start and selection.end
15358         (changeRegionCase): require from to be <= to. Require par to be a
15359         valid paragraph.
15360
15361         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15362
15363 2001-06-27  Juergen Vigna  <jug@sad.it>
15364
15365         * text.C (cursorLeftOneWord): changed to return the cursor and added
15366         overlay with BufferView * parameter which calls this one.
15367         (getWord): added
15368         (selectWord): use new getWord function.
15369         (changeCase): renamed from changeWordCase as and extended to work
15370         also on selections.
15371
15372         * lyxtext.h: added enum word_location
15373
15374         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15375         changeCase as this operates now also on selections.
15376
15377 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15378
15379         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15380
15381         * many files: send debug output to Debug::INFO instead of
15382         Debug::ANY.
15383
15384         * converter.C (View):
15385         (Convert):
15386         (Move): send debug output to Debug::FILES instead of console.
15387
15388 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15389
15390         * lyxfunc.C (getStatus): use func_status
15391
15392         * func_status.h: new header, describing the results of
15393         LyXFunc::getStatus;
15394
15395         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15396         LFUN_MATH_HALIGN.
15397
15398 2001-06-25  The LyX Project  <jug@sad.it>
15399
15400         * buffer.C (sgmlOpenTag):
15401         (sgmlCloseTag):
15402         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15403
15404 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * text2.C: remove some dead code
15407
15408         * tabular.C (GetCellInset): store the last cell checked (gotten)
15409
15410         * tabular.h: add the helper for the speedup
15411
15412         * lyxtext.h: remove some dead code
15413
15414 2001-06-26  The LyX Project  <Asger>
15415
15416         * paragraph.C: Change export to LaTeX of alignment to
15417         \begin{center} and family for better roundtrip work with reLyX.
15418
15419         * Tune the math drawing a bit.
15420
15421 2001-06-25  The LyX Project  <Asger>
15422
15423         * LColor.C (LColor): New color for math background. New color
15424         for buttons.
15425
15426 2001-06-25  The LyX Project  <jug@sad.it>
15427
15428         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15429
15430         * lyxfunc.C (Open):
15431         * bufferlist.C (newFile): do not restrict to files ending with
15432         .lyx
15433
15434         * BufferView_pimpl.C (MenuInsertLyXFile):
15435
15436 2001-06-24  The LyX Project  <jug@sad.it>
15437
15438         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15439         of compare_no_case
15440
15441 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * lyxtext.h: rename most methods to begin with a small char.
15444         Lots of changes because of this.
15445
15446         * paragraph.C (Paragraph): do not call fitToSize
15447         (erase): call Pimpl::erase
15448         (insertChar): call Pimpl::insertChar
15449         (insertInset): call Pipl::insertInset
15450         (breakParagraph): do not call fitToSize
15451         (breakParagraphConservative): do not call fitToSize
15452         (fitToSize): remove method
15453
15454         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15455
15456 2001-06-24  The LyX Project  <Asger>
15457
15458         * Fix Qt compilation^2
15459
15460 2001-06-24  The LyX Project  <jug@sad.it>
15461
15462         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15463         depthHook(getDepth()-1).
15464
15465         * paragraph.h:
15466         * ParagraphParameters.h:
15467         * ParameterStruct.h: change type of depth to unsigned int ==
15468         depth_type. Many adaptations to other files before of that.
15469
15470 2001-06-24  The LyX Project  <Asger>
15471
15472         * Fix Qt compilation.
15473
15474 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * paragraph.h: renamed several methods to begin with small letter.
15477         several changes to many parts of the code because of this.
15478
15479 2001-06-23  The LyX Project  <jug@sad.it>
15480
15481         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15482         rewritten to discard all double spaces when KeepEmpty is off
15483         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15484         to only handle newlines but not fiddle with spaces and friends.
15485
15486         * lyxfunc.C (MenuNew): when doing 'new from template', use
15487         template_path as default directory
15488
15489 2001-06-23  The LyX Project  <Asger>
15490
15491         * Clean-up of header file includes all over
15492         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15493
15494 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15495
15496         * paragraph.h: renamed from lyxparagraph.h
15497
15498 2001-06-23  Asger  <lyx@violet.home.sad.it>
15499
15500         * Buffer.h: Removed Buffer::resize
15501         * BufferList.h: Removed BufferList::resize
15502         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15503         the document lazily when we change the width, or the font settings.
15504
15505 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15506
15507         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15508
15509 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15510
15511         * buffer.h: remove out of date comment
15512
15513 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15514
15515         * lyxscreen.h:
15516         * screen.C: fix "theoretical" GC leak
15517
15518 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * LaTeX.C (scanAuxFile):
15521         (deplog): remove trailing \r when reading stream (useful under
15522         win32)
15523
15524 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15525
15526         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15527         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15528         and BufferView::theLockingInset(Inset*), so should use them and not
15529         access bv_->text->the_locking_inset directly.
15530
15531         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15532
15533 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15534
15535         * Makefile.am:
15536         * tex-defs.h: remove old unused file
15537
15538 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15539
15540         * BufferView_pimpl.C: fix typo, remove minibuffer message
15541           when buffer has loaded
15542
15543 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15544
15545         * lyxfunc.C (Dispatch): use stringstream
15546         (MenuNew): use stringstream
15547         (Open): use stringstream
15548
15549         * importer.C (Import): use stringstream
15550
15551         * bufferview_funcs.C (CurrentState): use stringstream
15552
15553         * LaTeX.C (run): use stringstream
15554
15555         * BufferView_pimpl.C (savePosition): use stringstream
15556         (restorePosition): use stringstream
15557         (MenuInsertLyXFile): use stringstream
15558
15559 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * BufferView.C:
15562         * Bullet.C:
15563         * ColorHandler.C:
15564         * FontInfo.C:
15565         * FontLoader.C:
15566         * LColor.C:
15567         * LaTeXFeatures.C:
15568         * Painter.C:
15569         * gettext.C:
15570         * lyx_gui_misc.C:
15571         * lyxserver.C:
15572         * vspace.C: removed // -*- C++ -*- as first line.
15573
15574         * lyxfind.h:
15575         * version.h: added // -*- C++ -*- as first line.
15576
15577 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15580
15581         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15582         of string
15583
15584 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15585
15586         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15587         of floats.
15588
15589 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * gettext.C: include LString.h even when --disable-nls is on.
15592
15593 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15594
15595         * converter.h (Get): changed argument type from int to
15596         FormatList::size_type to avoid unnecessary conversion.
15597
15598         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15599         before using it.
15600
15601 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * gettext.h: include LString.h even when --disable-nls is on.
15604
15605 2001-06-07  Juergen Vigna  <jug@sad.it>
15606
15607         * text.C (BreakAgain): subst spaces with tabs.
15608
15609         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15610         (resizeInsetsLyXText): set force on resizeLyXText.
15611
15612 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15613
15614         * gettext.h (gettext_init):
15615         (locale_init): use a real definition instead of a macro
15616
15617 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15618
15619         * Bufferview_pimpl.C:
15620         * LColor.h:
15621         * LColor.C: further lcolor tidies
15622
15623 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15624
15625         * BufferView_pimpl.C (updateScrollbar): simplify.
15626
15627         * BufferView2.C: don't include insets/insetinfo.h, change
15628         prototype for insertInset and call the Pimpl version. let
15629         updateInset call Pimpl version.
15630
15631         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15632         gotoInset to BufferView::Pimpl
15633
15634 2001-06-01  Juergen Vigna  <jug@sad.it>
15635
15636         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15637         inside a LockingInset (is the update needed at all?).
15638
15639 2001-05-31  Juergen Vigna  <jug@sad.it>
15640
15641         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15642         here not the old one otherwise how should we compare it afterwards
15643         if it's the same!
15644
15645 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * lyxfont.C:
15648         * tabular.C:
15649         * tabular-old.C:
15650         * FontInfo.C: bring C functions into global namespace when
15651         necessary
15652
15653 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15654
15655         * LString.h: make sure config.h has been loaded before LString.h.
15656
15657         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15658         (one for each char read by EatLine!).
15659
15660         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15661         variables.
15662
15663 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15666         to the same as the par we break from
15667
15668 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15671
15672         * MenuBackend.C (expand): also create menu entries for wide
15673         versions of the floats.
15674
15675         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15676
15677         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15678
15679         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15680         frontends/Makefile.am
15681
15682         * text2.C: adjust
15683         * text.C: adjust
15684
15685
15686         * tabular.C (getTokenValue): add std::
15687
15688         * tabular-old.C (getTokenValue): add std::
15689         (getTokenValue): ditto
15690         (getTokenValue): ditto
15691
15692         * screen.C (ToggleSelection): adjust
15693
15694         * lyxtext.h: put selection cursors inside a Selection struct.
15695
15696         * lyxfunc.C (moveCursorUpdate): adjust
15697
15698         * lyxfont.C (latexWriteStartChanges): add std::
15699
15700         * lyxfind.C: adjust
15701
15702         * font.h: delete with(char const *, LyXFont const &)
15703
15704         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15705
15706         * FontInfo.C (getFontname): add std::
15707
15708         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15709         (workAreaButtonPress): adjust
15710         (tripleClick): adjust
15711         (update): adjust
15712         (moveCursorUpdate): adjust
15713         (Dispatch): adjust
15714
15715         * BufferView2.C (gotoInset): adjust
15716
15717 2001-05-30  Juergen Vigna  <jug@sad.it>
15718
15719         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15720         to check pspell I add this as default as I now have new pspell
15721         libraries and they seem to use this.
15722
15723 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15724
15725         * text2.C (CutSelection): make the cursor valid before the call to
15726         ClearSelection.
15727
15728 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15731         relied on 0 terminated strings and other horrors. Bug found due to
15732         the new assert in lyxstring!
15733
15734         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15735         KP_ keys.
15736
15737 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15740         to latinkeys.bind.
15741
15742         * lyxfunc.C (processKeySym): change method of getting to the
15743         self-insert char.
15744
15745         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15746         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15747         * BufferView_pimpl.[Ch]: here as private methods.
15748
15749 2001-05-28  Juergen Vigna  <jug@sad.it>
15750
15751         * text.C (SetHeightOfRow): added the update() call again as it is
15752         needed to initialize inset dimensions!
15753
15754 2001-05-16  Juergen Vigna  <jug@sad.it>
15755
15756         * text2.C (SetCharFont): Add new function with BufferView * and
15757         bool toggleall parameters for setting insets internal fonts.
15758         (SetFont): Freeze the undo as we may change fonts in Insets and
15759         all this change should be inside only one Undo!
15760
15761         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15762         setting font's in insets as for them we have the SetFont function!
15763
15764 2001-05-15  Juergen Vigna  <jug@sad.it>
15765
15766         * text2.C (ClearSelection): to be sure we REALLY don't have any
15767         selection anymore!
15768
15769         * tabular.C (TeXCellPreamble): fixed the left border problem for
15770         multicolumn cells.
15771
15772 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15773
15774         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15775         dependancy file
15776
15777 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15780         LFUN_BREAKPARAGRAPH.
15781
15782         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15783         help test to "internal only", similar for LFUN_INSERT_URL
15784
15785         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15786         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15787         auto_region_delete and deadkeys.
15788
15789 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15790
15791         * LColor.h:
15792         * LColor.C: remove some dead entries, tidy a little
15793
15794 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15795
15796         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15797         commented code.
15798         (Dispatch): implement LFUN_ESCAPE
15799
15800         * commandtags.h: add LFUN_ESCAPE
15801
15802         * LyXAction.C (init): add entry for LFUN_ESCAPE
15803
15804         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15805         Remove commented code.
15806         (insertNote): moved here
15807         (open_new_inset): moved here
15808
15809         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15810         BufferView_pimpl
15811
15812 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * kbmap.C (findbinding): clean it up and make it work correctly.
15815
15816         * lyx_main.C (init): do not pass argc and argv as parameters
15817
15818 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15819
15820         * buffer.C: fix path for OS/2 & Win32
15821
15822         * lyx_gui.C:
15823         * lyx_main:
15824         * lyx_main.C: Added os:: class.
15825
15826         * os2_defines.h: update
15827
15828 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15831         better by trying again with reduced state.
15832
15833 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * lyxrc.C (read): print error about invalid key sequence only when
15836         debugging (because not all latinX keysyms are known to some X
15837         servers)
15838
15839         * kbsequence.C (getiso): add a few std:: qualifiers
15840         (getiso): comment out extra return statement.
15841
15842 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15845         handling.
15846         (Dispatch): enhance the accent inset a bit. (not perfect)
15847
15848 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15849
15850         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15851
15852 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * bufferlist.C (emergencyWrite): fix assert() call
15855
15856 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15857
15858         * text.C (InsertChar): Added trivial patch to only send the "you
15859         can not do multiple spaces this way" message once during a
15860         session.
15861
15862 2001-05-08  Baruch Even  <baruch@lyx.org>
15863
15864         * Makefile.am: Changed order of libraries to get LyX to link properly
15865         with the gnome frontend.
15866
15867 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15868
15869         * LaTeXFeatures.h: add a std:: qualifier
15870
15871 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * paragraph.C (String): use stringstream
15874
15875 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * paragraph.C (writeFile): remove footflag arg
15878
15879         * buffer.C (makeLaTeXFile): use stringstream
15880         (latexParagraphs): remove footnot gurba
15881
15882         * LaTeXFeatures.C (getPackages): use stringstream
15883         (getMacros): likewise
15884         (getTClassPreamble): likewise
15885         (getFloatDefinitions): new method
15886
15887         * paragraph.C (writeFile): reindent
15888         (Erase): reindent
15889
15890         * WorkArea.h: revert the xpos + etc changes.
15891
15892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15893
15894         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15895
15896         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15897         (pasteSelection): likewise
15898         * text2.C (CreateUndo): likewise
15899
15900 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15901
15902         * minibuffer.C (peek_event): temporarily reduce the functionality
15903         of the minibuffer (to allow args on lfuns)
15904
15905         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15906         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15907
15908         * buffer.C (readInset): add compability reading of old float
15909         lists, add reading of new style float list.
15910         (readInset): avoid reevaluation of inscmd.getCmdName()
15911         (getLists): reindent
15912
15913         * MenuBackend.C (MenuItem): implement parsing of
15914         md_floatlistinsert and md_floatinsert.
15915         (expand::LastFiles): move initalizaton of iterators out of loop,
15916         avoid reevaluation.
15917         (expand::Documents): introduce typdedef vector<string> Strings,
15918         and use it.
15919         (expand::ExportFormats): introduce typedef vector<Format const *>
15920         Formats, and use it.
15921         (expand): implement FloatListInsert and FloatInsert.
15922
15923         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15924         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15925         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15926
15927         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15928         handling.
15929         (Dispatch::LFUN_FLOAT_LIST): implement
15930
15931 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15932
15933         * LaTeX.C (run): Fix problem with --export code.
15934
15935 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15936
15937         * BufferView.[Ch] (workarea): removed.
15938         (getClipboard) new method; wrapper for workarea()->getClipboard()
15939
15940         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15941         bug.
15942
15943         * WorkArea.h (width, height, xpos, ypos): These methods all
15944         returned the dimensions of the work_area sub-area of WorkArea,
15945         resulting in a position error if the WorkArea were resized. Now
15946         return the dimensions of the entire WorkArea.
15947
15948         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15949
15950 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15951
15952         * LaTeX.C (deplog): correct the syntax of regex reg1
15953
15954 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * undo.C: remove !NEW_INSETS cruft
15957
15958 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * text2.C: remove !NEW_INSETS cruft
15961
15962         * text.C: remove !NEW_INSETS cruft
15963
15964         * tabular.C: remove !NEW_INSETS cruft
15965
15966         * spellchecker.C: remove !NEW_INSETS cruft
15967
15968         * lyxtext.h: remove !NEW_INSETS cruft
15969
15970         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15971
15972         * lyxfunc.C: remove !NEW_INSETS cruft
15973
15974         * lyxfind.C: remove !NEW_INSETS cruft
15975
15976         * lyx_cb.C: remove !NEW_INSETS cruft
15977
15978         * figureForm.C: remove  !NEW_INSETS cruft
15979
15980         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15981
15982         * buffer.[Ch]: remove !NEW_INSETS cruft
15983
15984         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15985
15986         * CutAndPaste.C: remove !NEW_INSETS cruft
15987
15988         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15989
15990         * BufferView2.C: remove !NEW_INSETS cruft
15991
15992         * BufferView.h: remove !NEW_INSETS cruft
15993
15994 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15995
15996         * Lsstream.h: include LString.h before the sstream headers to
15997         fix problem with gcc 2.95.3 and lyxstring
15998
15999 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * lyx_main.C: add using directives when needed for C functions
16002         declared in std:: namespace.
16003
16004 2001-04-27  Juergen Vigna  <jug@sad.it>
16005
16006         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16007         (SetHeightOfRow): comment out the update call should not be needed!
16008
16009 2001-04-13  Juergen Vigna  <jug@sad.it>
16010
16011         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16012         (LyXTabular): tried to minimize operator= operations (and realized
16013         hopfully Lars wish).
16014
16015 2001-04-27  Juergen Vigna  <jug@sad.it>
16016
16017         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16018
16019 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16020
16021         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16022
16023         * buffer.C (readInset): hack to make listof algorithm work
16024
16025         * BufferView_pimpl.C: hack to make listof algorithm work
16026
16027 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16028
16029         * LyXAction.C: removed all !NEW_INSETS cruft
16030         (init): moved lfun_item in method
16031
16032         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16033
16034 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16035
16036         * BufferView2.C (theLockingInset): white space.
16037
16038 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * minibuffer.C: include <iostream>
16041
16042         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16043
16044         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16045
16046         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16047
16048         * text.[Ch] (TransposeChars): new method
16049
16050 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * call message directly through LyXView instead of through LyXFunc
16053         * BufferView2.C: adjust
16054         * BufferView_pimpl.C: adjust
16055         * FontLoader.C: adjust
16056         * buffer.C: adjust
16057         * bufferview_funcs.C: adjust
16058         * converter.C: adjust
16059         * figureForm.C: adjust
16060         * importer.C: adjust
16061         * lyx_cb.C: adjust
16062         * lyx_gui_misc.C: adjust
16063         * lyxfunc.C: adjust
16064         * lyxvc.C: adjust
16065         * text2.C: adjust
16066         + more files in subdirs
16067
16068         * lyxparagraph.h (size): move up int file
16069         (GetLayout): ditto
16070
16071         * adjust all uses of Assert to lyx::Assert.
16072
16073         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16074         lyxfunctional in namespace lyx
16075         * layout.C (hasLayout): ditto
16076         (GetLayout): ditto
16077         (GetLayout): ditto
16078         (delete_layout): ditto
16079         (NumberOfClass): ditto
16080         * converter.C (GetFormat): ditto
16081         (GetNumber): ditto
16082         (Add): ditto
16083         (Delete): ditto
16084         (SetViewer): ditto
16085         * bufferlist.C (getFileNames): ditto
16086         (emergencyWriteAll): ditto
16087         (exists): ditto
16088         (getBuffer): ditto
16089         * MenuBackend.C (hasSubmenu): ditto
16090         (hasMenu): ditto
16091         (getMenu): ditto
16092         * BufferView_pimpl.C (getInsetByCode): ditto
16093
16094 2001-04-18  Juergen Vigna  <jug@sad.it>
16095
16096         * vspace.C (asLatexString): fixed the 100% problem.
16097
16098 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16099
16100         * lyxfunc.C (Dispatch):
16101         * minibuffer.C:
16102         * minibuffer.h: add a few std:: qualifiers
16103
16104 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * minibuffer.[Ch]: reimplement so that commands is initiated and
16107         run from lyxfunc, simplified som handling, and made the completion
16108         and history code for complete. wip.
16109
16110         * lyxfunc.C (processKeySym): call message
16111         (miniDispatch): new temporary method
16112         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16113         (LFUN_MESSAGE): implement
16114         (LFUN_MESSAGE_PUSH): implement
16115         (LFUN_MESSAGE_POP): implement
16116         (initMiniBuffer): the initial/defualt minibuffer message.
16117
16118         * lyxfont.[Ch]: inline some more getters
16119
16120         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16121
16122         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16123
16124         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16125         (AutoSave): use LFUN_MESSAGE
16126         (Reconfigure): ditto
16127
16128         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16129
16130         * figureForm.C: use LFUN_MESSAGE
16131
16132         * converter.C (runLaTeX): use LFUN_MESSAGE
16133
16134         * bufferview_funcs.C: use LFUN_MESSAGE
16135         (Melt): ditto
16136         (changeDepth): ditto
16137
16138         * bufferparams.h: use boost::
16139
16140         * bufferlist.h: inherit privately from noncopyable
16141
16142         * bufferlist.C (loadLyXFile): remove some commented code.
16143
16144         * buffer.C (runChktex): use LFUN_MESSAGE
16145
16146         * ShareContainer.h: inherit privately from noncopyable
16147
16148         * ParagraphParameters.[hC] (depth): inline it.
16149
16150         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16151         methods.
16152         (message): new method
16153         (messagePush): ditto
16154         (messagePop): ditto
16155         (show): init minibuffer
16156         (showState): direct call
16157
16158         * LaTeX.[Ch]: inherit privately from noncopyable
16159         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16160         instead of WriteStatus.
16161
16162         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16163
16164         * BufferView_pimpl.C (buffer): don't init minibuffer
16165         (workAreaButtonPress): use LFUN_MESSAGE
16166         (workAreaButtonRelease): ditto
16167         (savePosition): ditto
16168         (restorePosition): ditto
16169         (MenuInsertLyXFile): ditto
16170         (workAreaExpose): don't init minibuffer
16171         (update): remove commented code, simplify
16172
16173         * BufferView2.C (openStuff): use LFUN_MESSAGE
16174         (toggleFloat): ditto
16175         (menuUndo): ditto
16176         (menuRedo): ditto
16177         (copyEnvironment): ditto
16178         (pasteEnvironment): ditto
16179         (copy): ditto
16180         (cut): ditto
16181         (paste): ditto
16182         (gotoInset): ditto
16183         (updateInset): remove some commented code
16184
16185         * lastfiles.h: inherit privately from noncopyable
16186         * layout.h: ditto
16187         * lyx_gui.h: ditto
16188         * lyx_main.h: ditto
16189         * lyxlex.h: ditto
16190         * lyxlex_pimpl.h: ditto
16191
16192         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16193         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16194         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16195
16196         * LyXAction.h: inherit privately from noncopyable, add methods
16197         func_begin, func_end, returning iterators to the func map.
16198
16199         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16200         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16201         (func_begin): new method
16202         (func_end): new method
16203
16204         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16205         and not)
16206         (copySelection): ditto
16207         (pasteSelection): ditto
16208
16209         * BufferView.C: whitespace change
16210         * BufferView.h: inherit privately from noncopyable
16211
16212 2001-04-16  Allan Rae  <rae@lyx.org>
16213
16214         * tabular-old.C (l_getline):
16215         * spellchecker.C (sc_check_word):
16216         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16217         an unrecognised preprocessor directive.  So ensure they're wrapped.
16218
16219 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * src/exporter.C (Export): Give an error message when path to file
16222         contains spaces.
16223
16224 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16225
16226         * LaTeX.C (deplog): Always check that foundfile exists.
16227
16228 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16229
16230         * lyx_main.h:
16231         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16232
16233 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16234
16235         * tabular.[Ch] (getLabelList): implement new method
16236
16237         * minibuffer.h: comment ouf setTiimer
16238
16239         * minibuffer.C (ExecutingCB): constify res
16240         (peek_event): constify s
16241         (Set): constify ntext
16242         (Init): constify nicename
16243
16244         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16245
16246         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16247         (savePosition): use two params to Minibuffer::Set
16248         (restorePosition): ditto
16249
16250 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * lyx_main.C: include language.h
16253
16254         * Makefile.am (lyx_main.o): add language.h
16255
16256 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16257
16258         * exporter.C:
16259         * paragraph.C:
16260         * screen.C:
16261         * tabular.C:
16262         * CutAndPaste.C: include gettext.h
16263
16264         * lyxfont.h: remove old hack with ON and OFF.
16265
16266         * lyxparagraph.h:
16267         * lyxfont.h: do not include language.h...
16268
16269         * BufferView2.C:
16270         * LaTeXFeatures.C:
16271         * Painter.C:
16272         * bufferview_funcs.C:
16273         * font.C:
16274         * lyxfont.C:
16275         * text.C:
16276         * text2.C:
16277         * trans_mgr.C:
16278         * paragraph.C: ... but do it here instead
16279
16280 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16281
16282         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16283
16284         * tabular.C: small reformat
16285
16286         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16287         NEW_INSETS version
16288         (GetChar): ditto
16289         (BreakParagraph): ditto
16290         (SetOnlyLayout): ditto
16291         (SetLayout): ditto
16292
16293         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16294         with one arg less.
16295
16296         * lastfiles.C: removed most using decl, add std:: where needed
16297
16298         * buffer.C: ws changes
16299
16300         * MenuBackend.C (class compare_format): put into anon namespace
16301         (expand): constify label, names, action, action2
16302         (expand):
16303
16304         * text.C (SingleWidth): constify font
16305         (IsBoundary): constify rtl2
16306         (GetVisibleRow): constify ww
16307
16308         * LaTeX.C (deplog): constify logfile
16309
16310         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16311         start_x, end_x
16312         (workAreaExpose): constify widthChange, heightChange
16313
16314         * lyxrow.C (par): moved
16315         (height): moved
16316         (next): moved
16317         * lyxrow.h: as inlines here
16318
16319         * lyxfont.h (shape): moved from lyxfont.C
16320         (emph): moved from lyxfont.C
16321
16322         * lyxfont.C (LyXFont): use initialization list for all
16323         constructors
16324         (shape): move to lyxfont.h as inline
16325         (emph): move to lyxfont.h as inline
16326
16327
16328 2001-04-04  Juergen Vigna  <jug@sad.it>
16329
16330         * vspace.C: had to include stdio.h for use of sscanf
16331
16332 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16333
16334         * BufferView.h:
16335         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16336         independent of xforms.
16337
16338 2001-04-02  Juergen Vigna  <jug@sad.it>
16339
16340         * spellchecker.C: fixed namespace placing!
16341
16342 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16343
16344         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16345         the LyXParagraph * is 0.
16346
16347 2001-03-29  Juergen Vigna  <jug@sad.it>
16348
16349         * vspace.C: added support for %, c%, p%, l%.
16350         (stringFromUnit): added helper function.
16351         (asLatexString): changed to give right results for the %-values.
16352
16353         * buffer.C: convert the widthp in a width%.
16354
16355 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16356
16357         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16358         figureForm.[Ch].
16359
16360         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16361         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16362
16363         * lyx_cb.[Ch]: see above.
16364
16365         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16366         form1.[Ch].
16367
16368         * form1.[Ch]:
16369         * lyx.[Ch]: replaced by figure_form.[Ch].
16370
16371         * lyx_gui.C:
16372         * lyx_gui_misc.C:
16373         * lyxfunc.C: changed headers associated with above changes.
16374
16375 2001-03-27  Juergen Vigna  <jug@sad.it>
16376
16377         * BufferView_pimpl.C: set the temporary cursor right!
16378
16379 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16380
16381         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16382
16383 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16384
16385         * LString.h: removed "using std::getline"!
16386
16387         * BufferView_pimpl.C (Dispatch): changes due to changes in
16388         InsetInclude::Params.
16389
16390         * buffer.C (tag_name): removed redundant break statements as they were
16391         producing lots of warnings with my compiler.
16392
16393 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16394
16395         * LString.h: add "using std::getline" when using the real <string>.
16396
16397 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16398
16399         * buffer.C: removed bitset usage.
16400         PAR_TAG moved to an anonymous name space.
16401         (tag_name): new funtion, also in the anonymous namespace.
16402         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16403         (makeDocBookFile): clean code. Completed transition from string arrays
16404         to string vectors.
16405         (SimpleDocBookOnePar): code clean.
16406
16407 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16408
16409         * tabular.C: add some comments.
16410
16411 2001-03-22  Juergen Vigna  <jug@sad.it>
16412
16413         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16414         compatibility read a bit and fixed bug with minipage in different
16415         depth.
16416
16417 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16418
16419         * buffer.C (pop_tag): removed.
16420         (push_tag): removed.
16421         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16422         array replaced with vector. Added support for CDATA sections.
16423         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16424         at any nest level.
16425         (makeDocBookFile): XML conformant declaration of CDATA section,
16426         fixed bug related to <emphasis> in the first paragraph char.
16427         (sgmlOpenTag): exclude empty tags.
16428         (sgmlCloseTag): ditto.
16429
16430         * buffer.h (pop_tag): removed.
16431         (push_tag): removed.
16432
16433 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16434
16435         * language.h (Languages): added size_type and size().
16436
16437 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16438
16439         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16440         response on compability reading of minipages. One probliem is that
16441         the old usage of minipages was «flertydig»
16442
16443         * several files here and in subdirs: don't use static at file
16444         scope use anon namespaces instead.
16445
16446 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16447
16448         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16449         LaTeX output. This is necessary for Literate document
16450         processing.
16451
16452 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16453
16454         * buffer.C: insert hfill when needed.
16455
16456         * tabular.C (l_getline): use string::erase, small whitespace change.
16457
16458         * BufferView_pimpl.C: try the anon namespace.
16459         * WorkArea.C: ditto
16460
16461 2001-03-16  Juergen Vigna  <jug@sad.it>
16462
16463         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16464         otherwise it won't open options-dialogs.
16465
16466         * buffer.C: honor pextraWidth(p) on converting minipages.
16467
16468         * tabular.C (l_getline): changed the functions to strip trailing \r.
16469
16470 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16471
16472         * BufferView_pimpl.C:
16473         * minibuffer..C: added "using SigC::slot" declaration.
16474
16475 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16476
16477         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16478
16479         * text2.C: ditto
16480
16481         * text.C: ditto
16482
16483         * paragraph.C: ditto
16484
16485         * lyxtext.h: NO_PEXTRA
16486
16487         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16488
16489         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16490         * ParameterStruct.h: ditto
16491         * ParagraphParameters.h: ditto
16492         * lyxparagraph.h: ditto
16493
16494 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16495
16496         * buffer.C: add compability for minipage alignment.
16497         (latexParagraphs): remove unwanted pextra check.
16498
16499         * several files: remove CXX_WORKING_NAMESPACES
16500
16501         * buffer.C (pop_tag): tie is in namespace boost
16502
16503         * BufferView.h: noncopyable is in namespace boost
16504         * lyxlex.h: ditto
16505         * lyx_main.h: ditto
16506         * lyx_gui.h: ditto
16507         * layout.h: ditto
16508         * lastfiles.h: ditto
16509         * bufferlist.h: ditto
16510         * ShareContainer.h: ditto
16511         * LyXView.h: ditto
16512         * LyXAction.h: ditto
16513         * LaTeX.h: ditto
16514
16515 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16516
16517         * Merging changes from BRANCH_MVC back into HEAD.
16518
16519         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16520
16521 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * BufferView_pimpl.C: change from intl.C
16524
16525         * combox.h:
16526         * combox.C:
16527         * Makefile.am: move combox.*
16528
16529         * form1.h:
16530         * form1.C:
16531         * lyx_gui.C:
16532         * intl.h:
16533         * intl.C: remove dialog (covered by prefs)
16534
16535 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16536
16537         * lyxfunc.C (Dispatch): removed redundant break statement.
16538
16539 2001-03-14  Juergen Vigna  <jug@sad.it>
16540
16541         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16542
16543 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16544
16545         * buffer.C: add hack to fix compability reading of minipages.
16546
16547 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16548
16549         * buffer.C (getLists): Cleanup.
16550
16551 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * lyxfont.C (update): don't honor toggleall on font size.
16554
16555 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16556
16557         * bmtable.c:
16558         * bmtable.h:
16559         * Makefile.am: moved to frontends/xforms/
16560
16561         * lyx_gui_misc.C:
16562         * lyxfunc.C:
16563         * BufferView_pimpl.C: changes for moved mathpanel
16564
16565 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16566
16567         * gettext.h: fix gettext_init() in --disable-nls
16568
16569 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16572
16573 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16574
16575         * lyx.C:
16576         * lyx.h: strip external form
16577
16578 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16579
16580         * BufferView_pimpl.C: add comment, destroySplash()
16581
16582 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16583
16584         * BufferView_pimpl.C:
16585         * LyXAction.C:
16586         * buffer.C:
16587         * commandtags.h:
16588         * lyxfunc.C: use re-worked insetinclude
16589
16590 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16591
16592         * buffer.C: add using std::stringstream.
16593
16594         * lyx_cb.C: readd using std::ios.
16595
16596         * buffer.C: add using std::map.
16597
16598         * BufferView_pimpl.C: add using std::vector.
16599
16600         * ShareContainer.h: add std:: to swap.
16601
16602         * buffer.h: add some typedefs
16603         * buffer.C (getLists): use them
16604         (getLists): renamed from getTocList.
16605         add a counter for the different float types and use it in the
16606         generated string.
16607         (getLists): use the same counter for the NEW_INSETS and the "non"
16608         NEW_INSETS
16609
16610         * lyx_cb.h: remove unused items, includes, using etc.
16611
16612         * ShareContainer.h: remove some commented code, add more comments
16613         and "documentation".
16614
16615 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16616
16617         * buffer.C (getTocList): make the list also when NEW_INSETS is
16618         defined.
16619
16620         * buffer.h: remove TocType
16621
16622         * buffer.C (getTocList): change to return a map<string,
16623         vector<TocItem> >, implement for dynamic number of list.
16624
16625         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16626         * text2.C (PasteSelection): adjust
16627         * CutAndPaste.C (pasteSelection): adjust
16628
16629         * FloatList.C (FloatList): update from the new_insets branch.
16630         * Floating.[Ch]: ditto
16631         * LaTeXFeatures.C: ditto
16632         * buffer.C: ditto
16633         * lyxlex_pimpl.C: ditto
16634
16635         * paragraph.C (Last): remove when NEW_INSETS is defined.
16636
16637         * other file: changes because of the above.
16638
16639 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16640
16641         * lyxparagraph.h: rename next to next_, previous to previous_,
16642         make them private for NEW_INSETS. Rename Next() to next(),
16643         Previous() to previous().
16644
16645         * other files: changes because of the above.
16646
16647 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * BufferView.h:
16650         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16651         problem.
16652
16653 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16654
16655         * main.C (main): pass lyx_localedir to gettext_init().
16656
16657         * gettext.h: remove locale_init and gettext_init macros
16658
16659         * gettext.C (locale_init): new function
16660         (gettext_init): new function
16661
16662         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16663         setlocale().
16664
16665 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16666
16667         * Moved credits to frontends:
16668         * credits.[Ch]: removed
16669         * credits_form.[Ch]: removed
16670         * lyx_gui_misc.C: remove credits stuff
16671         * Makefile.am:
16672
16673 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16674
16675         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16676
16677         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16678         unneeded destructor.
16679
16680         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16681         a standalone pointer again.
16682
16683         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16684
16685 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16686
16687         * Makefile.am:
16688         * filedlg.h:
16689         * filedlg.C:
16690         * LyXAction.C:
16691         * ToolbarDefaults.C:
16692         * bufferlist.C:
16693         * commandtags.h:
16694         * form1.C:
16695         * form1.h:
16696         * lyx_cb.C:
16697         * lyx_cb.h:
16698         * lyxfunc.h:
16699         * lyxfunc.C:
16700         * BufferView_pimpl.C: use new file dialog in GUII
16701
16702         * lyx_cb.h:
16703         * lyx_cb.C: remove LayoutsCB to Toolbar
16704
16705 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * ShareContainer.h (get): add std:: qualifier
16708
16709 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16710
16711         * ShareContainer.h: define a proper ShareContainer::value_type
16712         type (and use typename to please compaq cxx)
16713
16714 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16715
16716         * lyxparagraph.h: move serveral local vars to
16717         ParameterStruct/ParagraphParameters., use ShareContainer in
16718         FontTable., make vars in FontTable private and add getter and
16719         setter.
16720
16721         * paragraph.C: changes because of the above.
16722
16723         * lyxfont.h: remove copy constructor and copy assignment. (the
16724         default ones is ok), move number inside FontBits. move inlines to
16725         lyxfont.C
16726
16727         * lyxfont.C: add number to initializaton of statics, move several
16728         inlines here. constify several local vars. some whitespace
16729         cleanup. Dont hide outerscope variables.
16730
16731         * Spacing.h: add two new constructors to match the set methods.
16732
16733         * ShareContainer.h: new file, will perhaps be moved to support
16734
16735         * ParameterStruct.h: new file
16736
16737         * ParagraphParameters.h: new file
16738
16739         * ParagraphParameters.C: new file
16740
16741         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16742         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16743
16744         * BufferView_pimpl.C: ParagraphParameter changes.
16745         * buffer.C: Likewise.
16746         * bufferview_funcs.C: Likewise.
16747         * text.C: Likewise.
16748         * text2.C: Likewise.
16749
16750 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16751
16752         * lyxfind.C (LyXReplace): do not redefine default argument in
16753         implementation.
16754         (IsStringInText): ditto
16755         (SearchForward): ditto
16756         (SearchBackward): ditto
16757
16758 2001-03-06  Juergen Vigna  <jug@sad.it>
16759
16760         * lyxfind.C (IsStringInText): put parentes around expressions.
16761
16762 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16763
16764         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16765
16766 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16767
16768         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16769
16770         * stl_string_fwd.h: add comment
16771
16772         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16773
16774         * tabular.h:
16775         * tabular.C: remove unused DocBook methods
16776
16777         * intl.C:
16778         * language.C:
16779         * paragraph.C:
16780         * buffer.C:
16781         killed DO_USE_DEFAULT_LANGUAGE
16782
16783 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16784
16785         * lyx_gui.C: do not include language.h.
16786
16787         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16788         arguments in function implementation.
16789
16790 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16791
16792         * BufferView_pimpl.C: add <ctime>
16793
16794 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16795
16796         * BufferView_pimpl.C: add using std::find_if
16797
16798 2001-02-27  José Matos  <jamatos@fep.up.pt>
16799
16800         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16801         by OnlyPath.
16802
16803 2001-02-11  José Matos  <jamatos@fep.up.pt>
16804
16805         * buffer.C (makeDocBookFile): command styles now have a parameter as
16806         "title" by default.
16807
16808 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16809
16810         * layout_forms.[Ch]: removed
16811         * lyx_cb.[Ch]: out character
16812         * lyx_gui.C: out character
16813         * lyx_gui_misc.C: out character
16814         * bufferview_funcs.C: : out character,
16815         added toggleall as parameter in ToggleAndShow
16816
16817 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16818
16819         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16820
16821         * text2.C (SetCurrentFont): Disable number property at boundary.
16822
16823 2001-02-26  Juergen Vigna  <jug@sad.it>
16824
16825         * lyxfunc.C (getStatus): added a string argument override function so
16826         that this is correctly called from LyXFunc::Dispatch if it contains a
16827         do_not_use_argument which is used!
16828         (Dispatch): added check for "custom" export and call appropriate func.
16829
16830 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16831
16832         * lyxrc.C: Add language_command_local, language_use_babel and
16833         language_global_options.
16834
16835         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16836
16837         * buffer.C (makeLaTeXFile): Use language_use_babel and
16838         language_global_options.
16839
16840 2001-02-23  Juergen Vigna  <jug@sad.it>
16841
16842         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16843         which works with LyXText and putted it inside BufferView. Here now we
16844         only call for that part the BufferView::Dispatch() function.
16845
16846         * BufferView.C (Dispatch): added.
16847
16848         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16849         functions which needs to use a LyXText over from LyXFunc.
16850         (MenuInsertLyXFile): added
16851         (getInsetByCode): added
16852         (moveCursorUpdate): added
16853         (static TEXT): added
16854
16855 2001-02-22  Juergen Vigna  <jug@sad.it>
16856
16857         * BufferView_pimpl.C (update): call a status update to see if LyXText
16858         needs it.
16859
16860 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16861
16862         * vc-backend.C (revert): implement for CVS
16863         (getLog): implement for CVS
16864
16865 2001-02-20  Juergen Vigna  <jug@sad.it>
16866
16867         * text2.C (ClearSelection): added BufferView param for inset_owner call
16868
16869         * lyxfunc.C (TEXT): added this function and use it instead of
16870         directly owner->view()-text of getLyXText().
16871
16872 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16873
16874         * src/layout_forms.C: out preamble
16875         * src/layout_forms.h: out preamble
16876         * src/lyx_cb.C: out preamble
16877         * src/lyx_cb.h: out preamble
16878         * src/lyx_gui.C: out preamble
16879         * src/lyx_gui_misc.C: out preamble
16880         * src/lyxfunc.C: connect with guii preamble
16881
16882 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16883
16884         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16885
16886 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16887
16888         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16889         whether to run bibtex.
16890
16891 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16892
16893         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16894
16895 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16896
16897         * Makefile.am (lyx_SOURCES): removed bibforms.h
16898
16899         * vspace.h: doxygen
16900
16901         * text.C (GetVisibleRow): make several local vars const
16902
16903         * tabular.C: small cleanup.
16904
16905         * lyxserver.C (callback): use compare instead of strncmp
16906
16907         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16908         inlines to after class or to paragraph.C
16909
16910         * lyxfont.h: remove friend operator!=
16911
16912         * converter.h: move friend bool operator< to non friend and after
16913         class def.
16914
16915         * combox.h: small cleanup
16916
16917         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16918         to inlines after class def.
16919
16920         * buffer.C (pop_tag): use string operations instead of strcmp
16921
16922         * bmtable.c: doxygen, small cleanup
16923
16924         * LaTeX.h: remove friend operator==
16925
16926 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16927
16928         * screen.C:
16929         * lyxrc.[Ch]:
16930         * lyxfunc.C:
16931         * lyxfont.[Ch]:
16932         * lyx_cb.C:
16933         * intl.[Ch]:
16934         * commandtags.h:
16935         * buffer.C:
16936         * WorkArea.[Ch]:
16937         * LyXAction.C:
16938         * BufferView_pimpl.C:
16939         * BufferView.[Ch]: remove cruft
16940
16941 2001-02-14  Juergen Vigna  <jug@sad.it>
16942
16943         * lyxfunc.C: removed #if 0 unused code
16944
16945         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16946
16947         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16948
16949         * text2.C (SetSelection): added a BufferView * parameter
16950
16951 2001-02-13  Juergen Vigna  <jug@sad.it>
16952
16953         * lyxfunc.C (Dispatch): fixed protected blank problem.
16954         * BufferView2.C (protectedBlank): added LyxText * parameter.
16955
16956         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16957         (AppendColumn): same as above for column_info.
16958
16959         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16960         (moveCursorUpdate): use a LyXText param for support of InsetText.
16961
16962         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16963         (tripleClick): ditto
16964
16965         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16966
16967         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16968
16969         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16970
16971         * text2.C (SetSelection): set correct update status if inset_owner
16972         (ToggleFree): ditto
16973
16974 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16975
16976         * tabular.C: remove some commented code.
16977
16978 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16979
16980         * BufferView_pimpl.C: call hideSplash()
16981
16982         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16983
16984         * include_form.h:
16985         * bibforms.h: remove
16986
16987         * lyxfunc.C:
16988         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16989           add LFUN_CHILD_CREATE
16990
16991         * counters.h: fix tiny typo
16992
16993         * lyx_cb.C:
16994         * lyx.h:
16995         * lyx_gui.C:
16996         * lyx.C: move splash to frontends/xforms/
16997
16998         * lyx_gui_misc.C: move Include and Bibform to frontends
16999
17000         * lyxvc.h: clarify comment
17001
17002         * vspace.C: tiny housekeeping
17003
17004 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17005
17006         * text.C (PrepareToPrint): RTL Fix.
17007
17008         * paragraph.C (GetUChar): New method.
17009         (String):  Use GetUChar.
17010
17011         * buffer.C (asciiParagraph): Use GetUChar.
17012
17013 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17014
17015         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17016
17017 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17018
17019         * buffer.h:
17020         * buffer.C: rename to getLogName(), handle
17021           build log / latex log nicely
17022
17023 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17024
17025         * MenuBackend.C:
17026         * MenuBackend.h: remove support for reference menuitem type.
17027
17028 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17029
17030         * BufferView_pimpl.C: housekeeping
17031         * BufferView_pimpl.h:
17032         * LyXView.h:
17033         * Makefile.am:
17034         * Timeout.C:
17035         * Timeout.h:
17036         * minibuffer.h: move Timeout GUI-I
17037
17038 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17039
17040         * lyxrc.C (read): Update converters data-structures.
17041
17042 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17043
17044         * LaTeX.h (operator!=): add operator != for Aux_Info
17045
17046 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17047
17048         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17049
17050         * LaTeXLog.C: deleted, useful code moved to Buffer
17051
17052         * buffer.h:
17053         * buffer.C: new function getLatexLogName()
17054
17055         * lyx_gui_misc.C:
17056         * lyx_gui.C:
17057         * lyxvc.C:
17058         * lyxvc.h:
17059         * lyxfunc.C: use frontends for LaTeX and VC logs
17060
17061 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17062
17063         * LaTeX.h: yet another std:: that Allan forgot.
17064
17065         * Variables.C (set): renamed from isset(), because this clashes
17066         with some HP-UX macros (grr).
17067
17068 2001-02-06  Allan Rae  <rae@lyx.org>
17069
17070         * LaTeX.h: Another bug fix.  Missing std:: this time.
17071
17072 2001-02-04  Allan Rae  <rae@lyx.org>
17073
17074         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17075         floats problem. I've left it commented out because it's not quite
17076         correct.  It should also test that the current object is a table or
17077         figure inset.  But I haven't gotten around to figuring out how to do
17078         that.  I *think* it'll be something like: "table" == inset.type()
17079
17080         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17081         bool.
17082
17083 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17084
17085         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17086         all the citation/databases/styles in the auxilary file.
17087         (run): Rerun latex if there was a babel language error.
17088
17089 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17090
17091         * text.C (Backspace): Preserve the font when changing newline char
17092         with a space.
17093         (BreakParagraph): If the cursor is before a space, delete the space.
17094
17095         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17096
17097 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17098
17099         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17100         new argument (code).
17101         (ChangeCitationsIfUnique): New method.
17102
17103         * paragraph.C (GetPositionOfInset): Handle bibkey.
17104
17105 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17106
17107         * BufferView_pimpl.h: change type of Position::par_pos to
17108         LyXParagraph::size_type.
17109
17110 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17111
17112         * BufferView_pimpl.C (savePosition, restorePosition): Write
17113         messages to minibuffer.
17114
17115 2001-01-28  José Matos  <jamatos@fep.up.pt>
17116
17117         * buffer.C (makeDocBookFile): adds support for document language.
17118         A silly restriction on the name of LatexCommand types where removed.
17119         Added support for CDATA sections, allows to chars unescaped, used
17120         among others in code, to avoid escape < and >.
17121
17122 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17123
17124         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17125         saved positions instrad of a stack. Furthermore, a position is
17126         stored using paragraph id/paragraph position.
17127
17128         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17129         Remove LFUN_REF_BACK.
17130
17131 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * converter.C (dvipdfm_options): New method.
17134
17135 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17136
17137         * vspace.C (isValidLength): Fix for empty input string.
17138
17139 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17140
17141         * LyXAction.C (init): change description of LFUN_FIGURE to
17142         "Insert Graphics"
17143
17144 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17145
17146         * LaTeX.C: add using directive
17147
17148 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17149
17150         * MenuBackend.C (expand): Fix the sorting of the formats.
17151
17152 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17153
17154         * lyx_main.C: tiny error message fix
17155
17156 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17157
17158         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17159         calling fl_initialize(). This fixes the problem with ',' as
17160         decimal separator in text files.
17161
17162 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * trans.C (process): Fix the keymap bug.
17165
17166 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17167
17168         * LaTeX.C (scanAuxFiles): New method. Provides support for
17169         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17170         (scanLogFile) Scan for "run BibTeX" messages.
17171
17172         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17173         OT1 font encoding. Also, load the aecompl package if the ae
17174         package is loaded.
17175
17176         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17177
17178 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17179
17180         * texrow.C (increasePos): turn two error messages into debug
17181         messages.
17182
17183 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17184
17185         * LaTeX.C (scanAux): Handle the \@input macro.
17186         (runBibTeX): Use scanAux().
17187
17188         * language.C (latex_options_): New field.
17189
17190         * LaTeXFeatures.C (getMacros): Add language macros.
17191
17192         * buffer.C (makeLaTeXFile): Small fix.
17193
17194 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17197
17198         * text2.C: add a using directive.
17199
17200 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17201
17202         * BufferView2.C:
17203         * lyx_gui_misc.h:
17204         * lyxfr1.C:
17205         * lyxfunc.C: kill LyXBell.
17206
17207 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17208
17209         * text.C (IsBoundary): Remove the error message
17210
17211         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17212
17213         * lyxrc.C (setDefaults): Correct initialization value for
17214         font_norm_type.
17215
17216 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17217
17218         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17219         gotoError().
17220
17221         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17222         and GotoNextNote().
17223
17224         * src/LyXAction.C: Added reference-next.
17225
17226         * text.C (InsertChar): Use contains instead of strchr.
17227
17228         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17229
17230 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17231
17232         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17233         alignment commands (when needed).
17234
17235         * text.C (InsertChar): Add ':' to number separator chars.