]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b74e12d712e2e4e91fb1a39999fe7e1a2c38fc1a
[lyx.git] / src / ChangeLog
1 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * text3.C (cursorPrevious): return true if depm changed something
4         (cursorNext): ditto
5         (dispatch): rename sl to oldTopSlice, remove moving use the new
6         NoUpdate func attrib instead. Make sure that needsUpdate is set
7         for function that have NoUpdate, but where depm might have changed
8         the buffer anyway.
9
10         * text2.C (cursorLeft): make us return true if depm changed
11         something
12         (cursorRight): ditto
13         (cursorUpParagraph): ditto
14         (curosrDownParagraph): ditto
15         (cursorUp, cursorDown): ditto, make sure to read comments in code
16         (deleteEmptyParagraphMechanism): remove an assert, also return
17         true if just a single char was deleted.
18
19         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
20         cursor that we modify, to avoid modifying an active cursor before
21         we call setCursor. This allows depm to run. Also return true if
22         depm deleted something.
23
24         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
25         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
26         cursorDownParagraph, cursorPrevious and cursorNext, return true if
27         something was changed in the buffer because of them (ie. depm run)
28
29         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
30         debug messages. Make update by default be false. Make sure that
31         the result of update is retained throught several calls down to
32         dispatch.
33
34         * LyXAction.h: add a new func_attrib: NoUpdate
35
36         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
37         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
38         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
39         and LFUN_WORDLEFT
40         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
41
42 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
45         bv_->owner(), bv_->buffer() by direct references to the private
46         members.
47         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
48         (getStatus): isSavedPosition() is in BufferView::Pimpl.
49         (fitCursor): center() is in BufferView::Pimpl.
50         (getStatus, trackChanges, dispatch): no need for a temporary buf
51         variable
52         (fitCursor, workAreaDispatch): use workarea().workheight()
53
54 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
55
56         * CutAndPaste.C (pasteSelectionHelper): fix a crash
57
58 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
59
60         * buffer.C: format up to 241.
61         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
62         break if pasting into ERT
63         * lyxfunc.C (getStatus): suppress mathpanel and
64         LFUN_DIALOG_SHOW_NEW_INSET in ERT
65
66 2005-02-01  Angus Leeming  <leeming@lyx.org>
67
68         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
69
70 2005-02-01  Angus Leeming  <leeming@lyx.org>
71
72         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
73         calling fs::is_directory().
74
75 2005-01-31  Angus Leeming  <leeming@lyx.org>
76
77         * lyx_main.C (priv_exec): specify explicitly the relative location
78         of the top level build directory when run in-place.
79
80 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
83         LyXText containing the cursor, not the top-level one.
84
85         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
86         true.
87         (insertStringAsLines): rename par to pit; use temporary variable
88         par to hold a Paragraph; do not store par.layout() in a variable,
89         since the pointer may die when breaking paragraphs; pass pars to
90         breakParagraph() instead of Buffer::paragraphs().
91
92 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
93
94         * lyxlex_pimpl.h: #include <fstream>.
95
96         * BufferView.[Ch] (getLyXText): add a const version.
97
98         * BufferView_pimpl.C: add debug aids.
99
100         * RowList_fwd.h:
101         * buffer.h:
102         * lyxrow.h:
103         * paragraph_funcs.h: add commentary explaining what the class does.
104
105
106         * coordcache.[Ch]: add lots of commentary.
107         (startUpdating, doneUpdating): debug aids.
108         (arrays, insets, parPos, getParPos): accessors to private data.
109
110         * cursor_slice.[Ch] (text): add a const version.
111         * dociterator.[Ch] (text, innerText): add const versions.
112
113         * lyxtext.h (breakParagraph): change the keep_layout arg to a
114         bool.
115
116         * paragraph.C (getRow, pos2ros): add asserts.
117
118         * paragraph.h: add commentary. Lots of.
119
120         * paragraph.[Ch] (metrucs, draw): removed.
121
122         * cursor.C:
123         * rowpainter.[Ch]: const-correct changes.
124
125         * text.C: various obvious clean-ups. Removal of ancient cruft.
126         Bug fixes, even.
127
128 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
129
130         * vc-backend.C (find_file): rewrite to use boost.filesystem
131         (scanMaster): ditto
132
133         * main.C (main): set default name check for boost.filesystem to
134         no check
135
136         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
137         (open): ditto
138         (doImport): ditto
139         (actOnUpdatedPrefs): ditto
140
141         * lyx_main.C (init): rewrite to use boost.filesystem
142         (queryUserLyXDir): ditto
143
144         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
145         (getContentsOfAsciiFile): ditto
146
147         * lastfiles.C (readFile): rewrite to use boost.filesystem
148
149         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
150
151         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
152         (loadLyXFile): ditto
153
154         * buffer.C (Buffer): adjust for destroydir
155         (getLogName): rewrite to use boost.filesystem
156         (setFileName): ditto
157         (save): use fs::copy_file (from fs_extras)
158
159         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
160
161         * LaTeX.C (run): rewrite to use boost.filesystem
162         (scanAuxFiles): ditto
163         (handleFoundFile): ditto
164
165 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
168
169         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
170
171 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
172
173         * lyxlayout.[Ch]: change some vars from float to double
174
175         * buffer.C (readFile): make a local var const
176
177         * Several files: use convert<> instead of atoi,strToXXX and friends
178
179 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
180
181         * LaTeXFeatures.[Ch]: Add a static list packages_ that
182         holds the contents of packages.lst. New functions getAvailable
183         and isAvailable to parse and check that list, resp.
184
185         * LyXAction.C:
186         * lfuns.h:
187         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
188
189         * bufferparams.[Ch]: new param output_changes.
190
191         * Buffer.C: increase file format to 240.
192         Use output_changes and isVailable.
193
194         * changes.[Ch]:
195         * paragraph.C:
196         * paragraph_pimpl.C: Use output_changes and isVailable.
197
198 2005-01-23  Angus Leeming  <leeming@lyx.org>
199
200         * output_latex.C: #include "insetbibitem.h", rather than
201         forward declare function bibitemWidest.
202
203 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
204
205         * lyx_main.C (init): make it compile on the Mac.
206
207 2005-01-20  Angus Leeming  <leeming@lyx.org>
208
209         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
210         (setLyXMisc): (char string literal) != (char string literal) is
211         performing a comparison on the addresses. Convert one operand
212         explicitly to string to guarantee expected behaviour.
213         From MSVC warning.
214
215 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
216
217         * buffer.C:
218         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
219
220         * output_plaintext.C: remove unneeded #include gzstream.h.
221
222 2005-01-20  Angus Leeming  <leeming@lyx.org>
223
224         * SpellBase.h: rename some of the elements of the Result enum.
225
226         * aspell_local.h:
227         * ispell.h:
228         * pspell.h:
229         * aspell.C (check):
230         * ispell.C (check):
231         * pspell.C (check): ditto
232
233 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
234
235         * buffer.C: add #include <fstream>.
236
237         * lyx_main.C (init): Compile fix.
238
239         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
240
241 2005-01-20  Angus Leeming  <leeming@lyx.org>
242
243         * mover.h: change commentary to reflect the changed meaning of
244         the $$s placeholder.
245
246 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * output_linuxdoc.C (linuxdocParagraphs): silence warning
249
250         * lyxfind.C (MatchString::operator()): remove bogus semicolon
251
252 2005-01-20  Angus Leeming  <leeming@lyx.org>
253
254         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
255         printing diagnostic data by not dereferecing an iterator past the
256         end.
257
258 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
259
260         * buffer.C (readHeader): use "&&" rather than "and".
261
262         * lyxserver.h (inPipeName, outPipeName): make these const.
263
264 2005-01-19  Angus Leeming  <leeming@lyx.org>
265
266         * lyx_main.C (error_handler, init): protect SIGHUP with
267         #ifdef SIGHUP guards.
268
269 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
272
273 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * text.C (setHeightOfRow): add a margin at the top and bottom of
276         the document (bug 1761)
277
278 2005-01-17  Angus Leeming  <leeming@lyx.org>
279
280         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
281         with "python ". Workaround for a brain-dead Windows.
282
283 2005-01-16  Angus Leeming  <leeming@lyx.org>
284
285         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
286         for MacOSX and Windows to use prependEnvPath.
287         Strip out the hard-coded block to add elements to the PATH for
288         MacOSX and replace it with a call to prependEnvPath using the
289         contents of LyXRC::path_prefix.
290         (queryUserLyXDir): strip out the code to run reconfigure, instead
291         returning a boolean indicating the necessity to do so.
292         (reconfigureUserLyXDir): contains the code to reconfigure the
293         user support directory. Is now called after the various LyXRC data
294         files have been read.
295
296         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
297
298 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
299
300         * converter.[Ch] (convert): take a new parameter try_default. Use
301         a default converter (imagemagick) if try_default is true.
302
303 2005-01-13  Angus Leeming  <leeming@lyx.org>
304
305         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
306         os::cygwin_path_fix.
307         (write): output LyXRC::cygwin_path_fix as necessary.
308
309 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
310
311         * lyxrc.h:
312         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
313
314 2005-01-12  Angus Leeming  <leeming@lyx.org>
315
316         * lyx_main.C (init): set the PATH variable to include the
317         directory containing the LyX binary when running on Mac or Windows.
318
319 2005-01-12  Angus Leeming  <leeming@lyx.org>
320
321         * lyx_main.C (init): remove cruft that purports to set the locale
322         dir. It doesn't and is not needed anyway.
323
324 2005-01-10  Angus Leeming  <leeming@lyx.org>
325
326         * Makefile.am: remove the lyx_main.C special casing.
327
328         * BufferView_pimpl.C:
329         * bufferlist.C:
330         * exporter.C:
331         * lyx_cb.C:
332         * lyx_main.C:
333         * lyxfunc.C:
334         * messages.C: use support/package.h to provide the paths to the
335         various directories used by LyX.
336
337 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
340         layout if pasting into an empty paragraph)
341
342 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
343
344         * tex-accent.C: add <string>
345
346 2005-01-06  José Matos  <jamatos@lyx.org>
347
348         * ParagraphParameters.C (write): put every parameter in its own line.
349         * paragraph.C (write): reduce number of consecutive empty lines exported.
350         * buffer.C (LYX_FORMAT): increase file format to 239.
351
352 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
353
354         * everywhere: change support/tostr.h -> support/convert.h
355
356         * tabular.C: make all write_attributes templates, tostr -> convert
357
358         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
359         (emptyTag): and -> &&, and fix type for ret from getChar
360         (getFirstWord): fix type for ret from getChar
361         (onlyText): and -> &&
362         (simpleDocBookOnePar): and not -> && !, fix type for ret from
363         getChar
364
365         * toc.C (goTo, action):
366         * text3.C (dispatch):
367         * text.C (currentState):
368         * tex-accent.C (DoAccent):
369         * sgml.C:
370         * lyxrc.C:
371         * lyxfunc.C (menuNew):
372         * lyxfinc.C (replace):
373         * counters.C (laberItem):
374         * bufferview_funcs.C (font2string):
375         * bufferparams.C (writeFile):
376         * buffer.C (readFile):
377         * Spacing.C (set):
378         * MenuBackend.C: tostr -> convert
379
380         * LaTeX.C (runMessage): fix format
381         (scanAuxFiles): tostr -> convert
382
383         * BufferView_pimpl.C (savePosition): fix format
384         (restorePosition): ditto
385         (dispatch): ditto
386
387 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * Spacing.[Ch]: New method getValueAsString().
390
391         * Spacing.[Ch]:
392         * bufferparams.C:
393         * ParagraphParameters.C:
394         * lyxlayout.C:
395         * text.C:
396         * text3.C: store/read spacing value as string.
397
398         * rowpainter.C: change float value (spacing_val) to double.
399
400         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
401         broken custom document spacing).
402
403 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
404
405         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
406         namespace, also more use of temp references and const
407
408         * cursor.[Ch] (getStatus): move to lyxfunc.C
409
410         * bufferparams.C: reformat slightly
411
412         * bufferview_funcs.C (font2string): constify arg
413
414         * changes.C:
415         * converter.C:
416         * counters.C:
417         * bufferlist.C:
418         * buffer_funcs.C: (many funcs): constify arg on function
419         definitions, also make more local vars const, also add ASSERTS on
420         pointer args.
421
422         * buffer.C (LYX_FORMAT): put const in correct place
423         (many funcs): constify arg on function definitions, also make
424         more local vars const
425
426         * aspell_local.h: remove "struct" from typdef setup
427
428         * aspell.C (check): make word_ok const
429         (nextMiss): simplify slightly
430         (error): ditto
431
432 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * lyxrc.[Ch]: store all float values as strings.
435         use int (not float) for lyxrc.dpi.
436
437 2005-01-04  Angus Leeming  <leeming@lyx.org>
438
439         * lyx_cb.C (Reconfigure):
440         * lyx_main.C (queryUserLyXDir):
441         to run the <system_lyxdir>/configure correctly on Windows, prefix
442         the path to the script with "sh " when generating the string that
443         is passed to system().
444
445 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
446
447         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
448
449 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * lyxlength.C (asLatexString): get rid of setprecision
452
453 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * text2.C (setLayout): remove unused variable endpit.
456         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
457
458         * paragraph.C (onlyText): remove unused variable style.
459
460         * cursor.C (bruteFind): remove unused variables beg and end.
461
462         * Makefile.am (dist_noinset_DATA): not needed anymore
463
464         * cheaders/*: remove.
465
466 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * text3.C: fix LFUN_MATH_MODE.
469
470 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * buffer_funcs.C (countWords): new function. Counts words between
473         two iterators.
474
475         * BufferView_pimpl.C (getStatus, dispatch): handle
476         LFUN_WORDS_COUNT.
477
478         * LyXAction.C (init):
479         * lfuns.h: add LFUN_WORDS_COUNT.
480
481 2004-12-19  Angus Leeming  <leeming@lyx.org>
482
483         * buffer.C (save): s/slashify_path/internal_path/.
484
485 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * lyxfind.C (findChange): do not search for end of pars, because
488         the change tracker cannot handle this (fixes bug 1719).
489
490 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * paragraph.[Ch] (autoBreakRows): remove
493
494         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
495
496         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
497         avoid using the paragraph one
498
499         * text2.C (LyXText, insertStringAsLines): adjust
500
501 2004-12-16  Angus Leeming  <leeming@lyx.org>
502
503         * bufferlist.C:
504         * lyx_main.C:
505         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
506
507 2004-12-14  Angus Leeming  <leeming@lyx.org>
508
509         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
510
511         * bufferlist.C (emergencyWrite):
512         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
513         GetEnvPath("HOME").
514
515 2004-12-14  Angus Leeming  <leeming@lyx.org>
516
517         * main.C: (main): no longer pass pointers to os::init.
518
519 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
520
521         * undo.C (textUndoOrRedo): simplify logic, fix a crash
522         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
523
524 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * lyxfunc.C:
527         * text3.C: remove selection_possible global flag
528
529 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * text2.C (getSelectionSpan): remove
532         (changeDepth, changeDepthAllowed): adjust
533
534 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
535
536         * Makefile.am (BOOST_LIBS): use boost variables
537
538 2004-12-03  José Matos  <jamatos@lyx.org>
539
540         * buffer.C: format up to 238.
541
542 2004-12-03  José Matos  <jamatos@lyx.org>
543
544         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
545
546 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
547
548         * cursor.C (goUpDown): remove call to idxUpDown2
549
550 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
551
552         * tabular.[Ch]: use size_t-like types for cell, row and column
553         indices
554
555 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * lyxfunc.C (getStatus): do not lose previous information when
558         calling BufferView::getStatus; do not set a default "Command
559         disabled" message at the beginning, but just before returning.
560
561 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * cursor.h (getStatus): add better comment from src/cursor.C
564
565 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * text3.C (getStatus): return false when the lfun is not handled
568
569 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
570
571         * broken_headers.h: remove
572
573         * Makefile.am (lyx_SOURCES): remove broken_headers.h
574
575 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
578         offset_ref accessors
579
580         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
581         top_y_, merge fitcursor with update
582         (updateScrollbar, scrollDocView, fitCursor, center, update): new
583         coord scheme
584         (metrics): introduce
585         (workAreaDispatch): adapt to new coord scheme
586         (redoCurrentBuffer): remove
587
588         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
589
590         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
591         CurStatus enum.
592
593         * coordcache.[Ch]: add paragraph cache and helpers
594
595         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
596         adjust everywhere
597
598         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
599         (targetX, setTargetX): introduce
600
601         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
602         baseline -> ascent, as the rest of lyx
603
604         * lyxtext.h: remove redoParagraphs, updateParPositions,
605         fullRebreak, redoParagraphInternal. move dist to anon namespace in
606         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
607         have ascent/descent (ascent is ascent of first par)
608
609         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
610         step of BufferView
611
612         * paragraph.[Ch]: unify dimension handling with the rest of lyx
613
614         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
615
616         * pariterator.C: fix infinite loop introduced in par->pit renaming
617
618         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
619         in insets and LyXText, draw two off-screen paragraphs using
620         NullPainter, and adapt to new coord scheme
621
622         * text.C:
623         * text2.C:
624         * text3.C: adapt lfun handlers to the new coord scheme, which
625         means: there's only guaranteed coord information for onscreen pars
626         plus one above and one below. This implies that one can do search
627         from y coordinates in the range [-1,workHeight]
628
629 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
630
631         * rename a lot of InsetOld to InsetBase
632
633 2004-11-25  Angus Leeming  <leeming@lyx.org>
634
635         * BufferView_pimpl.C:
636         * lyx_cb.C:
637         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
638
639 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
642         call BufferView::getStatus if LCursor::getStatus did nothing
643         (setStatusMessage, getStatusMessage): removed.
644
645         * FuncStatus.C (message): new methods. Used to provide an error
646         message indicating why a command is disabled.
647         (clear, |=, FuncStatus): update for message.
648
649 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
650
651         * lyxfunc.C (dispatch): always call sendDispatchMessage
652
653 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
654
655         * BufferView.C:
656         * BufferView_pimpl.C:
657         * CutAndPaste.C:
658         * FontIterator.C:
659         * buffer.C:
660         * cursor.C:
661         * cursor_slice.[Ch]:
662         * dociterator.[Ch]:
663         * lyxfind.C:
664         * paragraph_funcs.C:
665         * pariterator.C:
666         * rowpainter.C:
667         * text.C:
668         * text2.C:
669         * text3.C:
670         * undo.C: par->pit renaming
671
672 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
673
674         * tabular.C (cellstruct): use initialization, store a shared_ptr
675         to insettext instead of the insettext directly, adjust to fit.
676         (operator=):  new function
677         (swap): new function
678         (rowstruct): use initialization
679         (columnstruct): use initialization
680         (ltType): use initialization
681
682
683         * lyxlength.h (swap): new function
684
685         * LColor.[Ch] (operator=): use the common semantics
686
687 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * lyxfind.C (findNextChange): update the bufferview after setting
690         the selection.
691
692 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
695         number of InsetOptArgs has already been inserted.
696
697         * output_latex.C (latexOptArgInsets): new method. This outputs all
698         the optarg insets, up to the limit defined in the layout file.
699         (optArgInset): removed
700         (TeXOnePar): call latexOptArgInsets; correctly update texrow
701
702 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * paragraph.C (isLetter): remove special spellchecker-related
705         code; return true also for digits
706         (isWord, isKomma): remove
707
708         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
709         * lyxfind.C (MatchString()): use isLetter instead of isWord
710
711 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * pariterator.h (operatir=): comment out un-implemented member
714         function.
715
716         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
717         static cast.
718
719 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
720
721         * lyxfont.h: include LColor.h to satisfy concept checks.
722
723 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
724
725         * pariterator.h: add typdefs for value_type, difference_type,
726         pointer and reference to satisfy concept checks. Also add default
727         constructor for same reason.
728
729         * pariterator.C (operator++): add post-increment operator to
730         satisfy concept checks.
731
732         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
733         checks.
734
735         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
736
737         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
738         checks. Also rename base_type to BaseType to follow naming
739         standard better.
740
741         * FloatList.h: include Floating.h to satisfy concept checks.
742
743 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * lyxfunc.C (getStatus): when the origin of the request is menu or
746         toolbar, and the LyXView does not have focus, do as if there was
747         no buffer (bug 1720)
748
749         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
750         FuncRequest to individual entries of LFUN_SEQUENCE
751
752 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * output_latex.C (TeXOnePar): override runparams.moving_arg
755         according to the needprotect value of the current paragraph (bug
756         1739)
757
758         * paragraph.C (simpleTeXOnePar): no need to override
759         runparams.moving_args here
760
761 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
762
763         * vspace.C: fix off-by-one-error, related to fix #1682
764
765 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
766
767         * lengthcommon.C: a more general fix for bug 1682
768
769 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * text.C (backspace): fix crash
772
773 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
774
775         * format.[Ch] (getFormatFromFile): new method
776         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
777
778 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
781
782 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * lyxfunc.C (dispatch): remove the verbose argument
785         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
786         instead
787
788         * kbmap.C (defkey): set the origin of func to KEYBOARD
789
790         * MenuBackend.C (MenuItem):
791         * ToolbarBackend.C (add): set the origin of func to UI
792
793         * funcrequest.[Ch]: add origin member, which indicates which part
794         of LyX requests an action
795
796 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
797
798         * converter.C (move): don't lie in the error message
799         * converter.h (isReachable, move): document
800
801 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * buffer.C: remove unused using lyx::support::atoi
804         * paragraph_funcs.C: ditto
805
806 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
807
808         * bufferlist.C (exists): use bind and equal_to instead of
809         compare_memfun
810         (getBuffer): ditto
811         * lyxtextclasslist.C (NumberOfClass): ditto
812
813         * cursor.C (insert): use for_each instead of explicit for loop
814
815         * bufferlist.C (getFileNames): use std::transform and
816         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
817
818         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
819         for loop
820
821         * buffer.C (changeLanguage): use for_each instead of explicit for
822         loop
823         (hasParWithID): implement using getParFromID
824
825         * LaTeXFeatures.C: ws change only
826
827         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
828         to cleanup a bit.
829
830         * BufferView_pimpl.C (trackChanges): use for_each instead of
831         expilicit for loop
832
833 2004-11-04  André Pönitz  <poenitz@gmx.net>
834
835         * undo.h:
836         * undo.C (textUndoOrRedo): fix crash when creating undo information.
837
838         * dociterator.C (asDocIterator): use hard assert again.
839
840 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * lyxlength.C (asLatexString): rewrite so that it does not use
843         snprintf anymore
844
845 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * text3.C (specialChar, dispatch): make sure cursor moves to the
848         right after inserting an inset
849
850 2004-11-02  José Matos  <jamatos@lyx.org>
851
852         * output_docbook.C (docbook):
853         * paragraph.C (getID):
854         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
855         garantee that the output is always legal.
856
857         * tabular.C (docbook):
858         * outputprams.[Ch]: remove mixed contents.
859
860 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * text2.C (setCounter): prevent endless loop
863
864 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * exporter.C (copyFile): use the mover instead of support::copy()
867         * exporter.C (Export): pass format and latex name to copyFile()
868         * exporter.h (addExternalFile): document
869         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
870
871 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
872
873         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
874
875 2004-10-30  José Matos  <jamatos@lyx.org>
876
877         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
878         text and no inset or font change. This allows to use CDATA
879         sections just for the whole paragraph.
880
881 2004-10-30  José Matos  <jamatos@lyx.org>
882
883         * paragraph.C (getFirstWord): remove unused variable.
884
885 2004-10-30  José Matos  <jamatos@lyx.org>
886
887         * paragraph.C (getFirstWord): the content should always be escaped
888         there.
889         (simpleDocBookOnePar):
890         * output_docbook.C (makeEnvironment): replace reference to CDATA
891         to style pass_thru.
892
893 2004-10-30  José Matos  <jamatos@lyx.org>
894
895         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
896
897 2004-10-30  José Matos  <jamatos@lyx.org>
898
899         * output_docbook.C (makeParagraphs):
900         * paragraph.[Ch] (emptyTag): for docbook and company, if the
901         standard paragraph has only a given type of content drop the wrapper.
902
903 2004-10-29  José Matos  <jamatos@lyx.org>
904
905         * output_docbook.C (makeEnvironment):
906         * sgml.C (openTag):
907         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
908
909 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
910
911         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
912         (cleanID): sanitize any id.
913
914 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
915
916         * buffer.C, lyxlex_pimpl.C:
917         * lyxlex_pimpl.C (setFile):
918         s/getExtFromContents/getFormatFromContents/
919
920 2004-10-28  José Matos  <jamatos@lyx.org>
921
922         * output_docbook.C (makeEnvironment): move id to broadest possible
923         scope.
924
925         * sgml.C (openTag): apply substitution of <> for all attributes.
926
927 2004-10-28  José Matos  <jamatos@lyx.org>
928
929         * buffer.C (makeLinuxDocFile, makeDocBookFile):
930         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
931         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
932
933         * sgml.[Ch]: new version for open and closeTag for paragraph and
934         for strings. Now they handle the ids of paragraphs.
935
936 2004-10-26  Angus Leeming  <leeming@lyx.org>
937
938         * Makefile.am: add mover.[Ch].
939
940         * converter.C (convert, move): use the new Movers to move external
941         files to the temp directory.
942
943         * lyx_main.C (init): ensure that the global system_movers data
944         is initialised.
945
946         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
947         preferences file.
948
949         * mover.[Ch]: new files, defining a Mover as a utility to move an
950         external file between directories and, if necessary, manipulate this
951         file using a helper script.
952
953 2004-10-25  José Matos  <jamatos@lyx.org>
954
955         * output_docbook.C (makeCommand): merge two if's that tested the
956         same condition.
957
958 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * sgml.C (escapeString): fix warning in a better way
961
962 2004-10-25  José Matos  <jamatos@lyx.org>
963
964         * sgml.C (escapeString): import the require boosts header file for
965         tie, and avoid a signed unsigned comparison.
966
967 2004-10-25  José Matos  <jamatos@lyx.org>
968
969         * sgml.h: add #include <string>
970
971 2004-10-25  José Matos  <jamatos@lyx.org>
972
973         * sgml.[Ch] (escapeString): new function to escape all the string.
974
975 2004-10-24  José Matos  <jamatos@lyx.org>
976
977         * paragraph.[Ch] (getFirstWord): new function to get the first
978         word. Useful for description.
979         (simpleDocBookOnePar): remove depth argument, add another that
980         says where to start the paragraph.
981
982         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
983         use the new functions to fix cleanly the support for descriptions.
984
985 2004-10-24  José Matos  <jamatos@lyx.org>
986
987         * buffer.C (makeLinuxDocFile, makeDocBookFile):
988         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
989         * output_linuxdoc.C (linuxdocParagraphs):
990         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
991         add buffer as argument.
992
993 2004-10-24  José Matos  <jamatos@lyx.org>
994
995         * output_docbook.C (makeEnvironment, searchEnvironment): place
996         CDATA inside paragraphs and fix scope for listitems.
997
998 2004-10-24  José Matos  <jamatos@lyx.org>
999
1000         * output_docbook.C: remove using statement for stack.
1001
1002 2004-10-23  José Matos  <jamatos@lyx.org>
1003
1004         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1005         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1006         docbook. The new scheme is recursive and makes use of iterators, the
1007         same as latex export works.
1008         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1009         directly with the paragraph contents. This code was moved up to
1010         output_docbook.C (docbookParagraphs).
1011         * sgml.C (openTag, closeTag): removed unneeded newlines.
1012         (closeEnvTags) removed.
1013
1014 2004-10-23  André Pönitz  <poenitz@gmx.net>
1015
1016         * undo.C (textUndoOrRedo):
1017         * dociterator.C (asDocIterator): work around crash
1018
1019         * cursor.C (getStatus): replace ASSERT by more verbose error message
1020           and manual correction of the problem. Should increase stability
1021           while providing more sensible information.
1022
1023 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1026
1027         * bufferlist.C (previous, next): new methods
1028
1029         * lfuns.h:
1030         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1031
1032 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1033
1034         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1035         entities to preamble.
1036
1037 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1038
1039         * messages.C (Pimpl): strip off translation context information
1040
1041 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1044         the cursor is correct (bug 1694)
1045
1046 2004-10-13  José Matos  <jamatos@lyx.org>
1047
1048         * output_docbook.C (docbookParagraphs): fix closing tags in the
1049         end of the document.
1050
1051 2004-10-09  José Matos  <jamatos@lyx.org>
1052
1053         * buffer.C: format up to 237.
1054         * bufferparams.C (write): use tostr to convert booleans to strings.
1055
1056 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1059
1060 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * LaTeX.C: implement use of babel language in xindy.
1063
1064 2004-10-05  José Matos  <jamatos@lyx.org>
1065
1066         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1067         Add new translators to help reading and writing the lyx file.
1068
1069 2004-10-05  José Matos  <jamatos@lyx.org>
1070
1071         * ParagraphParameters.C (read):
1072         * text.C (readParToken): replace nexToken by more appropriate lex
1073         methods.
1074
1075 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1076
1077         * LaTeX.C (runMakeIndex):
1078         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1079         (usually 'makeindex') configurable.
1080
1081         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1082         with a variable rather than with a number.
1083
1084 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1085
1086         * output_latex.C (TeXOnePar): make sure font setting is the first
1087         thing that gets output (and the last at the end). Should fix bug
1088         1404.
1089
1090 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1091
1092         * pch.h: use proper signal include
1093
1094         * LaTeX.h: Use preferred calling of Boost.Signal
1095         * buffer.h: ditto
1096
1097 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1098
1099         * pch.h: dont include <boost/function/function0.hpp>
1100
1101         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1102
1103         * paragraph_pimpl.h: remove usage of ShareContainer
1104
1105         * paragraph_pimpl.C: remove initialization of ShareContainer.
1106
1107 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         Fix bug #1666
1110
1111         * BufferView.C (putSelectionAt): change the semantics when
1112         backwards == true: now, this just swaps cursor and anchor wrt the
1113         forward case
1114
1115         * BufferView.h (putSelectionAt): add some documentation
1116
1117         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1118         make sure backwardChar is done at least once (to avoid getting
1119         stuck)
1120         (findNextChange): use putSelectionAt in the forward direction
1121         (operator()): use Paragraph::isWord
1122
1123 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1124
1125         * Spacing.C (set): c_str fix
1126
1127 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * lyx_cb.C (Reconfigure): quote the name of configure script in
1130         case it contains spaces
1131
1132 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1133
1134         * client: new dir
1135
1136         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1137         (BOOST_LIBS): use top_buildir when looking for the file
1138
1139 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1140
1141         * pch.h: do not use include boost/format.hpp, multiple symbols
1142                 will result (gcc bug)
1143
1144
1145 2004-08-23  José Matos  <jamatos@lyx.org>
1146
1147         * bufferparams.C (readToken): fix reading of the author field.
1148
1149 2004-08-20  José Matos  <jamatos@lyx.org>
1150
1151         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1152
1153 2004-08-20  José Matos  <jamatos@lyx.org>
1154
1155         * lyxlex.[Ch] (findToken): remove function.
1156
1157         * ParagraphParameters.C (findToken):
1158         * bufferparams.C (findToken): replace call for previous function
1159         with local copy. This local function has one more argument, the
1160         read string argument.
1161
1162 2004-08-16  José Matos  <jamatos@lyx.org>
1163
1164         * ParagraphParameters.C (write):
1165         * Spacing.C (writeFile):
1166         * bufferparams.C (writeLaTeX):
1167         * lyx_cb.C (Reconfigure):
1168         * paragraph.C (write):
1169         * tabular.C (write): remove unnecessary space at end of line.
1170
1171
1172 2004-08-16  José Matos  <jamatos@lyx.org>
1173
1174         * text.C (readParagraph): remove debug message.
1175
1176 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1177
1178         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1179         crash
1180
1181         * output_plaintext.C (asciiParagraph): set depth correctly
1182
1183         * outputparams.h: add member depth
1184
1185         * paragraph_funcs.C (ownerPar): remove.
1186
1187         * text2.C (setCounter): remove first_pit; comment out some
1188         non-working code that uses ownerPar
1189
1190         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1191         uses ownerPar
1192
1193 2004-08-16  José Matos  <jamatos@lyx.org>
1194
1195         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1196         For the same level of importance use the same chanel to report problems.
1197         (read): add code to deal with \begin_body and \end_body.
1198
1199
1200 2004-08-15  José Matos  <jamatos@lyx.org>
1201
1202         * lyxlex.C (getString): fix comment, buffer::readBody is now
1203         buffer:readDocument.
1204
1205         * tex-strings.C (string_papersize): Default -> default,
1206         Custom -> custom, for consistency with other options.
1207
1208 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1209
1210         * pch.h: new file
1211
1212         * Makefile.am: support pch
1213
1214 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * text.C (readParToken): remove the static LyXFont variable and
1217         pass it as a parameter instead. This fixes a nasty bug where an
1218         inset will be inserted with a bad font in some situations
1219         (readParagraph): adapt
1220
1221         * text2.C (setCounter): reduce number of calls to pars_[pit]
1222
1223         * text.C (singleWidth): add an assert, fix a test
1224
1225         * rowpainter.C (paintText): reduce number of calls to singleWidth
1226
1227         * paragraph.C (isHfill):
1228         (isNewline): ws only
1229
1230 2004-08-14  André Pönitz  <poenitz@gmx.net>
1231
1232         * text.C:
1233         * text2.C:
1234         * rowpainter.C:
1235         * lyxtext.h (several functions): use a Paragraph & argument
1236         instead of par_type
1237
1238 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1241
1242         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1243
1244         * text.C (singleWidth): remove useless test
1245
1246 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * tabular.h: remove bogus comments
1249
1250         * tabular.C (getDescentOfRow):
1251         (isPartOfMultiColumn): add assertions
1252
1253         * lyxlength.C (inPixels): remove #warning
1254
1255 2004-08-14  André Pönitz  <poenitz@gmx.net>
1256
1257         * paragraph.h: inline getChar()
1258
1259         * BufferView.h: remove unused declarations
1260
1261 2004-08-14  José Matos  <jamatos@lyx.org>
1262
1263         * Buffer.[Ch] (readDocument): new name for old readBody.
1264         * Buffer.C: new file format, new keywords: \begin_document,
1265         \begin_header, \begin_body, \end_body.
1266
1267         * bufferparams.C (readToken): replace all calls to lex.nextToken
1268         by lex.next(). Do the same to eatLine except where really needed.
1269
1270         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1271         line when writing to the lyx file.
1272
1273         * output_plaintext.C (asciiParagraph): fix Bibliography style
1274         handling.
1275
1276         * text.C (read): fix end of file handling.
1277
1278 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * MenuBackend.C (Menu::operator[]): new method to access
1281         individual menu items
1282         (Menu::hasFunc): new method. search for an item that corresponds
1283         to a given func
1284         (MenuBackend::specialMenu): new method
1285         (MenuBackend::expand): if a special menu has been set, skip
1286         entries whose func() appears in this menu
1287
1288 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1289
1290         * text3.C: use Debug::DEBUG a bit more
1291
1292         * text.C (leftMargin): try to simplify a tiny bit change var x to
1293         l_margin. Dont output the wide margins always.
1294         (rightMargin): no margin in inner texts
1295
1296         * rowpainter.h (nestMargin): new func
1297         (changebarMargin): new func
1298         (rightMargin): new func
1299
1300         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1301         now functions.
1302         (paintLast): ditto
1303
1304         * factory.C (createInset): modify setDrawFrame
1305
1306         * cursor.C: use Debug::DEBUG a bit more
1307
1308 2004-08-14  André Pönitz  <poenitz@gmx.net>
1309
1310         * coordcache.[Ch]:
1311         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1312         cache for all insets in (at least partially) visible (top-level)
1313         paragraphs.
1314
1315         * BufferView_pimpl.C: reset external coord cache before every update.
1316         This means the coord cache only contains valid entries.
1317
1318 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1319
1320         bug 1096
1321         * BufferView_pimpl.C (getInsetByCode): move function out of class
1322         and change in to a template in anon namespace. Also fix to do what
1323         suits us better.
1324
1325 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1326
1327         bug 1305
1328         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1329         of char
1330         (breakParagraph): rename par to par_offset and use a local
1331         reference. Add code to keep the language over a rebreak.
1332         (breakParagraphConservative): rename par to par_offset, use a
1333         local reference
1334         (mergeParagraph): ditto
1335         (outerHook): ditto
1336         (isFirstInSequence): ditto
1337         (outerFont): rename pit to par_offset
1338
1339         * paragraph.C: ws change
1340         * paragraph.h: ditto
1341         * text3.C: ditto
1342         * text.C: ditto
1343
1344 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1345
1346         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1347         treatment for ']'
1348
1349         * paragraph.C (simpleTeXOnePar): when we have a \item with
1350         optional argument, enclose the argument with curly brackets (in
1351         case it contains a closing square bracket)
1352
1353         * text2.C (editXY):
1354         * text2.C (editXY):
1355         * text3.C (checkInsetHit): constify
1356
1357 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1360         documents (bug 1629)
1361
1362 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1363
1364         Fix toggling of collapsable insets with the mouse (bug 1558)
1365
1366         * lyxfunc.C (dispatch): adapt to LCursor changes
1367
1368         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1369         make sure that dispatch is not invoked twice
1370
1371         * cursor.C (needsUpdate): new method
1372         (dispatch): return void
1373         (result): new method, to access the DispatchResult of the cursor.
1374
1375 2004-08-13  José Matos  <jamatos@lyx.org>
1376
1377         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1378
1379 2004-08-13  André Pönitz  <poenitz@gmx.net>
1380
1381         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1382
1383         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1384           multiple cells
1385
1386 2004-08-12  André Pönitz  <poenitz@gmx.net>
1387
1388         * text3.C: take out the 'cursor right' form insertInset and only
1389         do it in those places when it is really needed. Fixes crash on
1390         C-m...
1391
1392 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1395
1396         * BufferView_pimpl.C (setBuffer): initialize the current font of
1397         the underlying LyXText
1398
1399 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * kbsequence.C (print): use UI native formatting for menu
1402         shortcuts
1403
1404         * text.C (insertChar): call Paragraph::insertChar with a font
1405         argument (cosmetic)
1406
1407         * paragraph.C (insertInset, insertChar): the version that takes a
1408         LyXFont argument is now a wrapper around the other one (the
1409         opposite used to be true).
1410
1411         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1412         argument. Font setting is done in Paragraph now.
1413
1414 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * outputparams.h: add new members intitle and lang.
1417
1418         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1419         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1420
1421 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1422
1423         * text3.C (dispatch): remove special handling of button 4 and 5,
1424         it is now taken care of in the frontend code.
1425
1426 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1427
1428         * Spacing.h: add <string> (STLPort compile fix)
1429
1430 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1431
1432         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1433
1434 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1437         to bool.
1438
1439         * converter.C (showMessage): inherit from unary_function, make
1440         operator() const.
1441
1442         * buffer.C (writeFile): initialize retval
1443
1444         * InsetList.h: rename private variable list to list_
1445         * InsetList.[Ch]: adjust accordingly.
1446
1447 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1448
1449         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1450         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1451         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1452         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1453         * ParagraphParameters.C, LaTeXFeatures.C: replace
1454         "support/std_sstream.h" with <sstream>
1455
1456 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1457
1458         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1459         * lyxsocket.C (LyXServerSocket): ditto
1460         (serverCallback): ditto
1461
1462 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1463
1464         * LaTeXFeatures.C: check release date when loading jurabib.
1465
1466 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1467
1468         * lyxserver.C (startPipe): call register_socket_callback
1469         (endPipe): call unregister_socket_callback
1470
1471 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1472
1473         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1474         (LyXServerSocket): register the callback
1475         (LyXServerSocket): unregister the callback
1476         (fd): delete function
1477         (serverCallback): improve error checking and setup the callbacks.
1478         (dataCallback): change arg to fd.
1479         (writeln): new func (copied fro the client socket) used for server
1480         write to client.
1481         (LyXDataSocket): simplify
1482         (~LyXDataSocket): close ann unregiser callback
1483         (server): delete function
1484         (fd): delete function
1485         (readln): small changes, improve some std::string usage
1486         (writeln): constify a bit
1487
1488 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1491         Qt frontend
1492
1493 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1496         after it has been populated
1497
1498 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * text2.C (insertInset): move cursor when inserting inset.
1501
1502 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * kbmap.C (findbindings): a couple of new methods. returns a
1505         container of kb_sequence objects. The real work is done by the
1506         private recursive version
1507         (printbindings): uses findbindings to print out a bracketed list
1508         of bindings (renamed from findbinding).
1509
1510         * MenuBackend.C (binding): use kb_keymap::findbindings
1511
1512         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1513
1514 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1515
1516         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1517
1518 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * paragraph.C (isWord): return true on insets that report
1521         isLetter().
1522
1523         * text.C (getWord): use Paragraph::isWord to decide what is in a
1524         word and what is not; fix bug 1609.
1525
1526 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1527
1528         * tex-strings.C: add "none" to string_paperpackages[], fixes
1529         off-by-one-error in the paperpackage selection.
1530
1531         * lyxlex.[Ch]:
1532         * tex-strings.[Ch]: char const * string[n]
1533         -> char const * const string[]
1534
1535 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1538         command, return early.
1539
1540 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1541
1542         * debug.h: add DEBUG to enum and fix size of ANY.
1543
1544         * debug.C: add support for Debug::DEBUG
1545         (showTags): cast errorTags.level to unsigned int
1546
1547         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1548         (redoCurrentBuffer): ditto
1549         (updateScrollbar): ditto
1550         * cursor.C (dispatch): ditto
1551         * text2.C (setLayout): ditto
1552         (setFont): ditto
1553         (updateCounters): ditto
1554         (editXY): ditto
1555         (deleteEmptyParagraphMechanism): ditto
1556
1557 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1558
1559         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1560         annotations to cleanup the Makefile slightly.
1561
1562 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * lyxrc.C: do not set user_email to a default value but use empty
1565         instead. The entry used to be translated, which does not work
1566         since at the point where lyxrc is constructed there is no
1567         translation service available
1568
1569         * messages.C (getLocaleDir): remove and use directly
1570         lyx_localedir() instead
1571
1572 2004-06-02  Angus Leeming  <leeming@lyx.org>
1573
1574         Fix crash caused by dereferencing null pointer 'exportdata' in
1575         OutputParams by creating a new ExportData variable on the heap,
1576         storing it in a boost::shared_ptr.
1577         The crash was triggered when generating an Instant Preview
1578         of an external inset.
1579
1580         * Makefile.am: add outputparams.C
1581
1582         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1583         (c-tor): allocate memory to it.
1584
1585         * exporter.C (c-tor): associated changes.
1586
1587 2004-06-01  Angus Leeming  <leeming@lyx.org>
1588
1589         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1590         contains data before calling isInset(0). (Bug 1513.)
1591
1592 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1593
1594         * exporter.C (checkOverwrite): new method
1595         * exporter.C (copyFile): new method
1596         * exporter.C (Export): copy referenced files to the document dir
1597         * exporter.[Ch]: new class ExportedFile
1598         * exporter.[Ch]: new class ExportData. Contains currently the
1599         names of referenced external files
1600         * outputparams.h: add exportdata member.
1601
1602 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1603
1604         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1605         version.C-tmp
1606
1607 2004-05-19  Angus Leeming  <leeming@lyx.org>
1608
1609         * LaTeXFeatures.C:
1610         * ToolbarBackend.C:
1611         * bufferparams.C:
1612         * lyxfunc.C: small changes due to the introduction of namespace
1613         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1614
1615 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * text3.C (dispatch): supress update when only moving the cursor
1618         * cursor.C (selHandle): remove commented code
1619
1620 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1621
1622         * paragraph.C (startTeXParParams): correct column count
1623         * CutAndPaste.C (pasteSelection): remove const_cast
1624         * output_docbook.C (docbookParagraphs): remove const_cast
1625         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1626         const_cast and return ParagraphList::const_iterator
1627         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1628         * output_plaintext.C (writeFileAscii): remove const_cast
1629         * paragraph.[Ch] (simpleTeXOnePar): make const
1630         * paragraph_funcs.C (outerPar): use const iterators
1631         * paragraph_pimpl.C (validate): use const iterators
1632         * text.C (setHeightOfRow): use const iterators
1633
1634 2004-05-17  Angus Leeming  <leeming@lyx.org>
1635
1636         * lfuns.h:
1637         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1638
1639         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1640         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1641         if the citation engine has changed.
1642
1643 2004-05-14  José Matos  <jamatos@lyx.org>
1644
1645         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1646         if the textclass does not provide it. Have it different for sgml and
1647         xml.
1648         support the language of document.
1649         * output_docbook.C (docbookParagraphs):
1650         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1651         first anchor as the id of the paragraph, remove special case code.
1652         * sgml.C (escapeChar): escape only < & >.
1653
1654 2004-05-14  Angus Leeming  <leeming@lyx.org>
1655
1656         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1657         dependencies on src/frontends/controllers/biblio.h. Define a
1658         CiteEngine_enum wrapper class to enable the enum to be forward
1659         declared.
1660
1661 2004-05-12  Angus Leeming  <leeming@lyx.org>
1662
1663         * buffer.C: up LYX_FORMAT to 234.
1664         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1665         use_numerical_citations with a single biblio::CiteEngine cite_engine
1666         variable.
1667         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1668
1669 2004-05-13  José Matos  <jamatos@lyx.org>
1670
1671         * converter.h:
1672         * converter.C (Converter, readFlags): add xml member.
1673         * outputparams.h: add XML flavor.
1674         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1675
1676 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * lyxfunc.C (dispatch):
1679         (getStatus): fix handling of LFUN_SEQUENCE
1680
1681 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * debug.C (showLevel): do not forget the end-of-line marker
1684
1685 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1686
1687         * kbmap.C (read): do not stop parsing a bind file when an error
1688         occurs (bug 1575)
1689
1690 2004-04-29  Angus Leeming  <leeming@lyx.org>
1691
1692         * cursor.C:
1693         * factory.C:
1694         * pariterator.C:
1695         * text2.C: wrap a bunch of #warning statements
1696         inside #ifdef WITH_WARNINGS blocks.
1697
1698 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1699
1700         * buffer.C: increment format to 233.
1701
1702 2004-04-28  Angus Leeming  <leeming@lyx.org>
1703
1704         * BufferView_pimpl.C:
1705         * lyxfunc.C:
1706         * text3.C:
1707         s/updateToolbar()/updateToolbars()/
1708         s/Toolbar.h/Toolbars.h/
1709
1710 2004-04-28  Angus Leeming  <leeming@lyx.org>
1711
1712         * BufferView.[Ch] (c-tor):
1713         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1714         No longer passes these data to the WorkArea generator.
1715
1716 2004-04-28  Angus Leeming  <leeming@lyx.org>
1717
1718         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1719
1720 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1721
1722         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1723
1724 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * output_latex.C (TeXEnvironment): make sure that there is a line
1727         break before \end{foo} for the last paragraph of a document
1728         (TeXOnePar): if the paragraph is at the end of the document (or
1729         inset) and the language has to be reset, then make sure that the
1730         line break is _before_ the language command, not after (fixes bug
1731         1225); also make sure that the language reset command is the first
1732         thing after the paragraph (to ensure proper nesting of
1733         environments and thus fix bug 1404)
1734
1735 2004-04-21  John Levon  <levon@movementarian.org>
1736
1737         * ToolbarBackend.h:
1738         * ToolbarBackend.C: make "name" be a programmatic name
1739         and a gui_name field.
1740
1741         * lyxfunc.C: display the minibuffer on M-x
1742
1743 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1746         (bug 1526)
1747
1748 2004-04-19  Angus Leeming  <leeming@lyx.org>
1749
1750         * BufferView_pimpl.C (setBuffer): changed preview interface.
1751
1752         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1753         possible values.
1754
1755 2004-04-19  John Levon  <levon@movementarian.org>
1756
1757         * BufferView_pimpl.C:
1758         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1759
1760 2004-04-05  Angus Leeming  <leeming@lyx.org>
1761
1762         * text.C (redoParagraphs): add call to updateCounters(), thereby
1763         fixing the missing "Figure #:" label from the caption of a
1764         figure float.
1765
1766 2004-04-13  Angus Leeming  <leeming@lyx.org>
1767
1768         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1769         cursor is clicked out of an inset.
1770
1771 2004-04-13  Angus Leeming  <leeming@lyx.org>
1772
1773         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1774         than an InsetOld one.
1775
1776 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1777
1778         * format.[Ch]: add editor to Format
1779         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1780         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1781
1782 2004-04-08  André Pönitz  <poenitz@gmx.net>
1783
1784         * metricsinfo.h: remove PainterInfo::width member
1785
1786 2004-04-08  Angus Leeming  <leeming@lyx.org>
1787
1788         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1789         "\providecommand" rather than "\newcommand", thereby preventing
1790         clashes with packages that define "\boldsymbol" themselves.
1791         Eg, beamer.
1792
1793 2004-04-08  Angus Leeming  <leeming@lyx.org>
1794
1795         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1796         thereby squashing an unnecessary warning.
1797
1798 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1799
1800         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1801         setBuffer()
1802
1803 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1804
1805         * BufferView.C (setCursor): call redoParagraph (some insets could
1806         have been opened)
1807         (putSelectionAt): remove the 'double update' trick
1808
1809         * BufferView_pimpl.C (fitCursor): call refreshPar
1810         (workAreaDispatch): remove an uneeded update call
1811         (dispatch): remove some manual update calls
1812
1813         * cursor.[Ch]: remove cached_y_, updatePos
1814         (selHandle): set noUpdate when appropriate
1815
1816         * lyxfunc.C (dispatch): track if we need an update
1817
1818         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1819
1820         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1821         (paintSelection): cheap optimization, do not call cursorX when not
1822         needed
1823         (paintPars): change signature
1824         (refreshPar): add
1825         (paintText): adjust
1826         (paintTextInset): adjust
1827
1828         * text.C: adjust
1829
1830 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * lengthcommon.C: compilation fix: remove explicit array size from
1833         unit_name[] and friends
1834
1835 2004-04-05  Angus Leeming  <leeming@lyx.org>
1836
1837         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1838
1839         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1840         present only for the preferences dialog.
1841         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1842
1843 2004-04-05  Angus Leeming  <leeming@lyx.org>
1844
1845         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1846         to enable the frontends to export changes to lyxrc correctly.
1847
1848         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1849
1850 2004-04-07  André Pönitz  <poenitz@gmx.net>
1851
1852         * cursor.[Ch] (selClear, adjust): remove math
1853
1854         * cursor_slice.C: more agressive assert
1855
1856         * lyxfunc.C:
1857         * BufferView_pimpl.C: rework mouse event dispatch
1858
1859         * dociterator.C:
1860         * paragraph.C:
1861         * text2.C:
1862         * text3.C: adjust
1863
1864 2004-04-05  André Pönitz  <poenitz@gmx.net>
1865
1866         * cursor.[Ch] (valign, halign...): remove unneeded functions
1867
1868 2004-04-05  Angus Leeming  <leeming@lyx.org>
1869
1870         * lyxlength.[Ch] (unit_name et al.): const-correct.
1871
1872 2004-04-05  Angus Leeming  <leeming@lyx.org>
1873
1874         * BufferView_pimpl.C:
1875         * buffer.C:
1876         * counters.C:
1877         * cursor.C:
1878         * lyxfunc.C
1879         * paragraph.C:
1880         * pariterator.C:
1881         * text.C:
1882         * text2.C:
1883         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1884
1885 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1888
1889 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1892         * BufferView_pimpl.[Ch] (getStatus)
1893         * BufferView.[Ch] (getStatus): add
1894         * lyxfunc.C (getStatus): move lfuns handled in
1895         BufferView::dispatch to te function above
1896         * Cursor.C (setSelection): set selection() = true
1897
1898 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1901
1902 2004-03-31  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyxfunc.C (dispatch): Fall through to the generic
1905         Dialogs::show("preamble").
1906
1907 2004-03-31  Angus Leeming  <leeming@lyx.org>
1908
1909         * lyxfunc.C (dispatch): Fall through to the generic
1910         Dialogs::show("spellchecker").
1911
1912 2004-03-31  Angus Leeming  <leeming@lyx.org>
1913
1914         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1915         preferences dialog.
1916
1917 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * BufferView.C
1920         * cursor.[Ch]
1921         * dociterator.[Ch]:
1922         * insetiterator.[Ch]:
1923         * lyxfind.C:
1924         * lyxfunc.C:
1925         * pariterator.[Ch]:
1926         * text2.C:
1927         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1928
1929 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1932         insets where we are putting the cursor.
1933
1934 2004-03-31  Angus Leeming  <leeming@lyx.org>
1935
1936         * lfuns.h:
1937         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1938
1939         * lyxrc.[Ch] (read, write): overloaded member functions taking
1940         a std::[io]stream arguments.
1941
1942         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1943
1944 2004-03-31  Angus Leeming  <leeming@lyx.org>
1945
1946         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1947         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1948
1949         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1950         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1951
1952 2004-03-31  Angus Leeming  <leeming@lyx.org>
1953
1954         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1955         the LFUN_ALL_INSETS_TOGGLE code.
1956
1957 2004-03-30  Angus Leeming  <leeming@lyx.org>
1958
1959         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1960         has died. Fall through to the generic Dialogs::show("document").
1961
1962 2004-03-30  Angus Leeming  <leeming@lyx.org>
1963
1964         * lfuns.h:
1965         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1966         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1967
1968         * lyxfunc.C (getStatus, dispatch): define the actions for these
1969         lfuns. Little more than a cut and pste job from ControlDocument.C
1970
1971         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1972
1973 2004-03-30  Angus Leeming  <leeming@lyx.org>
1974
1975         * lfuns.h:
1976         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1977         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1978
1979         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1980         open/closed state of ollapsable insets. Usage:
1981
1982         all-inset-toggle <state> <name>, where
1983         <state> == "open" || "closed" || "toggle" and
1984         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1985
1986         * lyxtext.h, text2.C (toggleInset): removed.
1987
1988         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1989         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1990         now passes LFUN_INSET_TOGGLE to the found inset.
1991
1992         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1993         is now invoked as "all-insets-toggle toggle branch".
1994
1995 2004-03-30  Angus Leeming  <leeming@lyx.org>
1996
1997         * dociterator.C:
1998         * insetiterator.C:
1999         * pariterator.[Ch]: added/corrected header blurb.
2000
2001 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * dociterator.[Ch]: add an inset_ member
2004         (backwardPos): implemented
2005         (backwardPos, forwardPos): use inset_ when the stack is empty.
2006         (doc_iterator_begin, doc_iterator_end): implemented
2007         * pariterator.[Ch]: adjust, add begin, end
2008         * insetiterator.[Ch]: adjust, add begin, end
2009         * cursor.C:
2010         * document.C:
2011         * BufferView.C:
2012         * BufferView_pimpl.C:
2013         * CutAndPaste.C: adjust
2014
2015 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2016
2017         * buffer.C: increment file format to 232.
2018         * LaTeXFeatures.C: add bibtopic package.
2019         * bufferparams.[Ch]: param \use_bibtopic.
2020
2021         * lyxrc.[Ch]: add lyxrc bibtex_command
2022         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2023
2024         * buffer.C: increment file format to 231.
2025
2026 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * dociterator.C: implement forwardPar
2029         * iterators.[Ch]: remove, replaced by
2030         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2031         * BufferView.C:
2032         * BufferView_pimpl.C:
2033         * CutAndPaste.C:
2034         * buffer.C:
2035         * bufferview_funcs.C:
2036         * cursor.C:
2037         * lyxfind.C
2038         * lyxfunc.C
2039         * paragraph_funcs.C
2040         * toc.C:
2041         * Makefile.am: adjust
2042
2043 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * CutAndPaste.C (pasteSelection): fix 2 crashes
2046         (eraseSelection): fix a crash
2047         * paragraph_funcs.C: remove a warning
2048
2049 2004-03-28  Angus Leeming  <leeming@lyx.org>
2050
2051         * lfuns.h:
2052         * LyXAction.C (init): new LFUN_PRINT.
2053
2054         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2055
2056 2004-03-27  Angus Leeming  <leeming@lyx.org>
2057
2058         * lfuns.h:
2059         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2060
2061         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2062
2063 2004-03-27  Angus Leeming  <leeming@lyx.org>
2064
2065         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2066         insetlist always contains non-null pointers to insets.
2067
2068 2004-03-26  Angus Leeming  <leeming@lyx.org>
2069
2070         * src/BufferView_pimpl.C:
2071         * src/CutAndPaste.C:
2072         * src/buffer.C:
2073         * src/iterators.C:
2074         * src/output_plaintext.C:
2075         * src/outputparams.h:
2076         * src/paragraph_funcs.C:
2077         * src/rowpainter.C:
2078         * src/text.C:
2079         * src/text2.C:
2080         * src/frontends/controllers/ControlErrorList.C:
2081         * src/frontends/gtk/FileDialogPrivate.C:
2082         * src/frontends/gtk/GPainter.C:
2083         * src/frontends/gtk/GToolbar.C:
2084         * src/frontends/qt2/QRef.C:
2085         * src/mathed/math_scriptinset.C: squash compiler warnings.
2086
2087 2004-03-26  Angus Leeming  <leeming@lyx.org>
2088
2089         * ispell.C (LaunchIspell::start):
2090         * lyx_cb.C (AutoSaveBuffer::start):
2091         invoke run(DontWait) rather than runNonBlocking().
2092
2093 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2096
2097 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2098
2099         * kbsequence.C (print): adjust
2100
2101         * kbmap.C (printKeySym): rename and change signature
2102         (printKey): use LyXKeySym::print()
2103
2104 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2105
2106         * undo.C: add using std::advance to compile for stlport
2107
2108 2004-03-24  Angus Leeming  <leeming@lyx.org>
2109
2110         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2111         it leads to a crash when no buffer is present.
2112
2113 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114             Martin Vermeer  <martin.vermeer@hut.fi>
2115
2116         * lyxfunc.C (dispatch):
2117         * bufferparams.C (readToken): use the new LColor::setColor
2118
2119         * LColor.[Ch] (setColor): new version that takes two strings as
2120         argument and creates a new color entry if necessary
2121
2122 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2123
2124         * buffer.C (makeLaTeXFile): if the main latex file that is
2125         processed is usually a subdocument of some master, then pretend
2126         for a while that it is actually the master
2127
2128 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2129
2130         * buffer.C (getLabelList):
2131         (getBibkeyList): use getMasterBuffer()
2132         (getMasterBuffer): new method. Returns the main document in the
2133         case where one is using included documents.
2134
2135 2004-03-25  André Pönitz  <poenitz@gmx.net>
2136
2137         * Makefile.am:
2138         * iterators.[Ch]:
2139         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2140
2141         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2142
2143         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2144         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2145
2146         * ParameterStruct.h: merge with ParagraphParameters
2147
2148         * lyxtext.h: remove LyXText::parOffset() and getPar()
2149
2150         * text3.C: Remove all 'manual' update calls. We do now one per user
2151         interaction which is completely sufficient.
2152
2153         * Bidi.C:
2154         * BufferView.[Ch]:
2155         * BufferView_pimpl.C:
2156         * FontIterator.[Ch]:
2157         * MenuBackend.C:
2158         * ParagraphParameters.[Ch]:
2159         * buffer.C:
2160         * buffer.h:
2161         * bufferlist.C:
2162         * cursor.[Ch]:
2163         * cursor_slice.[Ch]:
2164         * dociterator.[Ch]:
2165         * errorlist.[Ch]:
2166         * factory.C:
2167         * lfuns.h:
2168         * lyxfind.C:
2169         * lyxfunc.C:
2170         * output_docbook.[Ch]:
2171         * output_latex.[Ch]:
2172         * output_linuxdoc.[Ch]:
2173         * output_plaintext.[Ch]:
2174         * paragraph.[Ch]:
2175         * paragraph_funcs.[Ch]:
2176         * paragraph_pimpl.[Ch]:
2177         * rowpainter.C:
2178         * tabular.[Ch]:
2179         * text.C:
2180         * text2.C:
2181         * toc.C:
2182         * undo.[Ch]: adjust
2183
2184         * frontends/controllers/ControlDocument.C:
2185         * frontends/controllers/ControlErrorList.C:
2186         * frontends/controllers/ControlSpellchecker.C:
2187         * insets/inset.C:
2188         * insets/inset.h:
2189         * insets/insetbase.h:
2190         * insets/insetbibitem.C:
2191         * insets/insetbox.C:
2192         * insets/insetbranch.C:
2193         * insets/insetcaption.C:
2194         * insets/insetcharstyle.C:
2195         * insets/insetcharstyle.h:
2196         * insets/insetcollapsable.C:
2197         * insets/insetcollapsable.h:
2198         * insets/insetert.C:
2199         * insets/insetfloat.C:
2200         * insets/insetfoot.C:
2201         * insets/insetmarginal.C:
2202         * insets/insetnote.C:
2203         * insets/insetoptarg.C:
2204         * insets/insettabular.C:
2205         * insets/insettext.C:
2206         * insets/insettext.h:
2207         * insets/insetwrap.C:
2208         * mathed/math_mboxinset.C:
2209         * mathed/math_nestinset.C:
2210         * mathed/math_scriptinset.C:
2211         * mathed/math_scriptinset.h:
2212         * support/types.h:
2213
2214 2004-03-24  Angus Leeming  <leeming@lyx.org>
2215
2216         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2217         deal with any child processes that have finished but are waiting to
2218         communicate this fact to the rest of LyX.
2219
2220 2004-03-24  Angus Leeming  <leeming@lyx.org>
2221
2222         64-bit compile fixes.
2223
2224         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2225         (c-tor): pass lyx::pos_types rather than ints.
2226
2227         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2228         lyx::pos_type.
2229
2230         * text.C (Delete): compile fix.
2231         (getPar): ensure that function declaration is the same as that in
2232         the header file.
2233
2234 2004-03-23  Angus Leeming  <leeming@lyx.org>
2235
2236         * ispell.C (LaunchIspell):
2237         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2238         a boost::shred_ptr rather than a std::auto_ptr.
2239
2240 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2243         handle LFUN_FILE_INSERT_*
2244
2245         * lyxrc.C (setDefaults, getDescription, output, read):
2246         * lyxrc.h: remove ps_command
2247
2248 2004-03-22  Angus Leeming  <leeming@lyx.org>
2249
2250         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2251         Ensure that error_handler is processed once only and that all data
2252         is saved before attempting to output any warning messages.
2253
2254         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2255
2256 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2259
2260 2004-03-19  André Pönitz  <poenitz@gmx.net>
2261
2262         * cursor.[Ch] (reset): take main text inset as argument
2263
2264         * BufferView: adjust
2265         * BufferView_pimpl.C: adjust
2266
2267         * paragraph.[Ch]: fix completely broken operator=()
2268
2269 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * LColor.C (getFromLyXName): make sure that the color name is used
2272         as lowercase.
2273
2274 2004-03-17  Angus Leeming  <leeming@lyx.org>
2275
2276         * lfuns.h:
2277         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2278
2279         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2280         dialog and to kill a forked process.
2281
2282 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2283
2284         * text2.C (setCursorFromCoordinates): fix font problem
2285
2286 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2287
2288         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2289         bogus "rebuild cursor" code
2290
2291 2004-03-11  André Pönitz  <poenitz@gmx.net>
2292
2293         * buffer.[Ch]: use InsetText instead of LyXText as container for
2294         the main lyx text.
2295
2296         * dociterator.[Ch]: drop the BufferView * member which is not needed
2297         anymore after the change to buffer.C
2298
2299         * paragraph_funcs.C:
2300         * text.C:
2301         * text2.C:
2302         * BufferView.[Ch]:
2303         * BufferView_pimpl.[Ch]:
2304         * cursor.[Ch]:
2305         * cursor_slice.[Ch]: adjust
2306
2307         * text3.C: fix bug in mathDispatch
2308
2309 2004-03-08  André Pönitz  <poenitz@gmx.net>
2310
2311         * undo.[Ch]: use 'StableDocumentIterator' as base for
2312         the Undo struct.
2313
2314 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2315
2316         * LaTeXFeatures.C:
2317         * bufferparams.[Ch]: add jurabib support and param.
2318
2319         * LaTeX.C: add FIXME/comment.
2320
2321 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2322
2323         * buffer.C: increment file format to 230.
2324
2325 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * cursor.C (dispatch): avoid infinite loops
2328
2329 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * rowpainter.C (paintSelection): fix x coordinates
2332
2333 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * text.C (rowBreakPoint): fix breaking before displayed insets
2336
2337 2004-03-01  André Pönitz  <poenitz@gmx.net>
2338
2339         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2340
2341         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2342
2343         * Makefile.am:
2344         * BufferView.C:
2345         * BufferView_pimpl.C:
2346         * buffer.C:
2347         * lyxfind.C:
2348         * lyxfunc.C:
2349         * text.C:
2350         * text2.C:
2351         * text3.C: adjust
2352
2353 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * lyxtext.h:
2356         * text.C:
2357         * text2.C:
2358         * rowpainter.C:
2359         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2360         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2361
2362 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * Bidi.[Ch] (computeTables): const correctness
2365         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2366         fill_hfill, fill_label_hfill and x from Row
2367         * lyxtext.h: prepareToPrint returns a RowMetrics
2368         * rowPainter.C: adjust
2369         * text.C (prepareToPrint): use width, not textWidth. adjust
2370         (redoParagraphInternal, cursorX): adjust
2371         * text2.C (getColumnNearX): adjust
2372         (init): put a default value to the top LyXText::width
2373
2374 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2375
2376         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2377
2378 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * lyxtext.h: add FontIterator class
2381
2382         * text.C (FontIterator, operator*, operator->, operator++): add
2383         (rowBreakPoint, setRowWidth): adjust (fixing a
2384         rebreaking bug)
2385
2386 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2387
2388         * BufferView_pimpl.C (workAreaDispatch): allow also
2389         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2390
2391 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2392
2393         * text.C (rowBreakPoint): fix a bug showing with very large insets
2394
2395 2004-02-25  André Pönitz  <poenitz@gmx.net>
2396
2397         * text3.C:
2398         * cursor.[Ch]: move some mathed specific code to mathed
2399
2400 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2401
2402         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2403         use_tempdir in preferences
2404         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2405         tempfile creation
2406         * lyx_main.C: ensure that tempdir is valid
2407         * lyxlex.h: correct typo
2408         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2409         * paragraph.[Ch] (isMultiLingual): make const
2410         * cursor.[Ch] (openable): make const
2411
2412 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2413
2414         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2415
2416 2004-02-20  André Pönitz  <poenitz@gmx.net>
2417
2418         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2419
2420         * cursor.[Ch]: prepare for localized getStatus()
2421
2422         * lyxtext.h:
2423         * tabular.C:
2424         * text.C:
2425         * text2.C:
2426         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2427
2428 2004-02-20  André Pönitz  <poenitz@gmx.net>
2429
2430         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2431
2432 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * text2.C (setCursorFromCoordinates): switch to absolute coords
2435         (cursorUp): adjust
2436         (cursorDown): adjust
2437         * text3.C (dispatch): adjust
2438
2439 2004-02-16  André Pönitz  <poenitz@gmx.net>
2440
2441         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2442           insets/ChangeLog)
2443
2444         * cursor_slice.[Ch]: remove unneeded acessor function
2445
2446         * lyxtext.h: rename rtl() to isRTL()
2447
2448         * rowpainter.C:
2449         * tabular.C:
2450         * text.C:
2451         * text2.C:
2452         * text3.C: adjust
2453
2454 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * rowpainter.C (paintSelection): coord fix
2457
2458 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2459
2460         * Spacing.C: compile fix
2461
2462 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2463
2464         * cursor.C (dispatch): restore current_ before returning
2465
2466 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2467
2468         * text2.C (cursorUp, cursorDown): fix coords
2469         (moveUp): fix crash
2470
2471 2004-02-12  André Pönitz  <poenitz@gmx.net>
2472
2473         * lyxtext.h:
2474         * text.C:
2475         * text2.C:
2476         * text3.C: add LCursor & parameter to most cursor movement functions
2477           remove usage of LyXText::cursorRow() and cursorPar()
2478
2479         * cursor.[Ch]: add textRow() needed members
2480
2481         * BufferView.C:
2482         * BufferView_pimpl.C:
2483         * paragraph.[Ch]:
2484         * BufferView.C:
2485         * BufferView_pimpl.C: adjust
2486
2487 2004-02-11  André Pönitz  <poenitz@gmx.net>
2488
2489         * lyxfunc.C:
2490         * BufferView.[Ch]:
2491         * BufferView_pimpl.C: shift undo/redo handling
2492
2493         * cursor.[Ch]: fix mathed crash
2494
2495         * lyxfind.C:
2496         * lyxtext.h: move selectionAsText to LCursor
2497
2498         * output_latex.C:
2499         * paragraph.C:
2500         * text.C:
2501         * text2.C:
2502         * text3.C: adjust
2503
2504         * rowpainter.C: fix excessive drawing
2505
2506 2004-02-06  André Pönitz  <poenitz@gmx.net>
2507
2508         * BufferView.[Ch]:
2509         * BufferView_pimpl.[Ch]:
2510         * text3.C: move some text specific LFUN handling
2511
2512 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * text3.C (checkInsetHit): adjust coords
2515         * text2.C (getColumnNearX): adjust coords
2516         (edit): adjust coords
2517         * text.C (getRowNearY): add two asserts
2518
2519 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2520
2521         * converter.C:
2522         * format.C: add using std::distance to compile on gcc 2.95/stlport
2523
2524 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2527
2528 2004-02-04  André Pönitz  <poenitz@gmx.net>
2529
2530         * BufferView.[Ch] (insertInset):
2531         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2532
2533         * text2.C:
2534         * text3.C: adjust
2535
2536 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2537
2538         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2539         on the default clause of the switch
2540         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2541         wasn't catched by LCursor::dispatch
2542
2543 2004-02-03  André Pönitz  <poenitz@gmx.net>
2544
2545         * BufferView.C:
2546         * cursor.[Ch]: some additional asserts
2547
2548         * undo.[Ch]: remove LyXText dependency in interface
2549
2550         * lyxfunc.C: adjust
2551
2552         * lyxtext.h (firstPar, lastPar): remove dead functions
2553
2554         * text.C:
2555         * text2.C:
2556         * text3.C:
2557         * paragraph.[Ch]: adjust
2558
2559 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2560
2561         * lyxfind.C (find): fix argument order in call to ::find
2562
2563 2004-02-02  André Pönitz  <poenitz@gmx.net>
2564
2565         * cursor.[Ch]: remove direct access to anchor
2566
2567         * text.C: remove findText() hack
2568
2569 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * iterators.[Ch] (lockPath): remove in favour of...
2572         * BufferView.[Ch] (setCursor): this addition
2573         * BufferView.C (putSelectionAt): adjust
2574         * undo.C (performUndoOrRedo): adjust
2575         * lyxfunc.C (dispatch): adjust
2576
2577 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2578
2579         * iterators.C (lockPath): add a missing slice
2580         * undo.C (performUndoOrRedo): remove redundant positioning code
2581
2582 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2583
2584         * vc-backend.C (scanMaster): ";" -> ';'
2585
2586 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2587
2588         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2589         std::binary_function
2590
2591         * lyxtextclass.C (compare_name): rename to...
2592         (LayoutNamesEqual): ...this
2593
2594         * lyxlex_pimpl.C (compare_tags): inherit from
2595         std::binary_function, put back into anon namespace
2596
2597         * lyxfind.C (MatchString): inherig from std::binary_function
2598         (findChange): use empty() istead of !size()
2599
2600         * format.C (FormatNamesEqual): new functor
2601         (getFormat): use it
2602         (getNumber): use it
2603         (add): use it
2604         (erase): use it
2605         (setViewer): use it
2606
2607         * converter.C (compare_Converter): rename to...
2608         (ConverterEqual): ...this, and fixup a bit.
2609         (getConverter): use it, and make function const
2610         (getNumber): use it, and make function const
2611         (add): use it
2612         (erase): use it:
2613
2614         * bufferlist.C: add using boost::bind
2615
2616         * MenuBackend.C (MenuNamesEqual): new functor
2617         (hasMenu): use it, and make function const
2618         (hasSubmenu): use nested bind to get rid of compare_memfun.
2619
2620 2004-01-30  André Pönitz  <poenitz@gmx.net>
2621
2622         * BufferView_pimpl.C:
2623         * cursor.C:
2624         * cursor.h:
2625         * cursor_slice.[Ch]:
2626         * lyxfunc.C:
2627         * lyxtext.h:
2628         * paragraph_funcs.C:
2629         * paragraph_funcs.h:
2630         * rowpainter.C:
2631         * text.C:
2632         * text2.C:
2633         * text3.C: move some of the edit(x,y) handling to the insets
2634         some coordinate changes.
2635
2636 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2637
2638         * text.C: add using statements for std::advance and std::distance
2639
2640         * paragraph.C: add using statement for std::distance
2641
2642         * lyxfind.C: add using statement for std::advance
2643
2644         * cursor.C (region): remove std:: from swap
2645         (openable): use nucleus in stead of operator->
2646
2647         * BufferView.C: add using statements for std::distance and std::swap
2648
2649 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2650
2651         * iterators.C: Remove the pimple, move the needed structures to
2652         the header file. Create accessor for the positions stack.
2653         (asPosIterator): remove function
2654
2655         * PosIterator.C (PosIterator): move constructors to top of file
2656         (PosIterator): reimplement the constructor taking a ParIterator in
2657         terms of setFrom.
2658         (setFrom): new function
2659         (operator!=): inline it
2660
2661 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2662
2663         * lyxfind.C (replaceAll): use std::advance
2664
2665         * iterators.h: inherit from std::iterator.
2666
2667         * PosIterator.C (advance, distance): remove
2668         * PosIterator.h: interit from std::iterator.
2669
2670 2004-01-26  André Pönitz  <poenitz@gmx.net>
2671
2672         * BufferView.[Ch]:
2673         * BufferView_pimpl.[Ch]:
2674         * InsetList.[Ch]:
2675         * PosIterator.[Ch]:
2676         * buffer.h:
2677         * bufferview_funcs.C:
2678         * cursor.[Ch]:
2679         * cursor_slice.h:
2680         * factory.[Ch]:
2681         * iterators.[Ch]:
2682         * lyxfind.C:
2683         * lyxfunc.C:
2684         * lyxtext.h:
2685         * output_docbook.C:
2686         * output_latex.C:
2687         * output_linuxdoc.C:
2688         * output_plaintext.C:
2689         * paragraph.[Ch]:
2690         * paragraph_funcs.[Ch]:
2691         * paragraph_pimpl.[Ch]:
2692         * rowpainter.C:
2693         * tabular.C:
2694         * tabular.h:
2695         * text.C:
2696         * text2.C:
2697         * text3.C: more IU:  dumps most of the rest of the mathcursor
2698     implementation into cursor.[Ch]; "globalize" a bit of it.
2699
2700 2004-01-25  Angus Leeming  <leeming@lyx.org>
2701
2702         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2703
2704 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2705
2706         * LaTeXFeatures.h: add nice_ and nice() const
2707         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2708
2709 2004-01-20  André Pönitz  <poenitz@gmx.net>
2710
2711         * BufferView.[Ch]:
2712         * BufferView_pimpl.C:
2713         * PosIterator.C:
2714         * bufferview_funcs.C:
2715         * cursor.[Ch]:
2716         * cursor_slice.[Ch]:
2717         * factory.C:
2718         * iterators.C:
2719         * lyx_cb.C:
2720         * lyxfind.C:
2721         * lyxfunc.C:
2722         * lyxtext.h:
2723         * rowpainter.C:
2724         * text.C:
2725         * text2.C:
2726         * text3.C:
2727         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2728           LCursor and mathcursor parts to LCursor and InsetBase.
2729
2730 2004-01-15  André Pönitz  <poenitz@gmx.net>
2731
2732         * cursor_slice.[Ch]: add a few covienience functions
2733
2734         * funcrequest.[Ch]: remove BufferView * member
2735
2736         * BufferView_pimpl.C:
2737         * cursor.C:
2738         * factory.[Ch]:
2739         * lyxfind.[Ch]:
2740         * lyxfunc.C:
2741         * lyxtext.h:
2742         * text3.C:
2743         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2744
2745 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2748         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2749
2750 2004-01-13  André Pönitz  <poenitz@gmx.net>
2751
2752         * textcursor.[Ch]:
2753         * lyxtext.h: hide cursor and selection anchor behind accessor function
2754
2755         * BufferView.C:
2756         * BufferView_pimpl.[Ch]:
2757         * PosIterator.C:
2758         * bufferview_funcs.C:
2759         * cursor.h:
2760         * lyxfind.C:
2761         * lyxfunc.C:
2762         * text.C:
2763         * text2.C:
2764         * text3.C:
2765         * undo.C: adjust
2766
2767         * cursor.h:
2768         * cursor_slice.[Ch]: some integer type changes for inset unification
2769
2770         * lyxcursor.[hC]: remove, it's CursorSlice now.
2771
2772         * Makefile.am:
2773         * BufferView_pimpl.[Ch]:
2774         * bufferview_funcs.C:
2775         * cursor_slice.C:
2776         * lyxtext.h:
2777         * text.C:
2778         * text2.C:
2779         * text3.C:
2780         * textcursor.[Ch]: adjust
2781
2782 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * text2.C (undoSpan): add and use
2785         * text.C (breakParagraph): use undoSpan (fix bug 578)
2786         * lyxtext.h: adjust
2787
2788 2004-01-08  Angus Leeming  <leeming@lyx.org>
2789
2790         * BufferView_pimpl.C (MenuInsertLyXFile):
2791         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2792         * lyxfunc.C (menuNew, open, doImport):
2793         FileFilterList change to the FileDialog open and save functions.
2794
2795 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2796
2797         * ShareContainer.h: make isEqual and isUnique adaptable
2798
2799         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2800
2801 2004-01-07  Angus Leeming  <leeming@lyx.org>
2802
2803         * LyXAction.C:
2804         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2805
2806         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2807
2808         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2809         functions replacing find, replace and replaceAll.
2810
2811         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2812         LFUN_WORDFIND(FORWARD|BACKWARD).
2813
2814 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * text.C (breakParagraph): remove an outdated #warning
2817
2818 2004-01-07  André Pönitz  <poenitz@gmx.net>
2819
2820         * lyxfind.C: somewhat clearer logic
2821
2822         * text.C: prevent crash in cursorX on unitialized row cache
2823
2824 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2825
2826         * lyxcursor.[Ch] (operator>): add
2827         * textcursor.C (selStart, selEnd): use std::min and std::max
2828
2829 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2830
2831         * Chktex.C: include boost/format.hpp
2832
2833 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2834
2835         * InsetList.C: replace functor MathcIt with adaptable functor
2836         InsetTablePosLess
2837         (insetIterator): modify accordingly
2838
2839         * BranchList.h: move the BranchNamesEqual functor here from...
2840         * BranchList.C: ... to here
2841
2842         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2843         SameName and match.
2844         (add): replace a finding loop with std::find_if.
2845
2846 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2847
2848         * output_docbook.C: moving LatexParam functionality into
2849         .layout files
2850
2851 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2852
2853         * buffer.C: increment format to 229.
2854
2855 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2856
2857         * LaTeXFeatures.C:
2858         * lyx_sty.[Ch]: remove minipageindent_def
2859
2860         * LyXAction.C:
2861         * factory.C:
2862         * lfuns.h:
2863         * lyxfunc.C:
2864         * text3.C: remove LFUN_INSET_MINIPAGE
2865
2866 2003-12-28  Angus Leeming  <leeming@lyx.org>
2867
2868         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2869
2870 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * text2.C (setParagraph): fix off-by-one crash
2873
2874 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * output_docbook.C: header stuff for AGU
2877
2878 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2879
2880         * text2.C (redoCursor): remove
2881         * text.C:
2882         * text3.C:
2883         * BufferView_pimpl.C: remove calls to redoCursor and
2884         setCursor(cursor.par(), cursor.pos()) all around
2885
2886 2003-12-15  Angus Leeming  <leeming@lyx.org>
2887
2888         * buffer.C: up the format to 228.
2889
2890 2003-12-15  André Pönitz  <poenitz@gmx.net>
2891
2892         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2893         slices
2894
2895         * Makefile.am:
2896
2897         * BufferView_pimpl.C:
2898         * cursor.[Ch]:
2899         * lyxcursor.[Ch]:
2900         * rowpainter.[Ch]:
2901         * lyxtext.h:
2902         * text.C:
2903         * text2.C:
2904         * text3.C: adjust
2905
2906 2003-12-15  Angus Leeming  <leeming@lyx.org>
2907
2908         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2909         than getFromGUIName to manipulate the color.
2910
2911 2003-12-14  Angus Leeming  <leeming@lyx.org>
2912
2913         * BranchList.[Ch]: minimize the API.
2914         (Branch::getBranch, getColor): now return a 'const &'.
2915         (Branch::setSelected) now returns a bool set to true if the
2916         selection status changes.
2917         (BranchList::clear, size, getColor, setColor, setSelected,
2918         allBranches, allSelected, separator): removed.
2919         (BranchList::find): new functions, returning the Branch with
2920         the given name.
2921         (BranchList::add, remove): return a bool indicating that
2922         the operation was successful.
2923
2924         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2925         new InsetBranch::isBranchSlected member function.
2926
2927         * LColor.[Ch]: mimimize the API.
2928         (fill): renamed as addColor and made private.
2929         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2930         versions of these functions taking a string arg have been removed.
2931
2932         * bufferparams.C (readToken):
2933         * lyxfunc.C (dispatch):
2934         * lyxrc.C (read): changes due to the altered BranchList and
2935         LColor APIs.
2936
2937         * factory.C (createInset, readInset): changes due to altered
2938         InsetBranch c-tor.
2939
2940 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2941
2942         * factory.C:
2943         * lyxfunc.C: remove insetminipage. "minipage-insert"
2944         now produces a frameless minipage box inset.
2945
2946 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * textcursor.[Ch] (selStart,selEnd): add new methods
2949         remove selection::start, end, use LyXCursor::operator<
2950         * lyxcursor.[Ch] (operator<): add
2951         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2952         * BufferView.[Ch] (unsetXSel): add
2953         * text2.C (clearSelection): use unsetXSel,adjust
2954         * text.C: adjust
2955         * text3.C: adjust
2956         * rowpainter.C: adjust
2957         * bufferview_funcs.C (put_selection_at): adjust
2958
2959 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * BufferView_pimpl.C: small coord. correction
2962
2963 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2966         dragging over the splash screen.
2967
2968 2003-12-11  Angus Leeming  <leeming@lyx.org>
2969
2970         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2971         as it is now handled in LyXText::dispatch.
2972
2973         * text3.C (doInsertInset): remove a level of nesting.
2974
2975 2003-12-11  Angus Leeming  <leeming@lyx.org>
2976
2977         * factory.C (createInset): changes due to the changed interface to
2978         InsetCommandMailer::string2params.
2979
2980 2003-12-10  Angus Leeming  <leeming@lyx.org>
2981
2982         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2983         'dialog-show-new-inset <inset name>'
2984
2985 2003-12-10  Angus Leeming  <leeming@lyx.org>
2986
2987         * buffer.C: up the format to 227.
2988
2989         * factory.C: the box inset is now identified simply by 'Box'.
2990
2991 2003-12-10  Angus Leeming  <leeming@lyx.org>
2992
2993         * buffer.C: up the format to 226.
2994
2995         * factory.C: the note inset is now identified simply by 'Note'.
2996
2997 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3000         when a pit is enough. Standarize a couple of loops.
3001
3002 2003-12-05  Angus Leeming  <leeming@lyx.org>
3003
3004         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3005         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3006         data to the re-worked "log" dialog.
3007
3008 2003-12-03  André Pönitz  <poenitz@gmx.net>
3009
3010         * PosIterator.C:
3011         * iterators.C:
3012         * lyxtext.h:
3013         * output_latex.C:
3014         * paragraph_funcs.C:
3015         * text.C:
3016         * text2.C: use Inset::getText instead of Inset::getParagraph
3017
3018 2003-12-03  André Pönitz  <poenitz@gmx.net>
3019
3020         * buffer.[Ch]:
3021         * lyxtext.h:
3022         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3023         InsetText::read() as LyXText::read()
3024
3025 2003-12-02  Angus Leeming  <leeming@lyx.org>
3026
3027         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3028         type. Add a comment in the implementation that the function uses
3029         the stream's bad() function rather than fail() as the std::streams
3030         would do.
3031
3032 2003-12-02  André Pönitz  <poenitz@gmx.net>
3033
3034         * lyxlex.[Ch]: make interface more similar to std::stream
3035
3036         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3037
3038 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3039
3040         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3041
3042 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3043
3044         * vspace.[Ch]: remove VSpace::NONE
3045
3046 2003-12-01  André Pönitz  <poenitz@gmx.net>
3047
3048         * buffer.[Ch]:
3049         * lyxtext.h: move ParagraphList member to LyXText
3050         rename LyXText::ownerParagraphs to LyXText::paragraph
3051
3052         * CutAndPaste.C:
3053         * bufferview_funcs.C:
3054         * iterators.[Ch]:
3055         * lyx_cb.C:
3056         * paragraph.C:
3057         * rowpainter.C:
3058         * tabular.C:
3059         * text.C:
3060         * text2.C:
3061         * text3.C: adjust
3062
3063         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3064
3065         * undo.C: fix cursor positioning
3066
3067 2003-12-01  John Levon  <levon@movementarian.org>
3068
3069         * BufferView_pimpl.C: fix a crash on exit with
3070         a buffer open
3071
3072 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3073
3074         * BranchList.C: fix setSelected() method.
3075
3076 2003-11-28  André Pönitz  <poenitz@gmx.net>
3077
3078         * ParagraphParameters.[Ch]:
3079         * ParameterStruct.h: remove space above/below from Paragraph to
3080          InsetVSpace
3081
3082         * BufferView_pimpl.C:
3083         * factory.C:
3084         * lyxfunc.C:
3085         * lyxtext.h:
3086         * output_latex.C:
3087         * paragraph.C:
3088         * paragraph_funcs.C:
3089         * rowpainter.[Ch]:
3090         * text.C:
3091         * text2.C:
3092         * text3.C: adjust
3093
3094 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3095
3096         * factory.C: Syntax change for CharStyles
3097
3098 2003-11-28  André Pönitz  <poenitz@gmx.net>
3099
3100         * BufferView.[Ch]:
3101         * BufferView.[Ch]:
3102         * buffer.[Ch]:
3103         * buffer.[Ch]: move LyXText member
3104
3105 2003-11-28  André Pönitz  <poenitz@gmx.net>
3106
3107         * BufferView.[Ch]: make LyXText * text a private member
3108
3109         * BufferView_pimpl.C:
3110         * cursor.C:
3111         * iterators.C:
3112         * lyx_cb.C:
3113         * lyxfind.C:
3114         * lyxtext.h:
3115         * rowpainter.[Ch]:
3116         * text.C:
3117         * text2.C:
3118         * undo.C: adjust
3119
3120         * output_plaintext.C: cleanup
3121
3122 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3123
3124         * buffer.C:
3125         * lyxtextclass.[Ch]: parametrize SGML document header
3126
3127 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3128
3129         * converter.[Ch]:
3130         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3131         getFlavor().
3132
3133 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * text2.C (setFont): rework using PosIterator (no more recursive)
3136         (setCharFont): no more needed
3137         (setLayout): no more selection cursors fiddling (done by redoCursor)
3138         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3139         destroy remaining ones)
3140
3141 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3144         * lyxtext.h: ditto
3145         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3146         selection cursors
3147         * lyxfunc.C: adjust
3148         * text3.C: adjust + re-allow multi par depth changes
3149         * textcursor.C: simplify a bit
3150
3151 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3152
3153         * src/buffer.C:
3154         * src/lyxlayout.C:
3155         * src/lyxlayout.h:
3156         * src/lyxtext.h:
3157         * src/output_docbook.C:
3158         * src/output_latex.C:
3159         * src/paragraph.C:
3160         * src/paragraph.h:
3161         * src/sgml.C:
3162         * src/sgml.h:
3163         * src/text2.C: Introducing a number of tags parametrizing various
3164         XML formats that we may want to support
3165
3166 2003-11-25  André Pönitz  <poenitz@gmx.net>
3167
3168         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3169
3170         * lyxtext.h (leftMargin/rightMargin): simplify interface
3171
3172         * rowpainter.C:
3173         * text.C:
3174         * text2.C:
3175         * text3.C: adjust
3176
3177 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3178
3179         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3180         master file to any child files. Fixes bug 546.
3181
3182 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3185
3186 2003-11-24  André Pönitz  <poenitz@gmx.net>
3187
3188         * rowpainter.C: simplification
3189
3190         * text2.C (updateCounters): remove call to redoParagraph on
3191         changed labels as this is far too expensive.
3192
3193 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * converter.C (convert): fix a crash: this function gets
3196         called with buffer == 0 from importer code.
3197
3198 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3199
3200         * text3.C (cursorPrevious): make sure that we do not compare
3201         iterators form different containers.
3202         (cursorNext): ditto
3203
3204         * rowpainter.C (paintSelection): make sure that we do not compare
3205         iterators from different containers.
3206
3207         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3208         iterators from different ParagraphList containers.
3209         [NEXT] ditto
3210
3211         * text2.C (LyXText): change order of initialization slightly
3212         (operator=): new function. copy all variables except cache_par_
3213         (moveUp): make sure that we do not compare iterators from
3214         different ParagraphList constainers.
3215         (moveDown): ditto
3216
3217         * text.C (firstPar): new function
3218         (lastPar): new function
3219         (endPar): new function
3220
3221         * lyxtext.h: move things around and group public functions, public
3222         variables, private functions, private variables
3223
3224 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3225
3226         * factory.C: change call to InsetERT constructor to avoid
3227         additional invocation of method status
3228         * text2.C (toggleInset): remove redundant update() call
3229         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3230         instead of a Bufferview pointer
3231
3232 2003-11-21  André Pönitz  <poenitz@gmx.net>
3233
3234         * rowpainter.C: simplification
3235
3236 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * text3.C (dispatch): make possible to extend a word/row selection
3239         with the mouse
3240
3241 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * lyxtext.h: x0_,y0_ -> xo_,yo_
3244         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3245         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3246         * rowpainter.C (paintRows): paint full paragraphs
3247
3248 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3251         screen coordinates)
3252
3253 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3254
3255         * lyxtext.h: add x0_, y0_
3256         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3257         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3258
3259 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * text2.C (setCursorIntern): move the x_target update here *
3262         * text3.C: change some bv() to true/false in calls to
3263         cursorUp/Down/Right/Left
3264         * cursor.C: use helper function.
3265
3266 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3269         * paragraph_funcs.[Ch]: correct comment
3270         * rowpainter.C: do not paint selections away from bv->cursor()
3271         Fix a long standing selection painting bug.
3272         * text3.C: generalize mouse-selection code to LyXTexts other that
3273         top one
3274         * textcursor.C: do not use y coords if we can use par offsets
3275
3276 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3279         cursor position after e.g. inset insert)
3280
3281 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3282
3283         * lyxfind.C (replace): adjust to locking removal + some
3284         code simplification
3285
3286 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3287
3288         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3289         of the path
3290
3291 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3292
3293         * lyxlayout.[Ch]:
3294         * output_docbook.C: XML sanitation: new layout
3295         parameters InnerTag and CommandDepth
3296
3297 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3298
3299         * BufferView_pimpl.C:
3300         * factory.C:
3301         * text3.C: Fix the insertion and modification of button-style
3302         insets
3303
3304 2003-11-13  André Pönitz  <poenitz@gmx.net>
3305
3306         * InsetList.[Ch]: remove deleteLyXText
3307
3308         * paragraph.[Ch]: cache beginOfBody position
3309
3310         * Bidi.C:
3311         * text.C:
3312         * text2.C:
3313         * text3.C: remove superfluous update() calls
3314
3315         * vspace.C: cleanup
3316
3317 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3320         * BufferView.C (fitLockedInsetCursor): remove
3321         * cursor.[Ch] (getDim): add
3322         * text.C (getRowNearY): add faster version
3323         * text3.C: remove some update calls
3324
3325 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * LaTeXFeatures.C:
3328         * LyXAction.C:
3329         * MenuBackend.C:
3330         * MenuBackend.h:
3331         * dispatchresult.h:
3332         * factory.C:
3333         * lfuns.h:
3334         * lyxfunc.C:
3335         * lyxtextclass.C:
3336         * lyxtextclass.h:
3337         * text3.C: The Character Style /XML short element patch.
3338
3339 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3340
3341         * text3.C:
3342         * factory.C: Small step to solving 'unable to insert some insets'
3343         problem
3344
3345 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3346
3347         * cursor.[Ch] (updatePos): new function for updating the y
3348         position of the tip inset
3349         * bufferview_funcs.C (put_selection_at):
3350         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3351
3352 2003-11-11  André Pönitz  <poenitz@gmx.net>
3353
3354         * text.C: remove big comment on invalid Paragraph pointers as it is
3355         not valid anymore
3356
3357 2003-11-11  André Pönitz  <poenitz@gmx.net>
3358
3359         * text_funcs.[Ch]: merge with ...
3360
3361         * text.C: ... this
3362
3363         * lyxtext.h:
3364         * text2.C:
3365         * text3.C: adjust
3366
3367         * Makefile.am: remove text_funcs.[Ch]
3368
3369 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3370
3371         * cursor.C (getPos): return absolute cached y coord
3372
3373         * BufferView_pimpl.C (fitCursor): new simplistic code
3374         (workAreaDispatch): add a fitCursor call
3375
3376 2003-11-10  André Pönitz  <poenitz@gmx.net>
3377
3378         * BufferView.[Ch]:
3379         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3380
3381 2003-11-10  André Pönitz  <poenitz@gmx.net>
3382
3383         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3384         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3385         indicate that the cursor needs to leave an inset
3386
3387         * lyxtext.h: remove inset locking
3388
3389         * cursor.[Ch]: re-implement functionality provided by inset locking
3390
3391         * BufferView.[Ch]:
3392         * BufferView_pimpl.[Ch]:
3393         * LyXAction.C:
3394         * bufferview_funcs.[Ch]:
3395         * factory.C:
3396         * funcrequest.[Ch]:
3397         * iterators.C:
3398         * lyx_cb.C:
3399         * lyxfind.C:
3400         * lyxfunc.C:
3401         * text.C:
3402         * text2.C:
3403         * text3.C:
3404         * undo.C: adjust
3405
3406 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3407
3408         * PosIterator.[Ch]: replace the stack with a vector, add inset
3409         accesor
3410         * iterators.[C]: adjust
3411
3412 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3415         replaced
3416         * paragraph_funcs.C (readParToken): put the correct id in the
3417         error item, not the id of the top paragraph
3418
3419 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3422         * bufferview_funcs.C (put_selection_at): use the above
3423
3424 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3427
3428 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3429
3430         * output_linuxdoc.h:
3431         * output_plaintext.h:
3432         * output.h:
3433         * output_docbook.h: add #include statements
3434
3435 2003-11-05  José Matos  <jamatos@lyx.org>
3436
3437         * output_docbook.[Ch]:
3438         * output_latex.[Ch]:
3439         * output_linuxdoc.[Ch]:
3440         * output_plaintext.[Ch]: New files for output formats.
3441         * output.[Ch]: New file for helper functions.
3442
3443         * buffer.[Ch]:
3444         * paragraph_funcs.[Ch]: output functions moved to new files.
3445
3446         * outputparams.h: rename of latexrunparams.h
3447
3448         * LaTeX.[Ch]:
3449         * buffer.[Ch]:
3450         * bufferlist.[Ch]:
3451         * converter.[Ch]:
3452         * exporter.C:
3453         * paragraph.[Ch]:
3454         * paragraph_funcs.[Ch]:
3455         * paragraph_pimpl.[Ch]:
3456         * tabular.[Ch]: rename ascii to plaintext
3457         and LatexRunParams to OutputParams.
3458
3459 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * iterators.[Ch] (text): require bv argument
3462         * undo.C (recordUndo):
3463         * lyxfunc.C (dispatch):
3464         * bufferview_funcs.C (put_selection_at): adjust
3465
3466 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3467
3468         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3469
3470 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3473         nestings
3474
3475 2003-11-04  André Pönitz  <poenitz@gmx.net>
3476
3477         * cursor.[Ch]: restructure
3478
3479         * BufferView.[Ch]:
3480         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3481
3482         * iterators.[Ch] (asCursor): remove
3483
3484         * lfuns.h: remove LFUN_INSET_EDIT
3485
3486         * lyxfunc.C:
3487         * tabular.C:
3488         * text.C:
3489         * text2.C:
3490         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3491
3492 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3493
3494         * lyxfind.[Ch]: complete overhaul
3495         * BufferView_pimpl.C:
3496         * lyxfunc.C: adjust
3497         * paragraph.[Ch] (insert): add
3498
3499 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * BufferView.[Ch]:
3502         * lyxtext.h:
3503         * text.C: remove dead spellcheck code
3504
3505 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * dispatchresult.h: add a val setter
3508
3509         * cursor.C (dispatch): use a tempvar for data_[i]
3510
3511 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * PosIterator.[Ch]: compile fix
3514
3515 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * text.C (cursorPar): deactivate the cursor cache
3518
3519 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3522
3523 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * text3.C (dispatch): adjust for new DisptchResult semantics.
3526
3527         * lyxfunc.C (dispatch): handle update when return from
3528         Cursor::dispatch, adjust for new DispatchResult semantics.
3529
3530         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3531         DispatchResult(true) mean to not update. Add class functions for
3532         setting dispatched and update, as well as reading.
3533
3534         * cursor.C (dispatch): don't handle update here
3535
3536 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3539         * trans_mgr.C: adjust
3540
3541         * paragraph_funcs.C (readParToken): exception safety
3542
3543         * lyxvc.h: store the vcs pointer in a scoped_ptr
3544         * lyxvc.C: adjust
3545
3546         * lyxsocket.C (serverCallback): exception safety
3547
3548         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3549
3550         * ispell.C (clone): make it return a auto_ptr
3551
3552         * factory.C (createInset): exception safety
3553         (readInset): exception safety
3554
3555         * bufferlist.C (newBuffer): exception safety
3556
3557         * Thesaurus.C (Thesaurus): use initialization for aik_
3558
3559         * MenuBackend.C (expandToc): exception safety.
3560
3561 2003-11-03  André Pönitz  <poenitz@gmx.net>
3562
3563         * buffer.C:
3564         * buffer.h:
3565         * bufferview_funcs.C: remove getInsetFromId()
3566
3567         * lyxcursor.[Ch]:
3568         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3569
3570         * lyxfunc.C:
3571         * text2.C:
3572         * text3.C: adjust
3573
3574 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3575
3576         * PosIterator.C (distance, advance): new
3577         * bufferview_funcs.[Ch] (put_selection_at): new
3578         * iterators.[Ch] (lockPath): new
3579
3580 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3581
3582         * iterators.[Ch] (asPosIterator): added
3583         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3584         * PosIterator.[Ch]: added
3585
3586 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * text3.C:
3589         * lyxfunc.C:
3590         * cursor.C (dispatch):
3591         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3592
3593         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3594         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3595         contructor, add a class function dispatched. Remove operator>=
3596
3597 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3598
3599         * debug.C: only use the default constructor for debugstream
3600         (lyxerr) here.
3601
3602         * main.C (main): include debug.h and setup the lyxerr streambuf
3603         here.
3604
3605 2003-10-31  José Matos  <jamatos@lyx.org>
3606
3607         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3608
3609         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3610         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3611         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3612         * paragraph_pimpl.C (simpleTeXSpecialC):
3613         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3614         add LatexRunParams argument.
3615
3616         * exporter.C (Export): change call accordingly.
3617
3618         * latexrunparams.h: add new member to take care of the other backends.
3619 2003-10-30  José Matos  <jamatos@lyx.org>
3620
3621         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3622         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3623         factorise code for paragraph output.
3624         * buffer.[Ch]:
3625         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3626         move functions.
3627
3628 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * text3.C (dispatch):
3631         * lyxfunc.C (dispatch):
3632         * cursor.C (dispatch):
3633         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3634
3635         * dispatchresult.h: make the dispatch_result_t ctor explicit
3636
3637 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3638
3639         * sgml.[Ch]:
3640         * buffer.C: small refactoring of docbook stuff
3641
3642 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3645         meaning.
3646
3647 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3650         operator dispatch_result_t, and operators for == != and >=
3651
3652         * cursor.C (dispatch): adjust for operator dispatch_result_t
3653         removal. comment out call to update
3654
3655         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3656
3657 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * text3.C:
3660         * text2.C:
3661         * text.C:
3662         * lyxtext.h:
3663         * lyxfunc.C:
3664         * cursor.C:
3665         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3666         (dispatch):
3667
3668         * dispatchresult.h: new file, DispatchResult broken out of
3669         insets/insetbase.h
3670
3671         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3672
3673 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3674
3675         * text.C (rowBreakPoint): put a hack inside #if 0
3676
3677 2003-10-28  André Pönitz  <poenitz@gmx.net>
3678
3679         * lyxtext.h:
3680         * metricsinfo.C:
3681         * paragraph_funcs.C:
3682         * rowpainter.C:
3683         * text.C:
3684         * text2.C: general cleanup (lots of small stuff)
3685
3686 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3687
3688         * text2.C (cursorEnd): simple fix to the "end key goes to one
3689         before the end on last row" bug
3690
3691 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * text.C (backspace): fix the "zombie characters"
3694
3695 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3696
3697         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3698
3699 2003-10-27  André Pönitz  <poenitz@gmx.net>
3700
3701         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3702
3703         * factory.C: handle new InsetPagebreak, InsetLine
3704
3705         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3706         and move handling into new InsetPagebreak, InsetLine
3707
3708         * BufferView_pimpl.C:
3709         * LyXAction.C:
3710         * ParagraphParameters.C:
3711         * ParameterStruct.h:
3712         * lyxfunc.C:
3713         * lyxtext.h:
3714         * paragraph.C:
3715         * paragraph.h:
3716         * paragraph_funcs.C:
3717         * paragraph_pimpl.C:
3718         * rowpainter.C:
3719         * text.C:
3720         * text2.C:
3721         * text3.C: adjust
3722
3723 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * text.C:
3726         * lyxrow_funcs.[Ch]:
3727         * Bidi.C:
3728         * paragraph.C:
3729         * lyxtext.h:
3730         * rowpainter.C:
3731         * text2.C:
3732         * text3.C: remove lastPos uses in favour of Row::endpos
3733
3734 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3735
3736         * undo.C (performUndoOrRedo): fix two crashes by setting a
3737         cursor by hand and reordering some calls. Use bv->lockInset instead
3738         of inset->edit because the latter loses cursor information
3739
3740 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3743         by Martin
3744         (rowBreakPoint): fix width. change point to point + 1.
3745         Add a missing check.
3746
3747 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3748
3749         * MenuBackend.C:
3750         * lyxfunc.C: fix (at least partly) the problems
3751         with the Nav menu and headers inside branch insets
3752         reported by Kayvan
3753
3754 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3755
3756         * paragraph.C (getChar): add strong asserts
3757
3758         * lyxrow_funcs.C (lastPos): remove hideous hack
3759
3760         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3761         (fill): adjust to that (avoid an infinite loop)
3762
3763 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3764
3765         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3766
3767 2003-10-23  André Pönitz  <poenitz@gmx.net>
3768
3769         * RowList_fwd.h: change list<> to vector<> to gain speed
3770         after suggestion from Alfredo
3771
3772 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3773
3774         * lyxtext.h: move the bidi stuff from here...
3775         * text.C: and here
3776         * text2.C: and here
3777         * Bidi.[Ch]: ... to here
3778
3779 2003-10-23  André Pönitz  <poenitz@gmx.net>
3780
3781         * lyxtext.h:
3782         * text.C (isLastRow, isFirstRow): new functions
3783
3784         * paragraph.h: new width cache member
3785
3786         * rowpainter.C: replace RowList::iterator with Row & where possible
3787
3788         * lyxfunc.C: replace several view()->text with a single call
3789
3790         * toc.C: fix 'unused' warning
3791
3792 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3795         when woring with stream::pos_type
3796         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3797
3798 2003-10-22  André Pönitz  <poenitz@gmx.net>
3799
3800         * lyxtext.h:
3801         * text.C: use Row & instead of RowList::iterator
3802
3803         * lyxrow.h: rename end() to endpos()
3804
3805         * rowpainter.C:
3806         * text.C:
3807         * text2.C: adjust
3808
3809 2003-10-22  Angus Leeming  <leeming@lyx.org>
3810
3811         * buffer.[Ch] (fully_loaded): new member function, returning true
3812         only when the file has been loaded fully.
3813         Used to prevent the premature generation of previews and by the
3814         citation inset to prevent computation of the natbib-style label.
3815
3816         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3817         templates are all set up.
3818
3819         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3820
3821 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3822
3823         * text.C: fixed an "oops" in the "is a bit silly"
3824         bug fix
3825
3826 2003-10-21  André Pönitz  <poenitz@gmx.net>
3827
3828         * FuncStatus.[Ch]: small stuff, whitespace
3829
3830         * lyxfont.[Ch]: operator<<() for debug reasons
3831
3832         * lyxfunc.C:
3833         * lyxrow_funcs.C:
3834         * lyxtext.h: whitespace, spelling
3835
3836         * paragraph.C: naming of variables
3837
3838         * text.C:
3839         * text2.C: small stuff
3840
3841
3842 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3843
3844         * text.C: (1) finish off the inset display() work;
3845         (2) fix the "is a bit silly" bug (accessing char
3846         past end of par).
3847
3848 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3849
3850         * text.C: re-introduce display() for insets, fixing the
3851         various bugs (stretch of line above, math inset
3852         positioning, ...)
3853
3854 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3855
3856         * text.C (rightMargin): remove spurious semicolon
3857
3858         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3859         1415)
3860
3861 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * text3.C: fix one crash due to wrong cursor def
3864
3865 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * vc-backend.C (scanMaster): make the regex static
3868
3869         * LaTeX.C (scanAuxFile): make the regexs static
3870
3871         * text3.C (doInsertInset, dispatch, dispatch):
3872         * text2.C (cursorUp, cursorDown):
3873         * text.C (selectNextWordToSpellcheck):
3874         * BufferView_pimpl.C (dispatch):
3875         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3876
3877 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3878
3879         * lyxsocket.C: include <cerrno>
3880
3881 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * lyxfunc.C (dispatch): remove textcache stuff
3884
3885         * bufferlist.C (release): remove textcache stuff
3886         (closeAll): ditto
3887
3888         * TextCache.C: delete file
3889         * TextCache.h: delete file
3890
3891         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3892
3893         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3894         delete of the bv_->text.
3895         (resizeCurrentBuffer): remove texcache stuff
3896         (workAreaResize): ditto
3897
3898 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3901         action.
3902
3903 2003-10-16  André Pönitz  <poenitz@gmx.net>
3904
3905         * lyxrow.[Ch]:
3906         * paragraph.h:
3907         * rowpainter.C:
3908         * text.C:
3909         * text2.C:
3910         * text3.C: speed up by storing y positions per paragraph plus per-row
3911         offset instead of having a 'full' y position in the row.
3912
3913 2003-10-15  André Pönitz  <poenitz@gmx.net>
3914
3915         * iterators.[Ch]:
3916         * iterators.[Ch]:
3917         * undo.[Ch]: make undo aware of inner insets
3918
3919 2003-10-14  Angus Leeming  <leeming@lyx.org>
3920
3921         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3922         static member functions LyX::ref() and LyX::cref.
3923         (lastfiles): new accessor functions for the new lastfiles_ member var.
3924         (addLyXView, views_): add a new LyXView to the list of views_.
3925         (updateInset): loop over all LyXViews to call their own updateInset
3926         member function, returning a pointer to the Buffer owning the inset.
3927
3928         * BufferView_pimpl.C (loadLyXFile):
3929         * MenuBackend.C (expandLastfiles):
3930         * bufferlist.C (MenuWrite, QuitLyX):
3931         lastfiles is no longer a global variable.
3932         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3933
3934         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3935         static function. Access through LyX::cref().emergencyCleanup().
3936
3937 2003-10-14  André Pönitz  <poenitz@gmx.net>
3938
3939         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3940
3941         * undo.[Ch]: restoring part of 'undo in insets'
3942
3943         * Makefile.am:
3944         * undo_funcs.[Ch]: merge with undo.[Ch]
3945
3946         * tabular.C: small cleansing stuff
3947
3948 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * paragraph_funcs.C (readParToken): report unknown insets as error
3951         boxes. Use the outer paragraph as location (also for unknown
3952         tokens).
3953
3954         * factory.C (readInset): do not abort on reading an unknown inset.
3955         Eat it and return 0.
3956
3957 2003-10-13  Angus Leeming  <leeming@lyx.org>
3958
3959         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3960
3961         * lyxrc.C: displayTranslator is now a function,
3962         declared in GraphicsTypes.h.
3963
3964 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3965
3966         * format.C: new placeholder $$a to pass the socket address.
3967
3968         * bufferlist.[Ch]: new function getBufferFromTmp.
3969
3970         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3971           files in the temporary dir.
3972
3973 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3974
3975         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3976
3977         * Makefile.am: add lyxsocket.[Ch].
3978
3979         * lyx_main.C (error_handler): handle SIGPIPE.
3980
3981 2003-10-13  André Pönitz  <poenitz@gmx.net>
3982
3983         * BufferView_pimpl.C:
3984         * lyxtext.h:
3985         * text.C:
3986         * text2.C:
3987         * text3.C:
3988         * undo_funcs.[Ch]: use paroffset_type instead of
3989           ParagraphList::iterators to prevent multiple conversion
3990           (and get a more robust interface)
3991
3992 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3995         * lyxtext.h: ditto
3996         * text3.C (dispatch): ditto
3997
3998 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4001         move the onlyfile, use onlyfile instead of foundfile in a couple
4002         of places.
4003
4004         * DepTable.C (update): flush the error stream a bit more
4005
4006 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * lyxserver.C (callback): adjust
4009
4010         * lyxfunc.C (getStatus): add a missing brace in commented code
4011         (ensureBufferClean): reindent
4012         (dispatch): delete version taking a string
4013
4014 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * LaTeX.C (deplog): move found file handlig from here...
4017         (handleFoundFile): .. to new function here.
4018         (deplog): make sure to discover several files mentioned on the
4019         same log line.
4020
4021 2003-10-10  André Pönitz  <poenitz@gmx.net>
4022
4023         * lyxfunc.C:
4024         * lyxtext.h:
4025         * tabular.C:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: fix some of the tabular crashes
4029
4030 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4031
4032         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4033
4034         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4035
4036 2003-10-09  André Pönitz  <poenitz@gmx.net>
4037
4038         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4039
4040         * BufferView.C:
4041         * BufferView_pimpl.C:
4042         * bufferview_funcs.C:
4043         * lyx_cb.C:
4044         * lyxcursor.C:
4045         * lyxfind.C:
4046         * lyxfunc.C:
4047         * lyxtext.h:
4048         * text.C:
4049         * text2.C:
4050         * text3.C:
4051         * text_funcs.[Ch]:
4052         * textcursor.[Ch]:
4053         * undo_funcs.C: adjust
4054
4055 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text2.C (incrementItemDepth): new function, use a backtracking
4058         algorithm to discover the correct item depth.
4059         (resetEnumCounterIfNeeded): new function, use a backtracking
4060         algorithm to discover if counter reset is needed.
4061         (setCounter): use them. Simplify a bit. Add different labels for
4062         different item depths for itemize.
4063
4064         * paragraph.C (Paragraph): remove initialization of enumdepth
4065         (operator=): ditto
4066
4067         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4068         enumerate and itemize. Change the type of itemdepth to signed char.
4069
4070 2003-10-08  André Pönitz  <poenitz@gmx.net>
4071
4072         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4073           thing assignable.
4074         * text.C:
4075         * text2.C: adjust
4076
4077         * tabular.[Ch]: fix crash after 'row-insert'
4078
4079 2003-10-08  Angus Leeming  <leeming@lyx.org>
4080
4081         Fix doxygen warnings.
4082
4083         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4084         Remove CutAndPaste:: prefix from header file declaration.
4085
4086         * LColor.h (fill): remove LColor:: prefix from declaration.
4087
4088         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4089         use lyx::depth_type rather than Paragraph::depth_type so that
4090         header file and .C file match.
4091
4092         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4093
4094         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4095         * aspell.C: \file aspell_local.C -> \file aspell.C
4096         * gettext.C: \file gettext.C -> \file src/gettext.C
4097         * gettext.h: \file gettext.h -> \file src/gettext.h
4098         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4099         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4100         * text.C: \file text.C -> \file src/text.C
4101
4102         * toc.C: move comment so that doxygen is not confused.
4103
4104 2003-10-07  Angus Leeming  <leeming@lyx.org>
4105
4106         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4107
4108 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4109
4110         * aspell.C:
4111         * aspell_local.h: add forgotten std::string's.
4112
4113 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4114
4115         * LaTeXFeatures.C:
4116         * LyXAction.C:
4117         * factory.C:
4118         * lfuns.h:
4119         * lyxfunc.C:
4120         * text3.C: The Box patch. Fancybox support, minipage, parbox
4121
4122 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4123
4124         * CutAndPaste.h:
4125         * DepTable.h:
4126         * FloatList.h:
4127         * LaTeXFeatures.h:
4128         * ParagraphParameters.h:
4129         * TextCache.h:
4130         * Thesaurus.h:
4131         * bufferlist.h:
4132         * exporter.h:
4133         * importer.h:
4134         * lastfiles.h:
4135         * lyxfind.h:
4136         * lyxfont.h:
4137         * lyxlex.h:
4138         * lyxtextclasslist.h:
4139         * messages.h:
4140         * paragraph.h:
4141         * paragraph_pimpl.C:
4142         * textcursor.h: add <string> and other small fixes to make Lars'
4143         std::string patch compile with STLport.
4144
4145 2003-10-06  Angus Leeming  <leeming@lyx.org>
4146
4147         * LColor.h: Add missing #include <string>.
4148
4149 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * All most all file in all subdirs: Make <string> be the prefered
4152         way of getting to std::string, add using declarations.
4153
4154 2003-10-06  André Pönitz  <poenitz@gmx.net>
4155
4156         * metricsinfo.C: initialize LyXFont before changing attribute.
4157         (fixes the 'math in \emph is upright' bug)
4158
4159 2003-10-06  André Pönitz  <poenitz@gmx.net>
4160
4161         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4162
4163 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4164
4165         * graph.C:
4166         * paragraph_pimpl.C: Small fixes to build using STLport
4167
4168 2003-10-02  André Pönitz  <poenitz@gmx.net>
4169
4170         * lyxfunc.C:
4171         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4172
4173 2003-10-01  André Pönitz  <poenitz@gmx.net>
4174
4175         * factory.C: assert early
4176
4177 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * lyx_main.C: remove the global debug object
4180
4181         * debug.h: adjust for new debugstream
4182
4183         * debug.C: adjust for new debugstream and keep the global debug
4184         object here.
4185
4186 2003-09-22  Angus Leeming  <leeming@lyx.org>
4187
4188         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4189         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4190         an incomplete class LyXFont.
4191
4192 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4193
4194         * factory.C: bug fix in branches
4195
4196 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * lyxfunc.C (processKeySym): adjust
4199         (dispatch): adjust
4200         (dispatch): change arg name from ev to func, adjust
4201         (sendDispatchMessage): ditto
4202
4203         * lyx_main.C (defaultKeyBindings): adjust keybindings
4204         (deadKeyBindings): ditto
4205
4206         * kbsequence.C (addkey): return a FuncRequest
4207
4208         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4209
4210         * kbmap.C (bind): take a FuncRequest as arg, adjust
4211         (read): adjust
4212         (lookup): adjust
4213         (defkey): change to take a FuncRequest as arg, adjust
4214         (findbinding): take a FuncRequest as arg, adjust.
4215
4216         * funcrequest.h (operator=): added
4217
4218         * funcrequest.C (FuncRequest): default kb_action changed from
4219         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4220
4221         * buffer.C (dispatch): simplify
4222         (dispatch): adjust to take a FuncRequest as arg, adjust
4223
4224         * boost.C (assertion_failed): change assertion message slightly
4225
4226         * ToolbarBackend.C (read): simplify
4227
4228         * MenuBackend.C (binding): adjust call to findbinding, add a
4229         message if no binding is found.
4230         (read): simplify
4231         (expandToc): correct by adding a empty FuncRequest
4232
4233         * LyXAction.C: include <boost/assert.hpp>
4234         (isPseudoAction): delete function
4235         (LookupFunc): change name to...
4236         (lookupFunc): this. change return type to FuncRequest.
4237         (getActionName): take kb_action as arg, simplify
4238         (funcHasFlag): add an assert, simplify.
4239
4240 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * toc.C (action): return a FuncRequest, simplify
4243
4244         * lyxfunc.C (processKeySym): adjust
4245         (getStatus): delete version that takes an int.
4246         (getStatus): adjust
4247         (dispatch): delete version that takes action as int
4248         (dispatch): adjust
4249         (sendDispatchMessage): simplify and adjust
4250
4251         * funcrequest.C (getArg): take unsigned int as arg
4252
4253         * ToolbarBackend.C (read): adjust
4254         (add): delete version that takes func as a string.
4255         (getIton): take a FuncRequest as arg
4256
4257         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4258         action.
4259
4260         * MenuBackend.C (MenuItem): add a new construct that only takes a
4261         Kind, simplify the constructor use for submenus.
4262         (add): adjust
4263         (expandLastfiles): adjust
4264         (expandDocuments): adjust
4265         (expandFormats): adjust
4266         (expandFloatListInsert): adjust
4267         (expandFloatInsert): adjust
4268         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4269
4270         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4271         Remove class variables lyx_pseudo_map and lyx_arg_map
4272
4273         * LyXAction.C (searchActionArg): delete function
4274         (getPseudoAction): delete function
4275         (retrieveActionArg): delete function
4276         (LookupFunc): make it return kb_action, simplify.
4277         (getActionName): simplify
4278
4279         * factory.C (createInset): fix new bug
4280
4281 2003-09-19  Angus Leeming  <leeming@lyx.org>
4282
4283         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4284         masterFilename_ parameter in the include inset.
4285
4286         * factory.C (createInset): changes due to the changes to InsetInclude.
4287
4288 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4289
4290         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4291
4292 2003-09-18  Angus Leeming  <leeming@lyx.org>
4293
4294         * buffer.C:
4295         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4296         Inset::fillWithBibKeys.
4297         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4298
4299 2003-09-18  Angus Leeming  <leeming@lyx.org>
4300
4301         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4302         variables.
4303         (ctor): pass and store a 'Buffer const &'
4304         (buffer): new member function.
4305
4306         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4307         '*this' to the LaTeXFeatures ctor.
4308
4309 2003-09-18  Angus Leeming  <leeming@lyx.org>
4310
4311         * LColor.h:
4312         * lyxfont.C:
4313         * lyxfont.h:
4314         * lyxtext.h:
4315         * text.C: rename EnumLColor as LColor_color.
4316
4317 2003-09-18  Angus Leeming  <leeming@lyx.org>
4318
4319         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4320         remove #include "insets/insetbase.h" from cursor.h.
4321
4322 2003-09-18  Angus Leeming  <leeming@lyx.org>
4323
4324         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4325         InsetOld_code to remove #include "inset.h".
4326
4327         * iterators.C: add #include "insets/inset.h"
4328
4329 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * BufferView.C: remove more locking stuff that apparently doesn't
4332         do anything sensible.
4333
4334 2003-09-16  André Pönitz  <poenitz@gmx.net>
4335
4336         * paragraph.[Ch]:
4337         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4338           performance boost.
4339
4340 2003-09-16  Angus Leeming  <leeming@lyx.org>
4341
4342         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4343
4344         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4345         arg/return type.
4346
4347         * paragraph.h: remove #include "lyxfont.h". Forward declare
4348         LyXFont_size.
4349
4350 2003-09-16  Angus Leeming  <leeming@lyx.org>
4351
4352         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4353         of support/textutils.h.
4354         (isWord): move the contents of support/textutils.h's IsWordChar here.
4355
4356         * buffer.C:
4357         * lyxfind.C:
4358         * rowpainter.C:
4359         * text.C:
4360         * text2.C: add #include "paragraph.h".
4361
4362         * rowpainter.C:
4363         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4364
4365 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * main.C:
4368         * lyx_main.C:
4369         * lyx_cb.C:
4370         * buffer.C:
4371         * LaTeX.C: use namespace alias for lyx::support::os
4372
4373 2003-09-16  Angus Leeming  <leeming@lyx.org>
4374
4375         * bufferparams.C:
4376         * bufferview_funcs.C:
4377         * factory.C:
4378         * lyxfunc.C:
4379         * paragraph_pimpl.C:
4380         * rowpainter.C:
4381         * text.C: add #include "LColor.h".
4382
4383 2003-09-16  Angus Leeming  <leeming@lyx.org>
4384
4385         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4386         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4387         return LyXFont &.
4388         Store the FontBits::color variable as an int rather than as an
4389         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4390         file.
4391
4392         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4393         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4394         string calls together.
4395
4396         * lyxrc.C: add #include "LColor.h".
4397
4398 2003-09-15  Angus Leeming  <leeming@lyx.org>
4399
4400         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4401         a cow_ptr.
4402
4403 2003-09-15  Angus Leeming  <leeming@lyx.org>
4404
4405         * LColor.h: add an EnumLColor wrapper for LColor::color.
4406
4407         * lyxfont.[Ch] (color, setColor, realColor):
4408         * lyxtext.h, text.C (backgroundColor):
4409         pass EnumLColor args to/from the functions, rather than LColor::color
4410         ones.
4411
4412         * lyxfont.h:
4413         * lyxtext.h: forward declare EnumLColor.
4414
4415         * lyx_main.C: add #include "LColor.h".
4416
4417 2003-09-15  Angus Leeming  <leeming@lyx.org>
4418
4419         * .cvsignore: add lyx-gtk.
4420
4421 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * Chktex.C
4424         * LaTeX.C
4425         * LaTeXFeatures.C
4426         * ParagraphParameters.C
4427         * Spacing.C
4428         * buffer.C
4429         * bufferparams.C
4430         * bufferview_funcs.C
4431         * chset.C
4432         * counters.C
4433         * funcrequest.C
4434         * lyxfont.C
4435         * lyxgluelength.C
4436         * lyxlength.C
4437         * paragraph.C
4438         * paragraph_funcs.C
4439         * text3.C
4440         * vc-backend.C: remove usage of STRCONV
4441
4442 2003-09-15  Angus Leeming  <leeming@lyx.org>
4443
4444         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4445         explicitly define the color passed to the painter.
4446
4447 2003-09-15  Angus Leeming  <leeming@lyx.org>
4448
4449         * bufferparams.C (BufferParams): reorder member initializers to avoid
4450         compiler warning.
4451
4452 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4455         * text.C (updateRowPositions): remove an unusual nop
4456
4457 2003-09-12  André Pönitz  <poenitz@gmx.net>
4458
4459         * BufferView_pimpl.C:
4460         * Bullet.C:
4461         * layout.h:
4462         * lyxfunc.C:
4463         * lyxlayout.[Ch]:
4464         * lyxtextclass.C:
4465         * rowpainter.C:
4466         * text.C:
4467         * text2.C:
4468         * Counters.[Ch]: finish the 'automatic counters' job
4469
4470 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4471
4472         * aspell.C: include <boost/assert.cpp> (compile fix)
4473
4474 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4475
4476         * boost.C (assertion_failed): use lyx::support::abort instead of
4477         assert.
4478
4479 2003-09-10  Angus Leeming  <leeming@lyx.org>
4480
4481         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4482         with their _fwd progeny.
4483
4484 2003-09-09  Angus Leeming  <leeming@lyx.org>
4485
4486         134 files throughtout the source tree: replace 'using namespace abc;'
4487         directives with the appropriate 'using abc::xyz;' declarations.
4488
4489 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4490
4491         * boost.C (emergencyCleanup): moved here from LAssert.c
4492         (assertion_failed): new function, called by BOOST_ASSERT
4493
4494         * several files: change Assert to BOOST_ASSERT
4495
4496 2003-09-09  Angus Leeming  <leeming@lyx.org>
4497
4498         * buffer.[Ch]: Add an Impl class and move Buffer's member
4499         variables into it. As a result move several header files out of
4500         buffer.h.
4501
4502         Add header files to lots of .C files all over the tree as a result.
4503
4504 2003-09-09  Angus Leeming  <leeming@lyx.org>
4505
4506         * buffer.[Ch]: make Buffer's member variables private. Add
4507         accessor functions.
4508
4509         Lots of changes all over the tree as a result.
4510
4511 2003-09-08  Angus Leeming  <leeming@lyx.org>
4512
4513         * graph.C: #include <config.h>.
4514
4515 2003-09-08  Angus Leeming  <leeming@lyx.org>
4516
4517         * BranchList.C:
4518         * BufferView.C:
4519         * BufferView_pimpl.C:
4520         * CutAndPaste.C:
4521         * DepTable.C:
4522         * LaTeX.C:
4523         * LaTeXFeatures.C:
4524         * LyXAction.C:
4525         * MenuBackend.C:
4526         * TextCache.C:
4527         * aspell.C:
4528         * buffer.C:
4529         * bufferlist.C:
4530         * changes.C:
4531         * chset.C:
4532         * converter.C:
4533         * counters.C:
4534         * debug.C:
4535         * graph.C:
4536         * ispell.C:
4537         * lyx_cb.C:
4538         * lyxfind.C:
4539         * lyxfunc.C:
4540         * lyxlex_pimpl.C:
4541         * lyxrc.C:
4542         * lyxrow.C:
4543         * paragraph.C:
4544         * rowpainter.C:
4545         * texrow.C:
4546         * text.C:
4547         * text2.C:
4548         * toc.C: remove redundant using directives.
4549
4550 2003-09-07  Angus Leeming  <leeming@lyx.org>
4551
4552         * LaTeXFeatures.h: remove #include "support/types.h".
4553         * ToolbarBackend.h: remove #include <algorithm>.
4554         * changes.h: remove #include <ctime>.
4555         * debug.h: remove #include <iosfwd>.
4556         * graph.h: remove #include "support/std_string.h".
4557         * lyx_main.h: remove #include <csignal>.
4558         * lyxlex_pimpl.h: remove #include <fstream>.
4559         * sgml.h: remove #include <algorithm>, <utility>.
4560         * toc.h: remove #include "support/std_ostream.h".
4561         Add #include <iosfwd>.
4562
4563 2003-09-07  Angus Leeming  <leeming@lyx.org>
4564
4565         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4566
4567         * converter.h: forward declare LatexRunParams.
4568         * encoding.h: remove #include "lyxrc.h".
4569         * lyxtext.h: remove #include "LColor.h".
4570         * lyxtextclass.h: remove #include "support/types.h".
4571         * trans.h: remove #include "tex-accent.h".
4572         * trans_mgr.h: remove #include "tex-accent.h".
4573         * insets/inset.h: remove #include "support/types.h", <vector>.
4574         * insets/insetcollapsable.h: remove #include "LColor.h".
4575         * insets/insetinclude.h: remove #include "dimension.h".
4576         * insets/insetlatexaccent.h: remove #include "dimension.h".
4577         * insets/insetoptarg.h:: remove #include "insettext.h".
4578         * insets/insettext.h: remove #include "dimension.h",
4579         <boost/shared_ptr.hpp>
4580
4581         * insets/renderers.h: add #include "dimension.h".
4582         * insets/updatableinset.h: add #include "support/types.h".
4583
4584         * many .C files: Associated changes.
4585
4586 2003-09-06  Angus Leeming  <leeming@lyx.org>
4587
4588         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4589         one, inside testInvariant.
4590
4591         * PrinterParams.C: new file.
4592         * PrinterParams.[Ch]: move the function bodies out of line.
4593
4594 2003-09-06  Angus Leeming  <leeming@lyx.org>
4595
4596         * ParagraphParameters.h: forward declare ParameterStruct rather than
4597         including its header file.
4598         (depth): moved out-of-line.
4599
4600 2003-09-06  Angus Leeming  <leeming@lyx.org>
4601
4602         * BufferView_pimpl.h:
4603         * kbmap.h:
4604         * kbsequence.h:
4605         * lyxfunc.h: forward declare LyXKeySym rather than
4606         #include "frontends/LyXKeySym.h".
4607
4608         * BufferView_pimpl.C:
4609         * kbmap.C:
4610         * kbsequence.C:
4611         * lyxfunc.C: associated changes.
4612
4613 2003-09-06  Angus Leeming  <leeming@lyx.org>
4614
4615         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4616         As a result, can remove the #include "insets/inset.h" from BufferView.h
4617
4618 2003-09-06  Angus Leeming  <leeming@lyx.org>
4619
4620         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4621         As a result, can remove the #include "insets/inset.h" from BufferView.h
4622
4623 2003-09-06  Angus Leeming  <leeming@lyx.org>
4624
4625         * buffer_funcs.C:
4626         * buffer.h:
4627         * bufferlist.C:
4628         * BufferView.C:
4629         * bufferview_funcs.C:
4630         * BufferView_pimpl.C:
4631         * CutAndPaste.C:
4632         * lyx_cb.C:
4633         * lyxfunc.C:
4634         * paragraph.h:
4635         * ParagraphParameters.C:
4636         * tabular.C:
4637         * text3.C:
4638         * toc.C:
4639         * undo_funcs.C:
4640         * frontends/controllers/ControlDocument.C:
4641         * insets/insetcaption.C: rearrange the #includes into some sort of
4642         coherent order.
4643
4644         * buffer.h: remove #includes ErrorList.h, undo.h
4645
4646 2003-09-06  Angus Leeming  <leeming@lyx.org>
4647
4648         * support/types.h: add a 'depth_type' typedef, used to store the
4649         nesting depth of a paragraph.
4650
4651         * paragraph.h:
4652         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4653         defining explicitly.
4654
4655         * buffer.h:
4656         * paragraph_funcs.h:
4657         * ParagraphParameters.h:
4658         * sgml.h: use lyx::depth_type rather than Paragraph or
4659         ParameterStruct's depth_type.
4660
4661         * buffer.h
4662         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4663
4664         * BufferView.C:
4665         * BufferView_pimpl.C:
4666         * CutAndPaste.C:
4667         * ParagraphParameters.C:
4668         * buffer_funcs.C:
4669         * bufferlist.C:
4670         * bufferview_funcs.C:
4671         * lyx_cb.C:
4672         * lyxfunc.C:
4673         * tabular.C:
4674         * text3.C:
4675         * toc.C:
4676         * undo_funcs.C:
4677         * frontends/LyXView.C:
4678         * frontends/controllers/ControlDocument.C:
4679         * frontends/controllers/ControlErrorList.C:
4680         * insets/insetbibitem.C:
4681         * insets/insetbranch.C:
4682         * insets/insetcaption.C:
4683         * insets/insetcollapsable.C:
4684         * insets/insetenv.C:
4685         * insets/insetert.C:
4686         * insets/insetfloat.C:
4687         * insets/insetfoot.C:
4688         * insets/insetfootlike.C:
4689         * insets/insetnewline.C:
4690         * insets/insetquotes.C:
4691         * insets/insettabular.C:
4692         * insets/insettext.C:
4693         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4694
4695         * frontends/controllers/ControlChanges.C: #include "changes.h".
4696
4697 2003-09-06  Angus Leeming  <leeming@lyx.org>
4698
4699         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4700         than #including paragraph.h.
4701
4702         * ParagraphList.h:
4703         * RowList.h: deleted. Superfluous.
4704
4705         * CutAndPaste.h:
4706         * iterators.h:
4707         * lyxcursor.h:
4708         * lyxtext.h:
4709         * text_funcs.h:
4710         * undo.h:
4711         * undo_funcs.h:
4712         * insets/inset.h:
4713         * insets/insettext.h: use ParagraphList_fwd.h rather than
4714         ParagraphList.h.
4715
4716         * paragraph.h: don't forward declare ParagraphList.
4717
4718         * buffer.h:
4719         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4720         rather than ParagraphList.h. paragraph.h is still needed for the
4721         Paragraph::depth_type parameters.
4722
4723         * textcursor.h: enable it to compile stand-alone in light of the
4724         above changes.
4725
4726         * bufferview_funcs.C:
4727         * iterators.C:
4728         * lyxfunc.C:
4729         * lyxrow_funcs.C:
4730         * paragraph.C:
4731         * rowpainter.C:
4732         * text.C:
4733         * text2.C:
4734         * text3.C:
4735         * text_funcs.C:
4736         * textcursor.C:
4737         * undo.C:
4738         * frontends/controllers/ControlParagraph.C:
4739         * frontends/controllers/ControlTabular.C:
4740         * insets/insetmarginal.C:
4741         * insets/insetminipage.C:
4742         * insets/insetnote.C:
4743         * insets/insetoptarg.C: add header files needed to compile again.
4744
4745 2003-09-06  Angus Leeming  <leeming@lyx.org>
4746
4747         * RowList_fwd.h: new file, forward-declaring Row rather than
4748         #including lyxrow.h.
4749
4750         * lyxrow_funcs.h:
4751         * lyxtext.h:
4752         * paragraph.h:
4753         * insets/insettext.h: use it instead of RowList.h
4754
4755         * bufferview_funcs.C:
4756         * lyxfunc.C:
4757         * lyxrow_funcs.C:
4758         * paragraph.C:
4759         * rowpainter.C:
4760         * text.C:
4761         * text2.C:
4762         * text3.C: #include "RowList.h".
4763
4764 2003-09-05  Angus Leeming  <leeming@lyx.org>
4765
4766         * factory.C (createInset):
4767         * vspace.C (c-tor): replace sscanf call with an istringstream.
4768         * ispell.C: re-add missing HP/UX headers.
4769         * lyxserver.C: re-add missing  os2 headers.
4770
4771 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * BranchList.C:
4774         * graph.C:
4775         * ispell.C:
4776         * lastfiles.C:
4777         * lyx_cb.C:
4778         * lyxserver.C:
4779         * texrow.C:
4780         * text3.C: re-add missing system headers, needed for 2.95.2.
4781
4782 2003-09-05  Angus Leeming  <leeming@lyx.org>
4783
4784         Changes most place everywhere due to the removal of using directives
4785         from support/std_sstream.h.
4786
4787 2003-09-05  Angus Leeming  <leeming@lyx.org>
4788
4789         Replace LString.h with support/std_string.h,
4790         Lsstream.h with support/std_sstream.h,
4791         support/LIstream.h with support/std_istream.h,
4792         support/LOstream.h with support/std_ostream.h.
4793
4794         Changes resulting throughout the tree.
4795
4796 2003-09-05  Angus Leeming  <leeming@lyx.org>
4797
4798         * sgml.h: ensure that the header file can be compiled stand-alone.
4799         * *.C: strip out redundant #includes. (320 in total.)
4800
4801 2003-09-04  Angus Leeming  <leeming@lyx.org>
4802
4803         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4804         here (from getPackages).
4805
4806         * debug.[Ch]: add a new EXTERNAL tag.
4807
4808 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4809
4810         * text2.C (cursorEnd): simplify
4811         (setCursor): adjust
4812         (getColumnNearX): adjust
4813
4814         * text.C (computeBidiTables): adjust
4815         (fill): adjust
4816
4817         * rowpainter.C (paintChars): adjust
4818         (paintSelection): adjust
4819         (paintChangeBar): adjust
4820         (paintText): adjust
4821
4822         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4823         lastPos instead.
4824         (numberOfSeparators): adjust
4825
4826 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4827
4828         * LyXAction.C:
4829         * box.[Ch]:
4830         * lfuns.h:
4831         * lyxfunc.C:
4832         * text3.C: Restricts the mouse click functionality
4833         of insets like bibtex, include, toc and floatlist to the visible
4834         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4835         up the dialogs. Cursor has to be in front of the inset (i.e.
4836         start of row) for this to function.
4837
4838 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4839
4840         * bufferview_funcs.C (currentState): output row information
4841
4842 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4843
4844         * bufferview_funcs.C (currentState): output paragraph position
4845
4846 2003-09-04  Angus Leeming  <leeming@lyx.org>
4847
4848         * FloatList.h: move out #include "Floating.h".
4849         * LaTeX.h: move out #include "DepTable.h".
4850         * LyXAction.h: move out #include "funcrequest.h".
4851         * buffer.h: move out #include "author.h", "iterators.h".
4852         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4853         * lyx_main.h: move out #include "errorlist.h".
4854         * lyxfunc.h: move out #include "FuncStatus.h".
4855         * lyxtext: move out #include "lyxcursor.h".
4856         * paragraph_pimpl.h: move out #include "counters.h".
4857
4858 2003-09-03  Angus Leeming  <leeming@lyx.org>
4859
4860         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4861         preamble_snippets list, enabling us to add snippets to the preamble
4862         only if the snippet was not there already.
4863
4864 2003-09-04  Angus Leeming  <leeming@lyx.org>
4865
4866         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4867
4868 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4871         update
4872
4873 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4874
4875         * BranchList.C: point fix, earlier forgotten
4876
4877 2003-09-02  Angus Leeming  <leeming@lyx.org>
4878
4879         * box.C (contains): renamed from 'contained' after a fantastic
4880         amount of hot air.
4881
4882 2003-09-02  John Levon  <levon@movementarian.org>
4883
4884         * BufferView.C:
4885         * lyxcursor.h:
4886         * lyxcursor.C:
4887         * lyxfunc.C:
4888         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4889
4890 2003-09-02  John Levon  <levon@movementarian.org>
4891
4892         * text2.C: simplification of cursorEnd(), including partial
4893         fix for bug 1376
4894
4895 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * buffer.C (readFile): add a space
4898
4899 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4902
4903 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * buffer.C (readFile): new function, take a filename and a
4906         ParagraphList::iterator
4907         (readFile): adjust
4908         (readFile): adjust, make it private. don't use setStream, make
4909         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4910         always contain the filename.
4911
4912         * BufferView.C (insertLyXFile): simplify and make it work for
4913         gzipped files.
4914
4915 2003-08-30  John Levon  <levon@movementarian.org>
4916
4917         * Makefile.am: fix dist (from Kayvan)
4918
4919 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * most files: change to use const Buffer refs
4922
4923 2003-08-27  André Pönitz  <poenitz@gmx.net>
4924
4925         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4926         on top of ownerPar().
4927
4928 2003-08-27  John Levon  <levon@movementarian.org>
4929
4930         * funcrequest.C: properly initialise POD members
4931
4932 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * lyxtext.h (top_y): move top_y from here
4935         * text.C:
4936         * text2.C:
4937         * text3.C:
4938         * BufferView.[Ch]:
4939         * BufferView_pimpl.[Ch]: to here
4940         * frontends/screen.C:
4941         * insets/insettabular.C:
4942         * insets/insettext.C: adjust
4943         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4944
4945 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * BufferView.[Ch]:
4948         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4949
4950 2003-08-26  André Pönitz  <poenitz@gmx.net>
4951
4952         * paragraph_func.[Ch] (outerPar): new function
4953
4954         * paragraph.C:
4955         * paragraph_funcs.C:
4956         * paragraph_funcs.h:
4957         * paragraph_pimpl.C:
4958         * text2.C: remove Inset::par_owner
4959
4960 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4961
4962         * lyxrow_funcs.C:
4963         * lyxtext.h:
4964         * text.C:
4965         * text2.C: eliminates the needFullRow/display() stuff
4966         altogether, putting the logic in metrics/draw in the insets.
4967
4968 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * text2.C (redoParagraphInternal, redoParagraphs):
4971         * text.C (redoParagraph): add a call to updateRowPositions at the
4972         end of each 'metrics-like' call. Remove all others.
4973         (getRow): remove the 'y-computing' version.
4974         (getRowNearY): do not compute nor return the real y. Solve the
4975         'y < 0' problem and simplify.
4976
4977 2003-08-22  Angus Leeming  <leeming@lyx.org>
4978
4979         * *.[Ch]: clean-up of licence and author blurbs.
4980         Also move config.h out of a few .h files and into a few .C files.
4981
4982 2003-08-22  André Pönitz  <poenitz@gmx.net>
4983
4984         * lyxrow.[Ch]: add x_ and *fill_ members
4985
4986         * lyxtext.h:
4987         * text.C:
4988         * rowpainter.C:
4989         * text2.C: adjust/remove prepareToPrint() calls
4990
4991 2003-08-22  André Pönitz  <poenitz@gmx.net>
4992
4993         * lyxrow.[Ch]: add  end_ member
4994
4995         * lyxrow_funcs.C: use LyXRow::end_
4996
4997         * lyxtext.h (singleWidth): add LyXFont parameter
4998
4999         * rowpainter.C:
5000         * text2.C: adjust LyXText::singleWidth() calls
5001
5002         * text.C (redoParagraph): simplify row breaking logic
5003
5004
5005 2003-08-19  André Pönitz  <poenitz@gmx.net>
5006
5007         * funcrequest.C: initialize button_ member
5008
5009         * text3.C:
5010         * rowpainter.[Ch]: interface consolidation
5011
5012 2003-08-18  André Pönitz  <poenitz@gmx.net>
5013
5014         * BufferView.C:
5015         * BufferView_pimpl.C:
5016         * lyxfind.C:
5017         * paragraph_funcs.C:
5018         * rowpainter.C:
5019         * text3.C: remove LyXScreen::draw() and fitCursor calls
5020
5021         * BranchList.h: remove spurious semicolons
5022
5023         * MenuBackend.C: fix branchlist related crash
5024
5025 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5026
5027         * BranchList.[Ch]:
5028         * InsetList.[Ch]:
5029         * LColor.[Ch]:
5030         * LyXAction.C:
5031         * Makefile.am:
5032         * MenuBackend.[Ch]:
5033         * bufferparams.[Ch]:
5034         * factory.C:
5035         * lfuns.h:
5036         * lyxfunc.C:
5037         * text3.C: implements the 'branch inset'
5038         idea. This allows the output of various versions of a document
5039         from a single source version, selectively outputing or suppressing
5040         output of parts of the text.
5041         This implementation contains a 'branch list editor' in a separate
5042         tab of the document settings dialog. Branches are user definable
5043         and have a "display colour" to distinguish them on-screen.
5044
5045         ColorHandler was somewhat cleaned up.
5046         (1) make possible a dynamically growing LColor list by allowing
5047         the graphic context cache to grow along (vector);
5048         (2) eliminate an IMHO unnecessary step in colour allocation.
5049
5050 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5051
5052         * BufferView_pimpl.C: compile fix
5053
5054 2003-08-15  André Pönitz  <poenitz@gmx.net>
5055
5056         * rowpainter.C: remove extra metrics calls
5057
5058         * lyxtext.h: merge the two constructors into a single one,
5059           pass reference to owner's par list
5060
5061         * BufferView_pimpl.C:
5062         * text.C:
5063         * text2.C: adjust
5064
5065 2003-08-15  André Pönitz  <poenitz@gmx.net>
5066
5067         * lyxrow_funcs.[Ch]:
5068         * lyxtext.h:
5069         * paragraph.h:
5070         * paragraph_funcs.C:
5071         * rowpainter.C:
5072         * text.C:
5073         * text2.C:
5074         * text3.C:
5075         * text_funcs.C: split LyXText::rowlist_ into individual
5076         Paragraph::rows_ chunks
5077
5078         * BufferView.[Ch]:
5079         * BufferView_pimpl.[Ch]:
5080         * lyxfind.C:
5081         * lyxtext.h:
5082         * text3.C: remove toggleSelection()
5083
5084 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5085
5086         * bufferlist.C: beautify two alerts (shorter text of buttons)
5087         * buffer.C: Remove redundant ' ' from message
5088         * tabular.h:
5089         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5090         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5091         rename VALIGN_CENTER to VALIGN_MIDDLE
5092
5093 2003-08-11  André Pönitz  <poenitz@gmx.net>
5094
5095         * lyxtext.h (getPar):
5096         * text.C: new function
5097
5098 2003-08-11  André Pönitz  <poenitz@gmx.net>
5099
5100         * Makefile.am:
5101         * tracer.[Ch]: remove unneeded files
5102
5103         * InsetList.[Ch]: remove resizeInsetsLyXText()
5104
5105         * lyxtext.h:
5106         * text.C:
5107         * text2.C:
5108         * text3.C: merge insertParagraphs() and appendParagraph()
5109         remove breakAgain(), update()
5110
5111         * BufferView_pimpl.[Ch]:
5112         * bufferview_funcs.[Ch]:
5113         * lyxfunc.C:
5114         * paragraph.[Ch]:
5115         * rowpainter.C:
5116         * tabular.C: adjust after text & InsetList changes.
5117
5118 2003-08-08  André Pönitz  <poenitz@gmx.net>
5119
5120         * text.C (insertChar, backspace): replace rowlist fiddling
5121         with rebreak of full par
5122
5123         * lyxtext.h:
5124         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5125         checkParagraph, updateInset): removed
5126
5127 2003-08-07  André Pönitz  <poenitz@gmx.net>
5128
5129         * paragraph.C:
5130         * text3.C: merge some LFUN handlers, remove dead code
5131
5132 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5133
5134         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5135
5136 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * text2.C (DEPM): fix part of bug 1255 and 1256
5139
5140 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5141
5142         * BufferView_pimpl.C (workAreaDispatch): change to use
5143         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5144         that are no mouse related.
5145
5146 2003-08-05  André Pönitz  <poenitz@gmx.net>
5147
5148         * BufferView.[Ch]:
5149         * BufferView_pimpl.[Ch]:
5150         * bufferview_funcs.C:
5151         * text2.C:
5152         * text3.C: rip out "deep update"
5153
5154         * textcursor.[Ch] (last_sel_cursor): remove unused member
5155
5156 2003-08-04  André Pönitz  <poenitz@gmx.net>
5157
5158         * BufferView.[Ch]:
5159         * BufferView_pimpl.[Ch]:
5160         * ParagraphParameters.C:
5161         * bufferview_funcs.C:
5162         * lyx_cb.C:
5163         * lyxfind.C:
5164         * lyxfunc.C:
5165         * text.C:
5166         * text2.C:
5167         * text3.C: replace "complicated" BufferView::update(...) calls with
5168         simpler ones.
5169
5170         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5171
5172 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5173
5174         * Makefile.am (lyx_SOURCES): add paper.h
5175
5176 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5177
5178         * Makefile.am: move things around so that both lyx-qt and
5179         lyx-xforms can be built (according to --with-frontend). Then lyx
5180         is a symbolic link to lyx-[firstfrontend]
5181
5182 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5183
5184         * Always use std::endl with lyxerr
5185
5186 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5187
5188         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5189
5190 2003-08-01  André Pönitz  <poenitz@gmx.net>
5191
5192         * BufferView.[Ch]:
5193         * BufferView_pimpl.[Ch]:
5194         * lyxfunc.C:
5195         * text3.C: merge BufferView::repaint() and BufferView::update()
5196
5197 2003-08-01  José Matos  <jamatos@lyx.org>
5198
5199         * buffer.[Ch]: file_format is no longer a buffer data element.
5200
5201 2003-08-01  André Pönitz  <poenitz@gmx.net>
5202
5203         * BufferView.C:
5204         * lyxtext.h:
5205         * text.C:
5206         * text2.C: make redoParagraph more independent of current cursor
5207
5208         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5209         * text.C:
5210         * text2.C: remove unneeded members
5211
5212 2003-07-30  André Pönitz  <poenitz@gmx.net>
5213
5214         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5215
5216         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5217           create a single function...
5218
5219         * paragraph_funcs.C (moveItem): ... here.
5220
5221         * text.C:
5222           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5223
5224 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5225
5226         * LColor.[Ch]: Add comment and greyedout logical colors.
5227
5228 2003-07-30  André Pönitz  <poenitz@gmx.net>
5229
5230         * tabular.C: don't use Assert too heavily. This crashes where it
5231           shouldn't
5232
5233 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5236         is disabled (bug 1232)
5237
5238 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5239
5240         * factory.C: limited 'arg' scope
5241
5242 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5243
5244         * factory.C: fixed Note submenu issues
5245
5246 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5247
5248         * factory.C: submenu for Note/Comment/Greyedout
5249
5250 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * lyx_main.C (LyX):
5253         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5254
5255 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5256
5257         * LaTeXFeatures.C:
5258         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5259         greyedout. Patch provided by Jürgen Spitzmüller.
5260
5261 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5262
5263         * kbmap.C (read): fix error message when reading bind files
5264
5265 2003-07-29  Angus Leeming  <leeming@lyx.org>
5266
5267         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5268         certainly does not do what it purports to do. I am doing it, and
5269         us, a favour by killing it.
5270
5271 2003-07-28  José Matos  <jamatos@lyx.org>
5272
5273         * buffer.C (readBody, do_writeFile):
5274         * paragraph.C(readParagraph): \end_document replaces \the_end.
5275
5276 2003-07-29  André Pönitz  <poenitz@gmx.net>
5277
5278         * BufferView.[Ch]:
5279         * BufferView_pimpl.[Ch]:
5280         * lyxfunc.C:
5281         * text2.C:
5282         * text3.C:
5283         * textcursor.[Ch]: remove toggleToggle & Co
5284
5285 2003-07-28  José Matos  <jamatos@fep.up.pt>
5286
5287         * buffer.C (readParagraph):
5288         * params_func (readParToken, readParagraph):
5289         * paragraph.C (write): \layout -> \begin_layout.
5290
5291 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * lyxlex_pimpl.C (setFile): clean up slightly.
5294
5295         * bufferparams.h: add compressed var
5296
5297         * buffer_funcs.C (readFile): adjust for LyXLex change
5298         (newFile): ditto + simplify
5299
5300         * buffer.C (writeFile): handle writing of compressed files
5301
5302         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5303         Check if the file is compressed and set a bufferparm if so.
5304
5305         * Makefile.am (lyx_LDADD): remove explicit -lz
5306
5307 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5308
5309         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5310         makeDocBookFile): put the real LyX version in the first line of
5311         the file
5312
5313         * version.h:
5314         * version.C.in: remove lyx_docversion
5315
5316         * tabular.C (write_attribute): add a template-based version to
5317         write enums properly
5318
5319 2003-07-28  André Pönitz  <poenitz@gmx.net>
5320
5321         * lyxtext.h:
5322         * text.C:
5323         * text2.C:
5324         * text3.C: use doubles again for x-coordinates. They are needed.
5325
5326 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * messages.C (getLocaleDir): use lyx_localedir()
5329
5330         * lyxlex_pimpl.C (setFile): compress stuff
5331
5332         * buffer.C (writeFile): add some compression stuff
5333         (do_writeFile): new func, dont call expliti close... will this
5334         breake anything?
5335
5336         * Makefile.am (lyx_LDADD): add -lz
5337
5338 2003-07-28  José Matos  <jamatos@fep.up.pt>
5339
5340         * buffer.C: increment file format.
5341         * paragraph_funcs (readParagraph, readParToken):
5342         * paragraph.C (readParagraph): add \end_layout.
5343
5344 2003-07-27  Angus Leeming  <leeming@lyx.org>
5345
5346         * Makefile.am: remove special casing for configure-time setting of
5347         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5348
5349         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5350         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5351
5352 2003-07-26  André Pönitz  <poenitz@gmx.net>
5353
5354         * paragraph_func.[Ch]:
5355         * paragraph.C (realizeFont): inline it whereever it is used
5356
5357         * rowpainter.C:
5358         * text.C:
5359         * text2.C:
5360         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5361
5362
5363 2003-07-26  André Pönitz  <poenitz@gmx.net>
5364
5365         *       lyxtext.h:
5366         * text.C:
5367         * text2.C: get rid of LyXText::need_break_row
5368
5369 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * toc.[Ch]: put namespace toc inside namespace lyx
5372
5373         * MenuBackend.C (expandToc2): adjust for lyx::toc
5374         (expandToc): ditto
5375
5376         * lyxfunc.C (dispatch): adjust for lyx::find
5377
5378         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5379         lyx::find instead. Reorganize a bit.
5380         (LyXReplace): rename to replace
5381         (LyXFind): rename to find
5382
5383         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5384         (dispatch): ditto
5385
5386 2003-07-26  André Pönitz  <poenitz@gmx.net>
5387
5388         * text.C (setHeightOfRow): restrict scope of temporary variable
5389
5390         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5391           code (never has been used?)
5392
5393 2003-07-27  Asger Alstrup  <alstrup@local>
5394
5395         * text.C (fill): Optimise algorithm to exploit that we can reuse
5396         the LyXFont for many characters.
5397         (setHeightOfRow): Same thing.
5398         (rowBreakPoint): Same thing.
5399
5400 2003-07-26  Asger Alstrup  <alstrup@local>
5401
5402         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5403
5404         * text.C (singleWidth): Spurious font copying in hot-spot
5405         singleWidth avoided. Reorder tests for arabic for efficiency.
5406
5407         * text.C (fill): handle empty paragraphs better.
5408
5409 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5410
5411         * ispell.C:
5412         * encoding.h: add includes
5413
5414         * lyxrc.C: remove reading of bind files
5415
5416         * lyx_main.C (init): setup bindings and menus only if we have a
5417         gui.
5418
5419         * kbmap.C (read): new method. Do the actual reading of bind
5420         files.
5421
5422         * converter.C (dvipdfm_options):
5423         * bufferparams.C:
5424         * lyxrc.C (read):
5425         (output): adapt PAPER_* enums.
5426
5427         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5428
5429         * bufferparams.h: remove paper-related enums from there
5430
5431         * paper.h: New file. A trivial header file to hold paper-related
5432         enums. It should later expand to contain many paper-related
5433         horrors access.
5434
5435         * lyxrc.C: declare extern displayTranslator
5436
5437 2003-07-27  José Matos  <jamatos@fep.up.pt>
5438
5439         * tabular.[Ch] (linuxdoc): add support for tables and figures
5440         (linuxdoc).
5441
5442 2003-07-27  José Matos  <jamatos@fep.up.pt>
5443
5444         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5445         consistency in both functions.
5446         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5447
5448 2003-07-26  Asger Alstrup  <alstrup@local>
5449
5450         * rowpainter.C (paintRows): Change algorithm to work directly on
5451         the insets rather than asking every character in the document
5452         whether its an inset.
5453
5454 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * buffer.C (openFileWrite): factorize some code
5457
5458 2003-07-26  Angus Leeming  <leeming@lyx.org>
5459
5460         * lyx_cb.C:
5461         * lyx_main.[Ch]: replace occurances of system_tempdir with
5462         os::getTmpDir().
5463
5464 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * rename Inset to InsetOld
5467
5468 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5469
5470         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5471         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5472         which I think is a bit clearer. EDIT is gone, since it was
5473         premature optimisation, and broken for mathed anyway.
5474         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5475         with cursor positioning in insets as well (math insets still do not
5476         work, but that's a different story anyway.) It mysteriously
5477         crashes sometimes with undo in the first paragraph, but I'm fairly
5478         confident that this is a compiler bug.
5479
5480 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * paragraph.C (Paragraph): adjust for new clone return type
5483         (operator==): ditto
5484         (copyIntoMinibuffer): ditto
5485
5486 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5487
5488         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5489         by not having a special case, and always doing a full rebreak of
5490         the document after undo.
5491
5492 2003-07-23  Angus Leeming  <leeming@lyx.org>
5493
5494         * factory.C (createInset): InsetExternal::setParams now takes a
5495         Buffer const * arg.
5496
5497 2003-07-23  Angus Leeming  <leeming@lyx.org>
5498
5499         * factory.C (createInset): changed interface to the external and
5500         graphics mailers' string2params functions.
5501
5502 2003-07-23  Angus Leeming  <leeming@lyx.org>
5503
5504         * factory.C (createInset): pass a
5505         Buffer const * parameter to InsetExternalMailer's string2params.
5506
5507 2003-07-22  John Levon  <levon@movementarian.org>
5508
5509         * Thesaurus.h: include the right aiksaurus header
5510
5511 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5512
5513         * MenuBackend.C (expand): check menu shortcuts unconditionally
5514
5515 2003-07-21  Angus Leeming  <leeming@lyx.org>
5516
5517         * factory.C (createInset): pass a
5518         buffer_path parameter to InsetGraphicsMailer's string2params.
5519
5520 2003-07-21  Angus Leeming  <leeming@lyx.org>
5521
5522         * BufferView_pimpl.C (buffer):
5523         * buffer.C (d-tor):
5524         * lyx_main.C (LyX):
5525         * lyxfunc.C (dispatch):
5526         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5527         rather than the grfx shortcut.
5528
5529 2003-07-21  André Pönitz  <poenitz@gmx.net>
5530
5531         * rowpainter.C: remove unused variables
5532
5533         * tabular_funcs.C:
5534         * tabular_funcs.h: move to tabular.C
5535         * Makefile.am: adjust
5536
5537         * tabular.[Ch]: basic optical cleaning
5538
5539         * author.h: pass references, not values
5540
5541 2003-07-18  André Pönitz  <poenitz@gmx.net>
5542
5543         * lyxtext.h:
5544         * metricsinfo.C:
5545         * metricsinfo.h:
5546         * rowpainter.C:
5547         * text.C:
5548         * text2.C:
5549         * text3.C: two-phase drawing for InsetText and InsetTabular
5550         some float -> int changes.
5551
5552 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * lyx_main.C: fix the fix
5555
5556 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5557
5558         * lyx_main.C: fix a crash in batch mode if no files specified
5559         * converter.C: ws
5560
5561 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5562
5563         * format.[Ch] (papersize): moved to BufferParams
5564         * converter.[Ch] (dvips_options): moved to BufferParams
5565         (dvipdfm_options): moved to anon namespace
5566         * bufferparams.[Ch]: added above functions.
5567
5568 2003-07-17  André Pönitz  <poenitz@gmx.net>
5569
5570         * lyxtext.h:
5571         * rowpainter.C:
5572         * text2.C: don't call inset->update() anymore
5573
5574         * metricsinfo.[Ch]: add convenience constructor
5575
5576 2003-07-16  André Pönitz  <poenitz@gmx.net>
5577
5578         * lyxcursor.[Ch]:
5579         * lyxfunc.[Ch]:
5580         * text.C:
5581         * text2.C: replace the LyXCursor::irow_ member with
5582          on-demand computation of the value
5583
5584 2003-07-16  John Levon  <levon@movementarian.org>
5585
5586         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5587
5588 2003-07-15  André Pönitz  <poenitz@gmx.net>
5589
5590         * text.C:
5591         * text2.C: remove no more needed refresh_row
5592
5593 2003-07-15  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxtext.h:
5596         * rowpainter.C:
5597         * text2.C:
5598         * text3.C: refresh_status tristate -> need_update bool
5599
5600 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * lyxtext.h (init): remove reinit argument (act as if always true)
5603         * text2.C: adjust to that
5604
5605 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5606
5607         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5608         * text3.C: use it to delete selections in some cases
5609         (bugs 441, 673, 702, 954).
5610
5611 2003-07-14  André Pönitz  <poenitz@gmx.net>
5612
5613         * rowpainter.[Ch]: reduce interface
5614
5615 2003-07-14  André Pönitz  <poenitz@gmx.net>
5616
5617         * BufferView_pimpl.C:
5618         * text2.C: adjust after removing unused BufferView * argument
5619
5620 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * text2.C (init): fix a crash fired on resize
5623
5624 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5625
5626         * buffer.[Ch]: added new closing signal
5627         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5628         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5629         BufferView::Pimpl via the closing the signal
5630
5631 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * buffer.[Ch]: take out all bv-related from buffer
5634         * BufferView.C:
5635         * BufferView_pimpl.[Ch]: connect to new signals
5636         * CutAndPaste.C: removed useless asserts
5637         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5638         * lyxvc.[Ch]:
5639         * vc-backend.[Ch]:
5640         * lyxfunc.C: moved view-related funciontality from vc here
5641         * paragraph.C: removed outdated comments
5642         * text.C: ws
5643
5644 2003-07-10  André Pönitz  <poenitz@gmx.net>
5645
5646         * BufferView_pimpl.C:
5647         * tabular.h:
5648         * tabular_funcs.C:
5649         * text.C:
5650         * text2.C: remove InsetText::InnerCache, clean up consequences
5651
5652 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5653
5654         * ispell.C: fix two typos in error messages
5655
5656 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5657
5658         * Extend Note inset to other forms of annotation like Comment
5659         and Greyedout. Right button click gives dialog.
5660
5661         Files modified or added (+):
5662
5663         * insetnote.[Ch]
5664         * FormNote.[Ch]      +
5665         * ControlNote.[Ch]   +
5666         * form_note.fd       +
5667         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5668         frontends/controllers
5669         * xforms/Dialogs.C
5670         * factory.C
5671
5672 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5673
5674         * aspell.C: add missing namespace lyx::support
5675
5676 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * BufferView.[Ch] (newFile): Add
5679         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5680         * LaTeX.[Ch] (message): added this signal and use it
5681         * buffer.[Ch] (busy, message): added these signals and use them
5682         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5683         * converter.C:
5684         * exporter.C:
5685         * format.C:
5686         * importer.C: use buffer signals instead of direct bv calling
5687         * lyx_cb.[Ch] (ShowMessage): removed
5688         * lyx_main.C:
5689         * lyxfunc.C:
5690         * paragraph_funcs.C:
5691         * text2.C: use buffer signals
5692
5693 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * introduce namespace lyx::graphics
5696
5697 2003-07-02  André Pönitz  <poenitz@gmx.net>
5698
5699         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5700
5701 2003-07-01  André Pönitz  <poenitz@gmx.net>
5702
5703         * text.C:
5704         * text2.C:
5705         * text3.C:
5706         * text_funcs.[Ch]:
5707         * textcursor.h:
5708         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5709           text*.C to text_func.C
5710
5711 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * introduce namespace lyx::support
5714
5715 2003-06-30  André Pönitz  <poenitz@gmx.net>
5716
5717         * Chktex.C:
5718         * funcrequest.C:
5719         * lyxtext.h:
5720         * text.C: re-enable --with-included-string
5721
5722 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * textcursor.C: add <config.h>
5725
5726         * text.C (getWord): remove const from word_location arg
5727
5728         * lyxvc.C (getLogFile): fix const type order
5729
5730         * lyxtext.h: remove const from word_location arg, add arg name
5731
5732         * lyxlayout.h: currect type on labeltype.
5733
5734         * importer.C: correct \file
5735
5736         * converter.C (intToFormat): use std:: on ret val, ws changes
5737
5738         * bufferlist.h: correct \file
5739
5740         * buffer.C (makeLinuxDocFile): fix const type order
5741         (makeDocBookFile): ditto
5742         (fillWithBibKeys): use std:: on stdlib args.
5743
5744         * CutAndPaste.C: fix authors.
5745         (availableSelections): use std:: on return vector
5746
5747 2003-06-27  André Pönitz  <poenitz@gmx.net>
5748
5749         * BufferView_pimpl.C:
5750         * bufferview_funcs.C:
5751         * lyxcursor.C:
5752         * lyxcursor.h:
5753         * lyxfunc.C:
5754         * lyxtext.h:
5755         * rowpainter.C:
5756         * text.C:
5757         * text2.C:
5758         * text3.C: remove LyXCursor::row_ member
5759
5760         * lyxtext.h:
5761         * text.C: rename fullRebreak() to partialRebreak() and implement
5762           a fullRebreak() that really bereks fully
5763
5764         * textcursor.h: new struct for cursor-related data
5765
5766 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5767
5768         * lyx_main.C (LyX): get full path of document loaded on the
5769         command line
5770
5771 2003-06-26  André Pönitz  <poenitz@gmx.net>
5772
5773         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5774           remove unused/broken operator>,<,>=.
5775
5776         *       text.C: remove only use of broken operator<= in an Assert().
5777
5778 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5779
5780         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5781         moved errorlist_.clear to showErrorList
5782
5783 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5784
5785         * converter.C (scanLog, runLaTeX):
5786         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5787         move the bv->showErrorList call to the callers
5788         * lyxfunc.C: i.e. here...
5789         * text2.C: and here
5790         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5791         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5792         namespace, the second to...
5793         * buffer_funcs (BufferFormat, parseErrors): added
5794         * errorlist.C (ErrorList(TeXErrors const &)): removed
5795
5796 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5797
5798         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5799
5800 2003-06-24  "Garst R. Reese" <reese@isn.net>
5801
5802         * debug.C: fix typo
5803
5804 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5805
5806         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5807
5808         * version.C.in: change docversion to 1.4
5809
5810 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5811
5812         * buffer.C: fix a bug just introduced
5813
5814 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5815
5816         * buffer.[Ch]: added the parseError signal and use it, removed
5817         sgmlError
5818         * BufferView.[Ch] (addError): moved to ...
5819         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5820         to the Buffer::parseError signal to catch (guess what) parse errors
5821         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5822
5823 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5824
5825         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5826         ability to create a buffer and to return an existing one from
5827         the list. Moved these functions to...
5828         * buffer_funcs.[Ch]: added
5829         * BufferView.[Ch] (loadLyXFile): added
5830         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5831         job removed from bufferlist::loadLyXFile.
5832         * buffer.C (setReadOnly): make it work without view
5833         (i.e added an if (users))
5834
5835 2003-06-19  Angus Leeming  <leeming@lyx.org>
5836
5837         * lfuns.h:
5838         * LyXAction.C (init):
5839         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5840         with LFUN_DIALOG_SHOW <name> <data>.
5841
5842 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5843
5844         * CutAndPaste.C (availableSelections): small compilation fix for
5845         ancient (gcc 2.9x) compilers
5846
5847 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * text3.C (cursorNext): add tmp var
5850
5851         * text2.C (updateCounters): for function calling out of for clause
5852         (replaceSelectionWithString): ditto
5853         (insertStringAsParagraphs): ditto
5854         (getColumnNearX): add tmp var
5855         (setCursorFromCoordinates): add tmp var
5856         (cursorDownParagraph): add tmp var
5857         (deleteEmptyParagraphMechanism): add tmp var
5858
5859         * text.C (insertChar): add tmp var
5860
5861         * rowpainter.C (paintDepthBar): add tmp var
5862
5863         * CutAndPaste.C (availableSelections): potentially check all
5864         paragraphs in a cut to fill the shown strings.
5865
5866 2003-06-18  André Pönitz  <poenitz@gmx.net>
5867
5868         * kbmap.[Ch]: use vector<> instead of list<>
5869
5870 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5871
5872         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5873         pasteSelection with index
5874
5875         * text2.C (pasteSelection): modify, call pasteSelection with index
5876
5877         * paragraph.C (asString): reimplement version with no interval to
5878         call the one with interval.
5879
5880         * lyxtext.h: add index arg to pasteSelection
5881
5882         * MenuBackend.C (MenuItem): handle PasteRecent
5883         (Menu::read::Menutags): add md_pasterecent
5884         (read): handle it
5885         (expandPasteRecent): new function
5886         (expand): use it
5887
5888         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5889
5890         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5891         the limited stack
5892         (availableSelections): new function
5893
5894 2003-06-17  Angus Leeming  <leeming@lyx.org>
5895
5896         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5897
5898 2003-06-17  Angus Leeming  <leeming@lyx.org>
5899
5900         * lfuns.h:
5901         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5902
5903         * lyxfunc.C (dispatch): invoke it.
5904
5905 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5906
5907         * iterators.C (operator++, ParPosition): reintroduce some
5908         const_cast for the benefit of older compilers.
5909
5910 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5911
5912         * text3.C (dispatch): do not modify clipboard when doing
5913         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5914         LFUN_DELETE_SKIP on a selection selection
5915
5916 2003-06-16  André Pönitz  <poenitz@gmx.net>
5917
5918         * BufferView.C:
5919         * buffer.C:
5920         * buffer.h:
5921         * paragraph.C:
5922         * tabular.[Ch]: IU of clone() and getLabelList();
5923
5924 2003-06-13  André Pönitz  <poenitz@gmx.net>
5925
5926         * tabular.h: compactification
5927
5928 2003-06-12  André Pönitz  <poenitz@gmx.net>
5929
5930         * tabular.C:
5931         * tabular.h:
5932         * tabular_funcs.h: some renaming plus whitespace
5933
5934 2003-06-12  André Pönitz  <poenitz@gmx.net>
5935
5936         * BufferView.C:
5937         * BufferView_pimpl.C:
5938         * CutAndPaste.C:
5939         * buffer.C:
5940         * iterators.[Ch]:
5941         * lyxfunc.C:
5942         * text.C:
5943         * toc.C: Return a Paragraph & for ParIterator::operator*()
5944
5945 2003-06-11  John Levon  <levon@movementarian.org>
5946
5947         * lyx_main.C:
5948         * ToolbarBackend.h:
5949         * ToolbarBackend.C: add "Toolbars" section and
5950         put the flags there
5951
5952 2003-06-10  Angus Leeming  <leeming@lyx.org>
5953
5954         * lfuns.h:
5955         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5956
5957         * lyxfunc.C (dispatch): invoke it.
5958
5959 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * main.C: protect <ios> with HAVE_IOS
5962         (main): protect sync_with_stdio with HAVE_IOS
5963
5964 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5965
5966         * text2.C (cutSelection): adjust
5967         (pasteSelection): adjust
5968
5969         * messages.C: handle get of empty string
5970
5971         * main.C (main): use sync_with_stdio(false)
5972
5973         * lyxfunc.C (dispatch): adjust
5974
5975         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5976         (WriteAs): remove unneeded BufferView arg.
5977
5978         * bufferparams.h: use correct types on papersize, papersize2 and
5979         paperpackage.
5980
5981         * bufferparams.C (readToken): adjust for type
5982         (writeLaTeX): add missing cases to switch.
5983
5984         * bufferlist.C (quitWriteBuffer): adjust
5985         (close): adjust
5986
5987         * buffer.C (asciiParagraph): remove some commented code.
5988
5989         * CutAndPaste.C: remove current_view extern variable.
5990         (cutSelection): add BufferParams arg.
5991         (eraseSelection): add BufferParams arg.
5992         (pasteSelection): add Buffer const & arg
5993
5994 2003-06-07  John Levon  <levon@movementarian.org>
5995
5996         * buffer.C:
5997         * paragraph_funcs.C:
5998         * paragraph_pimpl.C:
5999         * text.C:
6000         * text2.C:
6001         * paragraph.h:
6002         * paragraph.C: allow InsetERT to freely space lines,
6003         and some consolidation of code
6004
6005 2003-06-06  José Matos  <jamatos@fep.up.pt>
6006
6007         * buffer.C (makeDocBookFile): fix bug #821
6008
6009 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6012
6013 2003-06-04  Angus Leeming  <leeming@lyx.org>
6014
6015         * buffer.C: bump format to 224.
6016
6017 2003-06-05  André Pönitz  <poenitz@gmx.net>
6018
6019         * text2.C (redoParagraphs): remove two const_cast<>
6020
6021 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6022
6023         * ParagraphList.h: remove last remnants of NO_STD_LIST
6024
6025 2003-06-03  Angus Leeming  <leeming@lyx.org>
6026
6027         * factory.C (createInset): small change to the way InsetExternal's params
6028         are set.
6029
6030 2003-06-04  André Pönitz  <poenitz@gmx.net>
6031
6032         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6033
6034         * paragraph_pimpl.h:
6035         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6036
6037         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6038
6039         * undo_funcs.C: make some simple cases of undo work again
6040
6041 2003-06-03  John Levon  <levon@movementarian.org>
6042
6043         * ispell.C: HPUX doesn't have sys/select.h
6044         (from Albert Chin)
6045
6046 2003-06-03  John Levon  <levon@movementarian.org>
6047
6048         * CutAndPaste.C: update tabular and include inset
6049         buffer references
6050
6051         * buffer.h:
6052         * paragraph.h:
6053         * paragraph.C: remove owningBuffer(), don't pass Buffer
6054         to clone()
6055
6056         * factory.C: insetGraphicsParams changed
6057
6058 2003-06-02  John Levon  <levon@movementarian.org>
6059
6060         * LyXAction.C:
6061         * factory.C:
6062         * lfuns.h:
6063         * lyxfunc.C:
6064         * text3.C: remove insetparent
6065
6066 2003-06-02  John Levon  <levon@movementarian.org>
6067
6068         * buffer.h:
6069         * buffer.C: fix inset_iterator.end(), move out of line
6070         (bug 1149)
6071
6072 2003-06-01  John Levon  <levon@movementarian.org>
6073
6074         * text3.C: use a proper cut/paste when doing inset
6075         insert (from Jürgen Spitzmüller)
6076
6077 2003-06-01  John Levon  <levon@movementarian.org>
6078
6079         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6080
6081 2003-05-30  André Pönitz  <poenitz@gmx.net>
6082
6083         * rowpainter.C: unify second drawing phase
6084
6085 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * trans_mgr.C: remove one case of current_view
6088
6089         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6090
6091         * paragraph_funcs.h: remove paragraph.h include
6092
6093         * paragraph.h: delete NO_STD_LIST stuff
6094
6095         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6096
6097         * buffer.h: remove paragraph.h include
6098
6099         * ParagraphList.C: delete file
6100
6101         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6102
6103         * toc.C (getTocList): adjust
6104
6105         * paragraph_pimpl.C (validate): adjust
6106
6107         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6108
6109         * paragraph.C (Paragraph): adjust
6110         (getPositionOfInset): use const_iterator, adjust
6111         (bibitem): use const_iterator, adjust
6112         (setInsetOwner): adjust
6113
6114         * iterators.C (operator++): adjust
6115
6116         * InsetList.[Ch]: Replace selfmade iterator with standard
6117         vector::iterator also introduce const_iterator. Remove getPos,
6118         getInset and setInset from InsetTable. Adjust accordingly.
6119
6120         * BufferView.C (lockInset): adjust
6121         (ChangeInsets): adjust
6122
6123         * tabular.[Ch]: delete commented same_id functions
6124
6125 2003-05-28  John Levon  <levon@movementarian.org>
6126
6127         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6128
6129 2003-05-28  André Pönitz  <poenitz@gmx.net>
6130
6131         * metricsinfo.[Ch]: remove 'fullredraw' member
6132
6133 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6134
6135         * lyxtextclass.C (operator): remove caching.
6136
6137 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * text3.C: adjust
6140
6141         * text2.C (cursorBottom): adjust
6142         (setCounter): use ParagraphList::find, adjust
6143
6144         * text.C (workWidth): use ParagraphList::find, adjust
6145
6146         * lyxcursor.C (LyXCursor): adjust
6147
6148         * buffer.C (inset_iterator): adjust
6149
6150         * ParagraphList.h: make iterator(value_type) private, make
6151         ParagraphList a friend of iterator.
6152
6153         * ParagraphList.C (find): new function
6154
6155         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6156
6157 2003-05-27  André Pönitz  <poenitz@gmx.net>
6158
6159         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6160
6161 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6162
6163         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6164
6165 2003-05-26  John Levon  <levon@movementarian.org>
6166
6167         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6168
6169 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * remove same_id from function signatures, adjust.
6172
6173 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6176
6177         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6178
6179         * paragraph.C (Paragraph): get rid of same_ids parameter
6180
6181         * ParagraphList.C (insert): adjust
6182         (push_back): adjust
6183
6184 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * paragraph_funcs.C (breakParagraph): adjust
6187         (breakParagraphConservative): adjust
6188
6189         * buffer.C (readParagraph): adjust
6190
6191         * ParagraphList.C (insert): take a reference instead of a pointer
6192         (insert): adjust
6193
6194         * paragraph.[Ch] (id): new function
6195
6196         * bufferlist.C (newFile): adjust
6197
6198         * ParagraphList.C (ParagraphList): adjust
6199         (assign): adjust
6200         (push_back): take a reference instead of a pointer.
6201
6202         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6203
6204         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6205         instead.
6206
6207         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6208         set else use old code.
6209
6210         * ParagraphList.C: remove all NO_NEXT code and only compile this
6211         code of NO_STD_LIST is set.
6212
6213 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6214
6215         * BufferView_pimpl.C:
6216         * TextCache.C:
6217         * TextCache.h:
6218         * bufferlist.C:
6219         * errorlist.h:
6220         * format.C:
6221         * format.h:
6222         * graph.C:
6223         * lyxfunc.C:
6224         * lyxrc.C:
6225         * graphics/GraphicsConverter.C:
6226         * graphics/PreviewLoader.C: header adjustment
6227
6228 2003-05-23  Angus Leeming  <leeming@lyx.org>
6229
6230         * LaTeXFeatures.[Ch] (useBabel): new method.
6231         * bufferparams.C (writeLaTeX): use it.
6232
6233 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * ParagraphList.h (set): remove unused function.
6236
6237 2003-05-23  André Pönitz  <poenitz@gmx.net>
6238
6239         * BufferView.C:
6240         * BufferView_pimpl.C:
6241         * buffer.C:
6242         * buffer.h:
6243         * lyxfunc.C:
6244         * undo_funcs.C: setUndo reworked
6245
6246         * iterators.[Ch]: add access to topmost ParagraphList
6247
6248         * lyxtext.[Ch] (workWidth): add a const
6249
6250 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6251
6252         * texrow.[Ch] (increasePos): remove function
6253         * exporter.C (export): removed unused var and outdated comment
6254
6255 2003-05-23  Angus Leeming  <leeming@lyx.org>
6256
6257         * latexrunparams.h: rename fragile as moving_arg.
6258         * paragraph.C (simpleTeXOnePar): ditto.
6259         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6260
6261 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6264         (createUndo): ditto
6265         (textUndoOrRedo): comment out a currently unused var.
6266
6267         * paragraph.h (NO_NEXT): enable NO_NEXT
6268
6269         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6270
6271         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6272
6273         * exporter.C (Export): adjust for removeAutoInsets removal.
6274
6275         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6276
6277         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6278
6279         * BufferView.[Ch] (removeAutoInsets): delete function
6280
6281 2003-05-22  Angus Leeming  <leeming@lyx.org>
6282
6283         * latexrunparams.h: add a free_spacing variable.
6284
6285         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6286         to pass moving_arg, as the data is stored in runparams.fragile.
6287
6288         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6289         to Inset::latexOptional or to simpleTeXOnePar.
6290
6291         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6292         free_spacing arg to Inset::latexOptional.
6293
6294         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6295         free_spacing arg.
6296
6297 2003-05-22  Angus Leeming  <leeming@lyx.org>
6298
6299         * latexrunparams.h: add fragile and use_babel variables.
6300
6301         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6302         * buffer.C (makeLaTeXFile): store this returned value in
6303         runparams.use_babel, thus passing it to the inset::latex methods.
6304
6305         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6306         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6307
6308         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6309         longer has a fragile arg, as it is stored in runparams.fragile.
6310
6311         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6312         moving_arg parameter as the data is stored in runparams.fragile.
6313
6314         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6315         a fragile parameter as the data is stored in runparams.fragile.
6316
6317 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6320
6321 2003-05-22  Angus Leeming  <leeming@lyx.org>
6322
6323         * latexrunparams.h: add a 'bool nice' which defaults to false.
6324
6325         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6326         now encapsulated within runparams.
6327
6328         * bufferlist.C (updateIncludedTeXfiles):
6329         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6330
6331 2003-05-22  Angus Leeming  <leeming@lyx.org>
6332
6333         * latexrunparams.h: new file containing struct LatexRunParams.
6334         * Makefile.am: add new file.
6335
6336         * LaTeX.[Ch] (c-tor, run):
6337         * buffer.[Ch] (makeLaTeXFile):
6338         * bufferlist.[Ch] (updateIncludedTeXfiles):
6339         * converter.C (convert, scanLog):
6340         * converter.[Ch] (runLaTeX):
6341         * exporter.C (Export):
6342         * paragraph.[Ch] (simpleTeXOnePar):
6343         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6344         * paragraph_funcs.[Ch] (latexParagraphs):
6345         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6346         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6347         pass around a LatexRunParams parameter.
6348
6349 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * paragraph.[Ch]: remove unused constructor
6352
6353         * ParagraphList.C (erase): new function, taking two iterators
6354
6355 2003-05-22  André Pönitz  <poenitz@gmx.net>
6356
6357         * undo_funcs.C: remove duplicated code
6358
6359         * iterator.[Ch]: operator=
6360
6361 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * tabular.C (SetMultiColumn): ws changes
6364
6365         * rowpainter.C (paintFirst): get rid of a ->previous
6366
6367         * lyx_cb.C (getPossibleLabel): parlist simplification
6368
6369         * BufferView.C (ChangeInsets): simplify slightly.
6370
6371 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6372
6373         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6374         * lfuns.h: new LFUN_SPACE
6375         * lyxfunc.C: protected space has a new lfun
6376         * paragraph_funcs.C: read new space insets
6377         * text3.C:
6378         * factory.C: handle new space insets
6379
6380 2003-05-22  André Pönitz  <poenitz@gmx.net>
6381
6382         * BufferView.C:
6383         * BufferView_pimpl.C:
6384         * buffer.[Ch]:
6385         * lyxfunc.C:
6386         * undo_funcs.C: return a ParIterator from getParFromID.
6387
6388         * iterators.[Ch]: add two const's
6389
6390 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * toc.C (getTocList): adjust
6393
6394         * iterators.[Ch]: rework for parlist
6395
6396         * buffer.C (par_iterator_begin): adjust
6397         (par_iterator_end): adjust
6398
6399         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6400
6401         * BufferView.C (removeAutoInsets): adjust
6402         (ChangeInsets): adjust
6403
6404 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * text.C (top_y): fix bug 1110
6407
6408 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6409
6410         * errorlist.[Ch]: added
6411         * buffer.C:
6412         * BufferView.[Ch]:
6413         * BufferView_pimpl.C:
6414         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6415         instead
6416
6417 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * Makefile.am: ensure that lyx is relinked upon changes to the
6420         various "convenience" libs.
6421
6422 2003-05-20  Angus Leeming  <leeming@lyx.org>
6423
6424         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6425         files are compiled in alphabetical order again.
6426
6427         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6428
6429 2003-05-19  Angus Leeming  <leeming@lyx.org>
6430
6431         * gettext.[Ch]: remove "char const * _(char const *)".
6432
6433 2003-05-19  André Pönitz  <poenitz@gmx.net>
6434
6435         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6436
6437         * Makefile.am:
6438         * BufferView.C:
6439         * DepTable.h:
6440         * LaTeXFeatures.C:
6441         * buffer.C:
6442         * lyxfont.C:
6443         * lyxlex.h:
6444         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6445
6446 2003-05-19  André Pönitz  <poenitz@gmx.net>
6447
6448         * buffer.C:
6449         * lyxlayout.[Ch]:
6450         * lyxtextclass.[Ch]:
6451         * paragraph.C:
6452         * paragraph_funcs.[Ch]:
6453         * text2.C:
6454         * text3.C: more insetenv work
6455
6456 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * ParagraphParameters.C (params2string): small bug fixed
6459
6460 2003-05-16  André Pönitz  <poenitz@gmx.net>
6461
6462         * debug.C:
6463         * bufferview_funcs.C: patch from Kornel Benko to prevent
6464           crash when _(...) is called twice in a statement
6465
6466 2003-05-16  André Pönitz  <poenitz@gmx.net>
6467
6468         * BufferView.C:
6469         * lyxfunc.C:
6470         * text.C:
6471         * text2.C:
6472         * text3.C:
6473         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6474
6475 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * lyx_main.C (init): remove spurious static_cast
6478
6479 2003-05-14  André Pönitz  <poenitz@gmx.net>
6480
6481         * BufferView.C: fix format string
6482
6483 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * BufferView.[Ch] (insertErrors): removed
6486         * BufferView.[Ch] (showErrorList): added
6487         * buffer.C (runChkTeX):
6488         * converter.C (scanLog): call showErrorList instead of inserterrors
6489
6490 2003-05-13  André Pönitz  <poenitz@gmx.net>
6491
6492         * BufferView_pimpl.C:
6493         * buffer.C:
6494         * bufferview_func.C:
6495         * MenuBackend.C:
6496         * lyxfunc.C:
6497         * lyxrc.C:
6498         * tex-accent.C:
6499         * text3.C:
6500         * toc.C:
6501         * tabular_funcs.h: tostr() from its own header
6502
6503         * ParagraphParameters.C:
6504         * ToolbarBackend.C:
6505         * bufferparams.C:
6506         * format.C:
6507         * lyxlex_pimpl.C:
6508         * text3.C: STRCONV()
6509
6510 2003-05-12  André Pönitz  <poenitz@gmx.net>
6511
6512         * BufferView.C:
6513         * BufferView_pimpl.C:
6514         * CutAndPaste.C:
6515         * LaTeX.C:
6516         * LaTeXFeatures.C:
6517         * ParagraphParameters.C:
6518         * buffer.C:
6519         * bufferlist.C:
6520         * bufferparams.C:
6521         * bufferview_funcs.C:
6522         * converter.C:
6523         * counters.C:
6524         * debug.C:
6525         * exporter.C:
6526         * format.C:
6527         * importer.C:
6528         * lyx_cb.C:
6529         * lyx_main.C:
6530         * lyxfont.C:
6531         * lyxfunc.C:
6532         * lyxvc.C:
6533         * paragraph.C:
6534         * paragraph_funcs.C:
6535         * tabular.C:
6536         * tabular_funcs.C:
6537         * text2.C:
6538         * text3.C:  boost::format -> bformat  all over the place
6539
6540
6541 2003-05-09  André Pönitz  <poenitz@gmx.net>
6542
6543         * LColor.[Ch]: Pimpl the #include <map> away
6544
6545 2003-05-09  John Levon  <levon@movementarian.org>
6546
6547         * bufferlist.C: never remove emergency saves
6548
6549 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6550
6551         * Makefile.am: better lib building
6552
6553 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6556         instead.
6557         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6558         (simpleTeXSpecialChars): adjust
6559         (simpleTeXSpecialChars): adjust
6560         * paragraph.C (simpleTeXOnePar): adjust
6561         * buffer.C (makeLaTeXFile): adjust
6562
6563         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6564
6565         * text2.C (changeDepth): parlist cleanup
6566         (getColumnNearX): ditto
6567
6568         * rowpainter.C (getLabelFont): parlist cleanup
6569
6570         * bufferlist.C (newFile): parlist cleanup
6571
6572         * CutAndPaste.C (eraseSelection): parlist cleanup
6573
6574         * BufferView_pimpl.C (trackChanges): parlist cleanup
6575         (dispatch): ditto
6576
6577         * BufferView.C (lockInset): parlist cleanup.
6578         (ChangeInsets): ditto
6579
6580 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * CutAndPaste.h: Update file header.
6583
6584         * CutAndPaste.C: Update file header.
6585         Store the parts cut out of the Document in a limited_stack.
6586         (copySelection): adjust
6587         (pasteSelection): new function, takes the index in the limited stack.
6588         (nrOfParagraphs): adjust
6589         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6590         simplify error inset insertion.
6591         (checkPastePossible): adjust
6592
6593 2003-05-06  John Levon  <levon@movementarian.org>
6594
6595         * text2.C: don't cast wrap inset to float
6596
6597 2003-05-05  André Pönitz  <poenitz@gmx.net>
6598
6599         * iterator.C:
6600         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6601
6602         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6603           few naked Paragraph *.
6604
6605 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6606
6607         * bufferparams.C: Output warning if a document with missing
6608         TeX document class is loaded
6609         * exporter.C: Disable TeX exports if the document class is missing
6610         * lyxtextclass.C:
6611         * lyxtextclass.h:
6612         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6613         isTeXClassAvailable()
6614
6615 2003-05-03  John Levon  <levon@movementarian.org>
6616
6617         * BufferView.h:
6618         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6619         explicit cursor show/hide
6620
6621         * BufferView_pimpl.h:
6622         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6623         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6624
6625         * lyxfunc.C: hide cursor before dispatching.
6626
6627         * lyx_cb.C:
6628         * lyxfind.C:
6629         * text.C:
6630         * text3.C: remove explicit cursor hides
6631
6632 2003-05-02  André Pönitz  <poenitz@gmx.net>
6633
6634         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6635
6636         * undo_funcs.C:
6637         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6638           linked lists
6639
6640         * text2.C: tiny whitespace
6641
6642 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * undo_funcs.C: almost only ws changes.
6645
6646         * ParagraphList.C (splice): just return if pl is empty.
6647
6648 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * ParagraphList.C (splice): new function.
6651
6652         * CutAndPaste.C (pasteSelection): use it
6653
6654 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * CutAndPaste.C (pasteSelection): remove the last next and
6657         previous from this file.
6658
6659 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * CutAndPaste.C (pasteSelection): more clean up, user proper
6662         ParagraphList functions for pasteing.
6663
6664         * ParagraphList.C (insert): new function, three arg insert
6665
6666 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * ParagraphList.C (insert): new function, three arg insert
6669
6670         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6671         not on paragraphs.
6672
6673 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6676
6677 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6680
6681 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6684         (copySelection): clean up a bit.
6685         (pasteSelection): use make_pair
6686
6687         * ParagraphList.C (ParagraphList): implement copy constructor
6688         (operator=): implement, base on copy constructor.
6689         (assign): new func
6690
6691         * paragraph.C (erase): return a bool
6692
6693         * paragraph_pimpl.C (erasePos): remove function, move contents...
6694         (erase): ... here. Return a bool.
6695         (erase): call erase instead of erasePos.
6696
6697 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6698
6699         * ParagraphList.h: define PitPosPair
6700         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6701         ParagraphList, fix a bug on pasting multiple pars
6702         * text2.C: change interface to C&P
6703
6704 2003-04-30  André Pönitz  <poenitz@gmx.net>
6705
6706         * undo_func.C: revert part of yesterday's patch 2
6707
6708 2003-04-30  John Levon  <levon@movementarian.org>
6709
6710         * LColor.C: s/tabular/table/
6711
6712 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6713
6714         * text3.C (dispatch): do not convert iterator -> pointer
6715         * undo_funcs.C (setCursorParUndo): ditto
6716         * text_funcs.C (transposeChars): ditto
6717
6718         * text2.C (setLayout): ws changes only
6719
6720         * text.C (breakParagraph): do not convert iterator -> pointer
6721         (insertChar): ditto
6722         (acceptChange): ditto
6723         (rejectChange): ditto
6724         (changeCase): ditto
6725         (Delete): ditto
6726         (backspace): ditto
6727
6728         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6729         pointer
6730
6731 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6732
6733         * text3.C (gotoInset): YABG (yet another bad getChar)
6734
6735 2003-04-29  André Pönitz  <poenitz@gmx.net>
6736
6737         * paragraph.h: make operator= private unimplemented as long as
6738           it is unusable
6739
6740         * ParagraphList.C: whitespace
6741
6742         * paragraph.[Ch]:
6743         * paragraph_pimpl.[Ch]:
6744         * paragraph_funcs.C:
6745         * CutAndPaste.C:
6746         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6747
6748         * text2.C:
6749           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6750
6751 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6754         * paragraph.[Ch] (erase):
6755         * paragraph_pimpl.[Ch] (erase): change return type and value
6756         * text2.C (cutSelection): some rework
6757
6758 2003-04-28  John Levon  <levon@movementarian.org>
6759
6760         * bufferlist.C: changes for unsaved changes dialog
6761
6762 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * bufferlist.C (newFile): set language (messages_) for new
6765         documents also.
6766
6767         * buffer.C (readFile): ws changes only.
6768
6769 2003-04-28  André Pönitz  <poenitz@gmx.net>
6770
6771         * undo_funcs.C:
6772         * lyxfunc.C:
6773         * buffer.[Ch]:
6774         * BufferView_pimpl.C:
6775         * BufferView.C: getParFromID related ParagraphList::iterator changes
6776
6777 2003-04-28  André Pönitz  <poenitz@gmx.net>
6778
6779         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6780           Changes
6781
6782 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * messages.C: remove one more localedir class variable.
6785
6786 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * messages.C (getLocaleDir): singleton generation function
6789         (Pimpl): use it.
6790         (Messages): add a default constructor.
6791
6792         * main.C (main): do not setup localedir here, do not call
6793         gettext_init.
6794
6795         * gettext.C (_): use it.
6796         (gettext_init): delete funciton
6797
6798 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6799
6800         * gettext.C (getLyXMessages): new singleton generating function.
6801
6802         * buffer.C (updateDocLang): adjust
6803
6804         * Makefile.am (messages.o): add target
6805         (main.o): remove target
6806
6807 2003-04-27  John Levon  <levon@movementarian.org>
6808
6809         * bufferlist.C:
6810         * lyx_cb.C:
6811         * lyxfunc.C:
6812         * lyxvc.C: specify cancel button in Alert::prompt
6813
6814 2003-04-26  John Levon  <levon@movementarian.org>
6815
6816         * text3.C:
6817         * lyxfunc.C:
6818         * lfuns.h:
6819         * LyXAction.C: add LFUN_INSET_SETTINGS
6820
6821         * lyxfunc.C: don't enable tabular-feature when there's
6822         just any locking inset
6823
6824 2003-04-26  John Levon  <levon@movementarian.org>
6825
6826         * bufferlist.C: re-add Cancel to buffer close question
6827
6828         * lyxfunc.C: fix import UI a bit
6829
6830 2003-04-25  John Levon  <levon@movementarian.org>
6831
6832         * gettext.C: remove the broken asserts for now
6833
6834 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * messages.C: make case where setlocale cannot comply work better.
6837
6838         * buffer.C (updateDocLang): new function
6839         (changeLanguage): use it
6840         (readFile): use it
6841
6842         * text2.C (setCounter): use B_ a bit.
6843
6844         * lyxlayout.C (Read): be sure to trim the label strings.
6845
6846         * messages.C (Messages): fix typo in comment
6847
6848         * buffer.C (readFile): set message_ after file is loaded.
6849         (makeDocBookFile): remove double return
6850         (changeLanguage): reset message_ upon language change.
6851         (B_): new func, use this to get translated buffer strings.
6852
6853         * main.C: add myself and Jean Marc as authors.
6854
6855 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * messages.[hC]: pimplify Messages, and three different pimpls to be
6858         used in different circumstances.
6859
6860         * gettext.[Ch]: change for use with new message code.
6861
6862 2003-04-24 André Pönitz <poenitz@gmx.net>
6863
6864         * factory.C: support for eqref
6865
6866 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * messages.[Ch]: add missing char
6869
6870         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6871
6872         * messages.[Ch]: New files
6873
6874 2003-04-18  John Levon  <levon@movementarian.org>
6875
6876         * BufferView.h:
6877         * BufferView.C:
6878         * BufferView_pimpl.C:
6879         * lfuns.h:
6880         * LyXAction.C:
6881         * lyxtext.h:
6882         * text2.C: remove layout-copy/paste (bug 778)
6883
6884 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6885
6886         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6887
6888 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6891         if they succeed. Act accordingly.
6892
6893 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * text2.C (setCharFont): adjust
6896         (setCounter): adjust
6897         (insertStringAsLines): adjust
6898
6899         * text.C (leftMargin): adjust
6900         (setHeightOfRow): adjust
6901
6902         * rowpainter.C (paintFirst): adjust
6903         (paintLast): adjust
6904
6905         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6906         (outerHook): ditto
6907         (isFirstInSequence): ditto
6908         (getEndLabel): ditto
6909         (outerFont): adjust
6910
6911         * paragraph.C (getParLanguage): comment out some hard stuff.
6912
6913         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6914         (sgmlError): ditto
6915         (simpleDocBookOnePar): ditto
6916         (makeDocBookFile): use ParagraphList::iterator
6917
6918         * CutAndPaste.C (pasteSelection): adjust
6919
6920 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * text2.C (getFont): adjust
6923         (getLayoutFont): adjust
6924         (getLabelFont): adjust
6925
6926         * paragraph_funcs.C (TeXOnePar): adjust
6927
6928         * buffer.C (simpleLinuxDocOnePar): adjust
6929         (simpleDocBookOnePar): adjust
6930
6931         * CutAndPaste.C (pasteSelection): adjust
6932
6933         * BufferView.C (getEncoding): adjust
6934
6935         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6936
6937 2003-04-16  John Levon  <levon@movementarian.org>
6938
6939         * lyxfind.C: use parlist stuff for search/changes
6940
6941 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6944
6945         * text2.C (deleteEmptyParagraphMechanism): adjust
6946
6947         * text2.[Ch] (ownerParagraph): delete func (both of them
6948
6949 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6952
6953 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * ParagraphList.C: prepare for NO_NEXT
6956
6957 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * text2.C (getFont): adjust
6960         (getLayoutFont): adjust
6961         (getLabelFont): adjust
6962
6963         * paragraph.C (getFont): adjust
6964         (getLabelFont): adjust
6965         (getLayoutFont): adjust
6966
6967         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6968
6969 2003-04-15  John Levon  <levon@movementarian.org>
6970
6971         From Angus Leeming
6972
6973         * lyx_main.C: handle Include in .ui files
6974
6975 2003-04-15  John Levon  <levon@movementarian.org>
6976
6977         * MenuBackend.C: make the doc files length shorter
6978
6979         * ToolbarBackend.h:
6980         * ToolbarBackend.C: handle toolbar placement flags,
6981         Minibuffer
6982
6983 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6986         adjust
6987
6988         * paragraph_funcs.C (TeXOnePar): adjust
6989
6990         * paragraph.C (getLabelFont): add outerfont arg, adjust
6991         (getLayoutFont): ditto
6992         (simpleTeXOnePar): adjust
6993
6994         * paragraph_pimpl.C (realizeFont): delete func
6995
6996 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6997
6998         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6999         row argument, constify cur argument.
7000
7001 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * text2.C (getFont): adjust
7004         (getLayoutFont): adjust
7005         (getLabelFont): adjust
7006
7007         * paragraph_funcs.C (TeXOnePar): adjust
7008         (outerFont): new func...
7009         (realizeFont): ...moved out from here, changed this to facilitate
7010         transition
7011
7012         * paragraph.C (getFont): take outerfont as arg, adjust
7013         (simpleTeXOnePar): add outerfont arg, adjust
7014
7015         * buffer.C (simpleLinuxDocOnePar): adjust
7016         (simpleDocBookOnePar): adjust
7017
7018         * CutAndPaste.C (pasteSelection): adjust
7019
7020         * BufferView.C (getEncoding): adjust
7021
7022 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text2.C (setCharFont): adjust
7025         (setCounter): adjust
7026
7027         * text.C (leftMargin): adjust
7028         (setHeightOfRow): adjust
7029
7030         * rowpainter.C (paintFirst): adjust
7031         (paintLast): adjust
7032
7033         * paragraph_pimpl.C (realizeFont): adjust
7034
7035         * paragraph.C (isFirstInSequence): move from here...
7036         * paragraph_funcs.C (isFirstInSequence): ...to here
7037
7038         * paragraph.C (outerHook): move from here...
7039         * paragraph_funcs.C (outerHook): ...to here
7040
7041         * paragraph.C (depthHook): move from here...
7042         * paragraph_funcs.C (depthHook): ...to here
7043
7044         * paragraph.C (getEndLabel): move from here...
7045         * paragraph_funcs.C (getEndLabel): ...to here
7046
7047         * text2.C (realizeFont): move from here...
7048         * paragraph_funcs.C (realizeFont): ...to here
7049
7050 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7053
7054 2003-04-14  Angus Leeming  <leeming@lyx.org>
7055
7056         * LColor.[Ch]: scrap LColor mathcursor.
7057
7058 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * lyxlex.[Ch] (text): delete function
7061         * trans.C (Load): adjust
7062         * paragraph_funcs.C (readParToken): adjust
7063
7064 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7067         vector<char> instead of a char[].
7068
7069         * lyxlex_pimpl.C (getString): adjust
7070         (next): adjust
7071         (lex): use getString
7072         (eatLine): adjust
7073         (nextToken): adjust
7074
7075         * lyxlex.C (text): use pimpl_->getString()
7076         (getBool): ditto
7077         (findToken): ditto
7078
7079 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7082         (makeFontEntriesLayoutSpecific): temp var for par.size()
7083         (setLayout): temp var for ownerParagraphs().end()
7084         (fullRebreak): temp var for rows().end()
7085         (selectionAsString): temp var for boost::next(startpit), realize
7086         that the while really is a regular for loop.
7087         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7088         setCursor in one place.
7089         (setParagraph): temp vr for ownerParagraphs().end()
7090         (updateCounters): make the while loop a for loop
7091         (cutSelection): temp var for ownerParagraphs().end()
7092         (updateInset): make the do {} while() a regular for loop
7093         (getCursorX): use temp vars
7094         (setCurrentFont): use temp vars
7095         (getColumnNearX): use temp vars
7096
7097 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * text.C (transformChar): use temp var for getChar
7100         (computeBidiTables): use temp var for row->par()
7101         (fill): move temp vars for row->par() and pit->layout() earlier in
7102         the function.
7103         (labelFill): use temp var for row->par()
7104         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7105         asc and desc, realize that pit never changes and that firstpit is
7106         just a duplicate and not needed. Exchange rit->par() with pit in a
7107         lot of places.
7108         (breakAgain): use a temp var for boost::next(rit)
7109         (breakAgainOneRow): ditto
7110         (breakParagraph): use a temp var for rows().begin()
7111         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7112         (cursorRightOneWord): use temp var for cursor.par() and
7113         cursor.pos(), remove usage of tmpcursor.
7114         (cursorLeftOneWord): use temp var for cursor.par() and
7115         cursor.pos() only set cur at end of function.
7116
7117 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * text.C, text2.C: exchange all usage of Paragraph::next with
7120         boost::next(ParagraphList::iterator)
7121
7122         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7123
7124         * text2.C (cursorTop): simplify implementation
7125         (cursorBottom): ditto
7126         (setParagraph): use ParagraphList::iterator
7127         (setCurrentFont): adjust
7128         (getColumnNearX): adjust
7129         (cursorRight): adjust
7130         (cursorLeft): remove usage of Paragraph::previous
7131         (cursorUpParagraph): ditto
7132         (deleteEmptyParagraphMechanism): slight cleanup
7133
7134         * text.C (isBoundary): take a Paragraph const & instead of a
7135         pointer as arg.
7136         (addressBreakPoint): ditto
7137         (leftMargin): remove usage of Paragraph::previous.
7138         (setHeightOfRow): ditto
7139         (cursorLeftOneWord): ditto
7140         (selectNextWordToSpellcheck): ditto
7141         (Delete): ditto
7142         (backspace): ditto
7143         (breakParagraph): remove one usage of Paragraph::next
7144         (redoParagraph): ditto
7145         (acceptChange): ditto
7146         (insertChar): adjust
7147         (rowBreakPoint): adjust
7148
7149         * bufferview_funcs.C (toggleAndShow): adjust
7150
7151 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7152
7153         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7154         methods to access it.
7155         * lyxtext.h:
7156         * text.C: Added updateRowPositions to compute all row positions.
7157         Make top_y and getRowNearY() to use the cached y position
7158
7159 2003-04-11  John Levon  <levon@movementarian.org>
7160
7161         * text.C (rowBreakPoint): reintroduce the labelEnd
7162         checks, code copied from the row fill stuff. Deep voodoo.
7163
7164         * text.C (fill): add a comment and debugging for the
7165         next poor soul.
7166
7167 2003-04-11  John Levon  <levon@movementarian.org>
7168
7169         * text.C: make sure fullrow insets get wrapped to the next line,
7170         even when they're in a manual label
7171
7172 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * text2.C (insertParagraph): make it take ParagraphList::iterator
7175         as arg.
7176         (setLayout): make it return ParagraphList::iterator
7177         (redoParagraphs): ditto
7178         (setCounter): ditto
7179         (checkParagraph): ditto
7180
7181         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7182
7183         * text2.C: adjust several funcs.
7184         (realizeFont): take a ParagraphList::iterator as arg.
7185         (getLayoutFont): ditto
7186         (getLabelFont): ditto
7187         (setCharFont): ditto
7188
7189         * text.C: adjust several funcs.
7190
7191 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * text.C (selectNextWordToSpellcheck): don't accidentally
7194         skip insets
7195
7196 2003-04-10  John Levon  <levon@movementarian.org>
7197
7198         * ToolbarBackend.C (getIcon): special handling for
7199         LFUN_MATH_DELIM
7200
7201 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7202
7203         * text2.C (cursorRight): a getChar assert fixed
7204
7205 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * text2.C (getFont): change to take a ParagraphList::iterator
7208         instead of Paragraph*
7209         Adjust several functions.
7210
7211         * text.C (transformChar): change to take a ParagraphList::iterator
7212         instead of Paragraph*
7213         (singleWidth): ditto
7214         Adjust several functions.
7215
7216         * rowpainter.C: adjust several functions
7217         * rowpainter.h:store a ParagraphList::iterator and not a
7218         Paragraph&.
7219
7220
7221 2003-04-09  John Levon  <levon@movementarian.org>
7222
7223         * lyxfunc.C:
7224         * lfuns.h:
7225         * LyXAction.h:
7226         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7227         and the "help" bits as well
7228
7229 2003-04-09  John Levon  <levon@movementarian.org>
7230
7231         * ToolbarBackend.h:
7232         * ToolbarBackend.C: allow multiple toolbars
7233
7234 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * undo_funcs.C (setCursorParUndo): adjust
7237
7238         * text_funcs.C (transposeChars): adjust
7239
7240         * text3.C (gotoNextInset): adjust
7241         (dispatch): adjust
7242
7243         * text2.C (setLayout): adjust
7244         (changeDepth): adjust
7245         (setFont): adjust
7246         (redoParagraphs): adjust
7247         (selectionAsString): adjust
7248         (setParagraph): adjust
7249         (insertInset): adjust
7250         (cutSelection): adjust
7251         (copySelection): adjust
7252         (pasteSelection): adjust
7253         (insertStringAsLines): adjust
7254         (updateInset): adjust
7255         (setCursor): change to take a ParagraphList::iterator parameter
7256         (setCursorIntern): change to take a ParagraphList::iterator parameter
7257         (setCurrentFont): adjust
7258         (cursorLeft): adjust
7259         (cursorRight): adjust
7260         (deleteEmptyParagraphMechanism): adjust
7261
7262         * text.C (breakParagraph): adjust
7263         (insertChar): adjust
7264         (acceptChange): adjust
7265         (rejectChange): adjust
7266         (selectNextWordToSpellcheck): adjust
7267         (changeCase): adjust
7268         (Delete): adjust
7269         (backspace): adjust
7270
7271         * lyxfind.C (SearchForward): adjust
7272         (SearchBackward): adjust
7273         (nextChange): adjust
7274
7275         * lyxcursor.C (par): adjust
7276
7277         * lyxcursor.h: store a ParagraphList::iterator instead of a
7278         Paragraph*
7279
7280         * lyx_cb.C (getPossibleLabel): adjust
7281
7282         * bufferview_funcs.C (toggleAndShow): adjust
7283
7284         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7285         (dispatch): adjust
7286
7287         * BufferView.C (removeAutoInsets): adjust
7288         (lockedInsetStoreUndo): adjust
7289
7290 2003-04-09  John Levon  <levon@movementarian.org>
7291
7292         * ToolbarBackend.C: try icon without argument
7293         if with argument fails
7294
7295 2003-04-08  John Levon  <levon@movementarian.org>
7296
7297         * ToolbarBackend.h:
7298         * ToolbarBackend.C: add getIcon(), handle tooltip,
7299         and change from "Icon" to "Item".
7300
7301 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * BufferView.C (lockInset): another bad getchar crunched
7304
7305 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7308         again)
7309
7310 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * lyxfind.C (searchForward, searchBackwards): bug 782
7313
7314 2003-04-07  John Levon  <levon@movementarian.org>
7315
7316         * paragraph.C: remove dead comment
7317
7318         * text.C: remove troublesome depth-fiddling code
7319         in leftMargin() and rightMargin() (bug 1017)
7320
7321         * text.C: fix breaking of rows in nested lists
7322         (bug 1004)
7323
7324         * text2.C (updateCounters): fix up depth values
7325         (bug 1013)
7326
7327 2003-04-07  John Levon  <levon@movementarian.org>
7328
7329         * BufferView_pimpl.C: clear message when doc finishes resizing,
7330         and after a mouse event
7331
7332         * lyxfunc.C: clear message after exiting inset
7333
7334 2003-04-07  John Levon  <levon@movementarian.org>
7335
7336         * bufferview_funcs.C: show math status not outside
7337         status in the statusbar
7338
7339 2003-04-07  John Levon  <levon@movementarian.org>
7340
7341         * lyxfunc.C: note status changed after a depth change
7342
7343 2003-04-04  Angus Leeming  <leeming@lyx.org>
7344
7345         * LaTeX.h: move AuxInfo operator==, != out of line.
7346         Remove LaTeX virtual destructor; nothing derives from it.
7347         Move operator()() out of public area and rename it startscript().
7348         Change protected for private.
7349
7350 2003-04-04  Angus Leeming  <leeming@lyx.org>
7351
7352         * lyxfunc.C:
7353         * text2.C: remove unneeded #includes.
7354
7355 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7356
7357         * text2.C (dEPM): fix the heigth of the next row
7358
7359 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7360
7361         * text.C: squashed an invalid getChar requester + some ws changes
7362
7363 2003-04-03  John Levon  <levon@movementarian.org>
7364
7365         * bufferview_funcs.h:
7366         * bufferview_funcs.C:
7367         * lyxfunc.C:
7368         * lyxtext.h:
7369         * text2.C: make getStatus work for the env depth lfuns
7370
7371 2003-04-03  John Levon  <levon@movementarian.org>
7372
7373         * bufferview_funcs.h:
7374         * bufferview_funcs.C:
7375         * lyxfunc.C:
7376         * lyxtext.h:
7377         * text2.C: parlistize decDepth(), by merging it with incDepth()
7378
7379 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * lyxrow.h: store a ParagraphList::iterator instead of a
7382         Paragraph* and adjust other class functions to suit.
7383
7384         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7385         above.
7386
7387 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7388
7389         * text2.C (setCursor): do not anchor to cursor row for the time being
7390
7391 2003-04-02  John Levon  <levon@movementarian.org>
7392
7393         * LyXAction.C:
7394         * lfuns.h:
7395         * lyx_main.C:
7396         * lyxtext.h:
7397         * text.C:
7398         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7399
7400 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * paragraph.h: make ParagraphList and ParagraphList::iterator
7403         friends of Paragraph.
7404
7405         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7406
7407         * ParagraphList.C: Use the private next_ and previous_ from
7408         Paragraph.
7409
7410 2003-04-01  John Levon  <levon@movementarian.org>
7411
7412         * ToolbarBackend.h:
7413         * ToolbarBackend.C:
7414         * Makefile.am: rename, remove defaults gunk
7415
7416         * MenuBackend.h:
7417         * MenuBackend.C: remove defaults gunk
7418
7419         * Languages.h:
7420         * Languages.C: remove defaults gunk
7421
7422         * lyx_main.h:
7423         * lyx_main.C: error out if files couldn't be found.
7424
7425 2003-04-02  John Levon  <levon@movementarian.org>
7426
7427         * text2.C: make incDepth() use parlist
7428
7429 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * undo_funcs.C (firstUndoParagraph): adjust
7432
7433         * text3.C (gotoInset): adjust
7434         (dispatch): adjust, and rewrite loop.
7435
7436         * text2.C (init): adjust, and rewrite loop.
7437         (redoParagraphs): adjust
7438         (updateInset): adjust, and rewrite loop.
7439         (deleteEmptyParagraphMechanism): adjust
7440
7441         * tabular.C (LyXTabular): adjust
7442         (SetMultiColumn): adjust
7443         (TeXRow): adjust
7444
7445         * lyxtext.[Ch] (ownerParagraph): delete function
7446         (ownerParagraphs): new function returns a ParagraphList.
7447
7448         * BufferView.C (removeAutoInsets): adjust
7449         (insertErrors): adjust
7450         (setCursorFromRow): adjust
7451
7452 2003-04-01  Angus Leeming  <leeming@lyx.org>
7453
7454         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7455         in the frontends.
7456
7457 2003-04-02  John Levon  <levon@movementarian.org>
7458
7459         * lyxtext.h:
7460         * text.C:
7461         * Makefile.am:
7462         * text_funcs.h:
7463         * text_funcs.C: make transposeChars a free function
7464
7465         * lyxrow_funcs.C: remove wrong comment
7466
7467 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * lyxtext.h: adjust
7470         * rowpainter.C: adjust
7471         * text.C: adjust
7472         * text2.C: adjust
7473         * text3.C: adjust
7474
7475         * lyxrow_funcs. [Ch]: new files
7476
7477         * lyxrow.[Ch]: remove next and previous pointers
7478         (next,previous): remove accessor functions
7479         (isParEnd): move to lyxrow_funcs
7480         (lastPos): move to lyxrow_funcs
7481         (nextRowIsAllInset): move to lyxrow_funcs
7482         (lastPrintablePos): move to lyxrow_funcs
7483         (numberOfSeparators): move to lyxrow_funcs
7484         (numberOfHfills): move to lyxrow_funcs
7485         (numberOfLabelHfills): move to lyxrow_funcs
7486         (hfillExpansion): move to lyxrow_funcs
7487
7488         * lyxfunc.C: adjust
7489
7490         * bufferview_funcs.C (toggleAndShow): adjust
7491
7492         * RowList.h: Remove class RowList from file leave just a
7493         std::list<Row>.
7494
7495         * RowList.C: delete file
7496
7497         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7498         and lyxrow_funcs.h
7499
7500 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * text3.C (cursorPrevious): adjust
7503         (cursorNext): adjust
7504         (dispatch): adjust
7505
7506         * text2.C (redoHeightOfParagraph): adjust
7507         (redoDrawingOfParagraph): adjust
7508         (setCursor): adjust
7509
7510         * text.C (breakParagraph): adjust
7511         (insertChar): adjust
7512         (backspace): adjust
7513
7514         * rowpainter.C (RowPainter): adjust
7515         (leftMargin): simplify and adjust
7516         (most rowpainter functions): adjust.
7517
7518         * rowpainter.h: store the row as RowList::iterator not as Row*
7519
7520         * lyxcursor.C (row): taka RowList::iterator as arg
7521         (irow): ditto
7522
7523         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7524         of Row*.
7525
7526 2003-04-01  Angus Leeming  <leeming@lyx.org>
7527
7528         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7529         stuff like bool Bool.
7530
7531 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7532
7533         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7534         rewrite a loop
7535
7536 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7539         RowList::iterator.
7540
7541         * lyxtext.h (rows): drop one version and leve a const variant that
7542         returns a RowList::iterator.
7543
7544 2003-03-31  Angus Leeming  <leeming@lyx.org>
7545
7546         * text.C (fill): ensure that the signature is the same as that in the
7547         header file.
7548
7549 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * text2.C (redoParagraphs): adjust
7552         (updateCounters): adjust
7553         (checkParagraph): adjust
7554         (getColumnNearX): adjust and reformat a bit.
7555
7556         * text.C (top_y): adjust
7557         (workWidth): adjust
7558         (leftMargin): adjust
7559         (prepareToPrint): adjust
7560         (getRow): adjust
7561         (getRowNearY): adjust
7562
7563         * lyxtext.h: make rowlist_ mutable.
7564
7565         * RowList.h: add const_iterator
7566         * RowList.C: adjust for RowList::const_iterator.
7567
7568         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7569         adjust.
7570
7571 2003-03-31  John Levon  <levon@movementarian.org>
7572
7573         * lyxrc.h:
7574         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7575
7576         * lyx_main.C: set default fonts from using lyx_gui funcs
7577
7578         * exporter.C: pdf_mode moved from lyxrc
7579
7580         * lyx_cb.C:
7581         * lyxfunc.C: changes from above
7582
7583 2003-03-31  John Levon  <levon@movementarian.org>
7584
7585         * lyx_main.C: fix to the last fix
7586
7587 2003-03-31  John Levon  <levon@movementarian.org>
7588
7589         * bufferlist.C: "Load original" -> "Load Original"
7590
7591         * converter.C:
7592         * exporter.C:
7593         * importer.C:
7594         * lyx_main.C:
7595         * format.C: more Alert cleanups
7596
7597 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * text2.C (removeParagraph): make it take a RowList::iterator as
7600         arg, adjust.
7601         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7602         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7603
7604         * text.C (anchor_row): make it take a RowList::iterator as arg,
7605         adjust.
7606         (computeBidiTables): make it take a const reference to Row instead
7607         of Row pointer, adjust.
7608         (leftMargin): make it take a RowList::iterator as arg, adjust.
7609         (rowBreakPoint): adjust
7610         (breakAgainOneRow): make it take a RowList::iterator as arg,
7611         adjust.
7612         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7613
7614         * bufferview_funcs.C (toggleAndShow): adjust
7615
7616 2003-03-30  John Levon  <levon@movementarian.org>
7617
7618         * Makefile.am:
7619         * BoostFormat.h:
7620         * boost-inst.C: moved to support
7621
7622         * several files: changes as a result
7623
7624 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * text2.C (LyXText): adjust.
7627         (init): adjust
7628         (removeRow): make it take a RowList::iterator as arg, adjust.
7629         (fullRebreak): adjust
7630         (deleteEmptyParagraphMechanism): adjust
7631         (clearPaint): adjust
7632         (postPaint): adjust
7633
7634         * text.C (top_y): adjust
7635         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7636         (breakAgain): make it take a RowList::iterator as arg, adjust.
7637         (breakParagraph): adjust
7638         (insertChar): adjust
7639         (backspace): adjust
7640
7641         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7642         need_break_row, and refresh_row.
7643
7644         * text3.C (dispatch): adjust
7645
7646         * text2.C (checkParagraph): adjust
7647         (setCursor): adjust
7648         (setCursorFromCoordinates): adjust
7649
7650         * text.C (top_y): adjust
7651         (workWidth): adjust
7652         (getRow): make it return a RowList::iterator, adjust
7653         (getRowNearY): make it return a RowList::iterator, adjust
7654
7655         * text2.C (init): adjust
7656         (insertRow): remove function
7657         (insertParagraph): adjust
7658         (redoParagraphs): adjust
7659         (fullRebreak): adjust
7660         (updateCounters): adjust
7661
7662         * text.C (top_y): rewrite to use RowList iterators.
7663         (top_y): adjust
7664         (setHeightOfRow): rewrite to sue RowList iterators.
7665         (appendParagraph): adjust
7666         (breakAgain): adjust
7667         (breakAgainOneRow): adjust
7668         (breakParagraph): adjust
7669         (getRow): adjust
7670         (getRowNearY): adjust, and remove commented code.
7671
7672         * lyxtext.h (firstRow): delete function
7673         (lastRow): delete function
7674         (rows): new function (const and non-const versions.)
7675         (insertRow): delete function
7676
7677         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7678
7679 2003-03-29  John Levon  <levon@movementarian.org>
7680
7681         * BufferView_pimpl.C: always update scrollbar top
7682         because pasting text when we're anchored could mean we
7683         miss an update altogether
7684
7685 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * text2.C (init): use rowlist_.end() and not 0.
7688         (insertRow): change to take a RowList::iterator as arg, adjust
7689         for this.
7690         (insertParagraph): change to take a RowList::iterator as arg,
7691         adjust for this.
7692         (redoParagraphs): remove some debug msgs.
7693
7694         * text.C (appendParagraph): change to take a RowList::iterator
7695         arg, adjust for this.
7696         (breakAgain): add an assert
7697         (breakAgainOneRow): ditto
7698
7699 2003-03-29  John Levon  <levon@movementarian.org>
7700
7701         * text2.C: do not clear selection after inc/decDepth
7702         (bug 550)
7703
7704 2003-03-29  John Levon  <levon@movementarian.org>
7705
7706         * BufferView.C:
7707         * buffer.C: fix broken strerrors according to Lars
7708
7709 2003-03-29  John Levon  <levon@movementarian.org>
7710
7711         * converters.C: more Alert cleanups
7712
7713 2003-03-29  John Levon  <levon@movementarian.org>
7714
7715         * bufferview_funcs.C: remove pointless Alert
7716
7717         * buffer.C: fix confusing error message when
7718         a template is chmoded 000
7719
7720 2003-03-29  John Levon  <levon@movementarian.org>
7721
7722         * BufferView.C:
7723         * BufferView.h:
7724         * BufferView_pimpl.C: Alert fixes
7725
7726         * Makefile.am:
7727         * tabular.C:
7728         * tabular-old.C: remove unused table compat reading
7729
7730 2003-03-29  John Levon  <levon@movementarian.org>
7731
7732         * BufferView.C:
7733         * buffer.C:
7734         * lyx_cb.h:
7735         * lyx_cb.C: more Alert cleanups
7736
7737         * lyxfunc.C: don't allow chktex if not latex document
7738
7739 2003-03-29  John Levon  <levon@movementarian.org>
7740
7741         * lyx_cb.C:
7742         * BufferView.C:
7743         * buffer.C: warnings pushed down from support/,
7744         kill err_alert
7745
7746 2003-03-29  John Levon  <levon@movementarian.org>
7747
7748         * lyxfunc.C: safety check for C-r (revert)
7749
7750 2003-03-29  John Levon  <levon@movementarian.org>
7751
7752         * bufferlist.h:
7753         * bufferlist.C: several UI fixes using Alert::prompt.
7754         Fix the pointless looping quit code. Fix stupid revert
7755         behaviour (bug 938)
7756
7757         * lyxvc.h:
7758         * lyxvc.C:
7759         * lyx_cb.C: use Alert::prompt
7760
7761         * lyx_main.C: remove a silly question
7762
7763         * lyxfunc.C: remove a couple of silly questions,
7764         use Alert::prompt
7765
7766 2003-03-28  John Levon  <levon@movementarian.org>
7767
7768         * text2.C: fix bug 974 (End on empty par)
7769
7770 2003-03-28  John Levon  <levon@movementarian.org>
7771
7772         * BufferView_pimpl.C:
7773         * LyXAction.C:
7774         * lfuns.h: remove do-nothing math greek lfuns
7775
7776 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * lyxgluelength.h (isValidGlueLength): add default arg on
7779         parameter 2. Remove default arg from friend in class.
7780
7781         * lyxlength.h (isValidLength): add default arg on parameter 2.
7782         Remove default arg from friend in class.
7783
7784         * text2.C (LyXText): adjust, initialize refresh_row.
7785         (init): adjust
7786         (removeRow): adjust
7787         (insertRow): adjust
7788         (insertParagraph): adjst
7789         (redoParagraphs): adjust
7790         (fullRebreak): adjust
7791         (updateCounters): adjust
7792         (deleteEmptyParagraphMechanism): first attempt at fixing a
7793         crashing bug.
7794
7795         * text.C (top_y): adjust
7796         (setHeightOfRow): adjust
7797         (getRow): adjust
7798         (getRowNearY): adjust
7799
7800         * lyxtext.h: include RowList.h
7801         (~LyXText): not needed anymore, deleted.
7802         (firstRow): modify for RowList
7803         (lastRow): new function
7804         Delete firstrow and lastrow class variables, add a Rowlist
7805         rowlist_ class variable.
7806
7807         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7808         paragraph is empty.
7809
7810         * RowList.C (insert): fix case where it == begin().
7811
7812 2003-03-26  Angus Leeming  <leeming@lyx.org>
7813
7814         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7815         the thesaurus dialog.
7816
7817 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7820
7821         * RowList.[Ch]: new files
7822
7823         * ParagraphList.C (erase): handle the case where it == begin
7824         correctly.
7825
7826 2003-03-25  John Levon  <levon@movementarian.org>
7827
7828         * Makefile.am:
7829         * aspell_local.h:
7830         * aspell.C: add new aspell support
7831
7832         * lyxrc.h:
7833         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7834         have it accessible.
7835
7836 2003-03-25  Angus Leeming  <leeming@lyx.org>
7837
7838         * lfuns.h:
7839         * LyXAction.C (init): new LFUN_INSET_INSERT.
7840
7841         * BufferView_pimpl.C (dispatch): split out part of the
7842         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7843
7844         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7845         LFUN_INSET_APPLY.
7846
7847 2003-03-25  Angus Leeming  <leeming@lyx.org>
7848
7849         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7850
7851 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7852
7853         * text2.C:
7854         * text3.C: remove useless row->height(0)
7855
7856 2003-03-25  John Levon  <levon@movementarian.org>
7857
7858         * lyxtext.h:
7859         * text2.C:
7860         * text3.C: rename the refreshing stuff to better names
7861
7862 2003-03-24  John Levon  <levon@movementarian.org>
7863
7864         * BufferView_pimpl.h:
7865         * BufferView_pimpl.C: update layout choice on a mouse
7866         press/release
7867
7868 2003-03-23  John Levon  <levon@movementarian.org>
7869
7870         * Makefile.am: fix commandtags.h reference
7871
7872 2003-03-22  John Levon  <levon@movementarian.org>
7873
7874         * BufferView_pimpl.C:
7875         * lyxtext.h:
7876         * rowpainter.C:
7877         * rowpainter.h:
7878         * text.C:
7879         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7880
7881 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7882
7883         * lyxtext.h:
7884         * text.C: take the rtl methods out of line
7885
7886 2003-03-21 André Pönitz <poenitz@gmx.net>
7887
7888         * metricsinfo.[Ch]: new files containing structures to be passed around
7889         during the two-phase-drawing...
7890
7891 2003-03-21 André Pönitz <poenitz@gmx.net>
7892
7893         * lyxtextclass.C: read 'environment' tag.
7894
7895 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7896
7897         * text2.C (removeRow): fix bug 964
7898
7899 2003-03-20  John Levon  <levon@movementarian.org>
7900
7901         * rowpainter.C:
7902         * text.C:
7903         * text2.C: paint cleanups. Inset::update() dropped font
7904         parameter
7905
7906 2003-03-19  John Levon  <levon@movementarian.org>
7907
7908         * lyxfunc.C: only fitcursor/markDirty if available()
7909
7910 2003-03-19  John Levon  <levon@movementarian.org>
7911
7912         * commandtags.h: rename to ...
7913
7914         * lfuns.h: ... this, and renumber / cleanup
7915
7916 2003-03-19  John Levon  <levon@movementarian.org>
7917
7918         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7919         fit the cursor after an lfun
7920
7921         * BufferView.h:
7922         * BufferView.C:
7923         * BufferView_pimpl.h:
7924         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7925
7926         * LyXAction.C: layout-character should have ReadOnly
7927
7928         * ParagraphParameters.C:
7929         * buffer.C:
7930         * bufferview_funcs.C:
7931         * lyx_cb.C:
7932         * lyxfind.C:
7933         * lyxtext.h:
7934         * text.C:
7935         * text2.C:
7936         * text3.C:
7937         * undo_funcs.C: changes from above
7938
7939 2003-03-18  John Levon  <levon@movementarian.org>
7940
7941         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7942         remove it from update()
7943
7944         * lyxfunc.C: update layout choice after an lfun
7945
7946         * text3.C: remove extra updateLayoutChoice()s
7947
7948 2003-03-18  John Levon  <levon@movementarian.org>
7949
7950         * text.C: top_y change means full repaint, fix
7951         a drawing bug with cursor movement
7952
7953 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7954
7955         * lyxtext.h:
7956         * text.C:
7957         * text2.C: anchor row on setCursor
7958
7959 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7960
7961         * lyxtext.h: remove almost all mutable keywords
7962         * text.C:
7963         * text2.C:
7964         * text3.C: remove const keywords accordingly
7965
7966 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7969         anon namespace
7970         (TeXEnvironment): ditto
7971         (TeXOnePar): ditto
7972
7973 2003-03-17  John Levon  <levon@movementarian.org>
7974
7975         * text.C (rowBreakPoint): remove attempt to fix displayed
7976         math insets inside a manual label
7977
7978 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * lyxtext.h: remove BufferView* as first arg from almost all class
7981         functions.
7982         * other files: adjust.
7983
7984 2003-03-17  John Levon  <levon@movementarian.org>
7985
7986         * lyxtext.h:
7987         * undo_funcs.C:
7988         * text2.C: more paint cleanups
7989
7990         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7991
7992         * rowpainter.h:
7993         * rowpainter.C: remove "smart" background painting code
7994
7995 2003-03-16  John Levon  <levon@movementarian.org>
7996
7997         * lyxtext.h:
7998         * text.C:
7999         * text2.C:
8000         * text3.C: add helper functions for setting refresh_row/y
8001
8002 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8003
8004         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8005         newline inset which *can* get inserted in the pass_thru layouts.
8006         This is primarily for literate documents.
8007
8008 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8009
8010         * buffer.C: increment LYX_FORMAT to 223
8011
8012 2003-03-14 André Pönitz <poenitz@gmx.net>
8013
8014         * textclass.h: prepare for environment handling, ws changes
8015         * lyxlayout.C: read latexheader and latexfooter tags
8016
8017 2003-03-14  John Levon  <levon@movementarian.org>
8018
8019         * text2.C: rewrite ::status() a bit
8020
8021 2003-03-13  John Levon  <levon@movementarian.org>
8022
8023         * lyxtext.h: add some docs
8024
8025 2003-03-13  John Levon  <levon@movementarian.org>
8026
8027         * lyxtext.h:
8028         * text.C:
8029         * text2.C:
8030         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8031
8032 2003-03-13  John Levon  <levon@movementarian.org>
8033
8034         * text3.C: fix appendix redrawing
8035
8036 2003-03-13  John Levon  <levon@movementarian.org>
8037
8038         * text.C (setHeightOfRow):
8039         * rowpainter.h:
8040         * rowpainter.C: make appendix mark have the text
8041           "Appendix" so the user knows what it is
8042
8043         * LColor.h:
8044         * LColor.C: s/appendixline/appendix/ from above
8045
8046 2003-03-13  John Levon  <levon@movementarian.org>
8047
8048         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8049
8050         * text.C: fix a getChar(pos) bug properly
8051
8052 2003-03-13  Angus Leeming  <leeming@lyx.org>
8053
8054         * commandtags.h:
8055         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8056         Probably only temporary. Let's see how things pan out.
8057
8058         * BufferView.C (unlockInset):
8059         * BufferView_pimpl.C (fitCursor):
8060         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8061
8062         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8063         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8064
8065         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8066         new functions that convert ParagraphParameters to and from a string.
8067
8068         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8069         BufferView::Pimpl's dispatch.
8070         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8071
8072 2003-03-13 André Pönitz <poenitz@gmx.net>
8073
8074         * lyxfunc.C:
8075         * text3.C:
8076         * factory.C: make it aware of InsetEnv
8077
8078 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * text2.C (setCursor): never ask for one past last
8081         (setCursor): add some debugging messages.
8082
8083         * text.C (singleWidth): never ask for one past last
8084         (singleWidth): ditto
8085         (leftMargin): ditto
8086         (rightMargin): ditto
8087         (rowBreakPoint): ditto
8088         (setHeightOfRow): ditto
8089         (prepareToPrint): ditto
8090
8091         * rowpainter.C (paintBackground): never ask for one past last
8092         (paintText): never ask for one past last
8093
8094         * paragraph_pimpl.C (getChar): make the assert stricter, never
8095         allow the one past last pos to be taken
8096
8097         * paragraph.C (getChar): ws changes only
8098
8099         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8100         (numberOfSeparators): ditto
8101         (numberOfHfills): ditto
8102
8103 2003-03-12  John Levon  <levon@movementarian.org>
8104
8105         * author.h:
8106         * author.C:
8107         * bufferparams.h:
8108         * bufferparams.C:
8109         * paragraph_funcs.C: fix per-buffer authorlists
8110
8111 2003-03-12  John Levon  <levon@movementarian.org>
8112
8113         * text.C: fix newline in right address
8114
8115 2003-03-12  Angus Leeming  <leeming@lyx.org>
8116
8117         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8118         duplicate those in LyXFunc::dispatch.
8119
8120         * commandtags.h:
8121         * LyXAction.C:
8122         * ToolbarDefaults.C:
8123         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8124         Add LFUN_FONTFREE_UPDATE.
8125
8126         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8127         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8128
8129         * bufferview_func.[Ch]: several new functions to facilliate
8130         transfer of data to and from the character dialog.
8131
8132 2003-03-12  John Levon  <levon@movementarian.org>
8133
8134         * buffer.C:
8135         * paragraph.h:
8136         * paragraph.C:
8137         * paragraph_funcs.C:
8138         * paragraph_pimpl.C:
8139         * sgml.C:
8140         * tabular.C:
8141         * text.C:
8142         * text3.C: remove META_NEWLINE in favour of an inset
8143
8144         * rowpainter.h:
8145         * rowpainter.C: remove paintNewline (done by inset)
8146
8147 2003-03-12  John Levon  <levon@movementarian.org>
8148
8149         * paragraph_pimpl.C: complain about bad getChar()s
8150         for a while at least
8151
8152 2003-03-12  John Levon  <levon@movementarian.org>
8153
8154         * buffer.h:
8155         * buffer.C: move paragraph read into a separate function,
8156         a little renaming to reflect that.
8157
8158         * bufferparams.h:
8159         * bufferparams.C: remove the author_ids map, not necessary now
8160
8161         * factory.h:
8162         * factory.C: moved Buffer::readInset to here
8163
8164         * paragraph_funcs.h:
8165         * paragraph_funcs.C: readParagraph free function moved from
8166         buffer.C
8167
8168         * tabular.C: name change
8169
8170 2003-03-12  John Levon  <levon@movementarian.org>
8171
8172         * buffer.C:
8173         * ParagraphParameters.C: move par params input to
8174         a read() method
8175
8176         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8177         behave like a normal read from the stream wrt reading
8178         a line vs. a \\token
8179
8180 2003-03-12  John Levon  <levon@movementarian.org>
8181
8182         * paragraph.C:
8183         * ParagraphParameters.h:
8184         * ParagraphParameters.C: move output code to a
8185         ::write() method
8186
8187 2003-03-12  John Levon  <levon@movementarian.org>
8188
8189         * BufferView.C (insertLyXFile):
8190         * buffer.h:
8191         * buffer.C:
8192         * tabular.C: use a parlist iterator for creating the
8193           document.
8194
8195 2003-03-12  John Levon  <levon@movementarian.org>
8196
8197         * buffer.C: make current_change static local not
8198           static file-scope
8199
8200 2003-03-12  John Levon  <levon@movementarian.org>
8201
8202         * buffer.C: fix insertStringAsLines for change tracking
8203
8204 2003-03-12  John Levon  <levon@movementarian.org>
8205
8206         * BufferView.C:
8207         * tabular.C:
8208         * buffer.h:
8209         * buffer.C:
8210         * bufferparams.h:
8211         * bufferparams.C: move author list into params. Rename some
8212           functions. Move the header reading into a separate token
8213           loop. Move the header token reading into BufferParams.
8214
8215 2003-03-12  John Levon  <levon@movementarian.org>
8216
8217         * changes.C: put debug inside lyxerr.debugging() checks
8218
8219 2003-03-11 André Pönitz <poenitz@gmx.net>
8220
8221         * factory.C: make it aware of InsetHFill
8222
8223 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * buffer.C (latexParagraphs): move function from here...
8226         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8227         args.
8228
8229 2003-03-10  Angus Leeming  <leeming@lyx.org>
8230
8231         * LyXAction.C (init): fix bug in poplating array with multiple entries
8232         with the same LFUN (spotted by JMarc).
8233
8234 2003-03-10  John Levon  <levon@movementarian.org>
8235
8236         * text.C:
8237         * text2.C: move getColumnNearX() near its
8238         only call site
8239
8240 2003-03-10  John Levon  <levon@movementarian.org>
8241
8242         * text.C: fix break before a minipage
8243
8244 2003-03-10  John Levon  <levon@movementarian.org>
8245
8246         * text.C: fix the last commit
8247
8248 2003-03-09  John Levon  <levon@movementarian.org>
8249
8250         * lyxtext.h:
8251         * text.C:
8252         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8253         bug 365 (don't break before insets unless needed). Don't
8254         return a value > last under any circumstances.
8255
8256 2003-03-09  Angus Leeming  <leeming@lyx.org>
8257
8258         * BufferView_pimpl.C (trackChanges, dispatch): call
8259         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8260
8261 2003-03-09  Angus Leeming  <leeming@lyx.org>
8262
8263         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8264         than Dialogs::showAboutlyx().
8265
8266 2003-03-09  Angus Leeming  <leeming@lyx.org>
8267
8268         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8269         than Dialogs::showTabularCreate().
8270
8271 2003-03-09  John Levon  <levon@movementarian.org>
8272
8273         * lyxtext.h:
8274         * text.C:
8275         * text2.C: 3rd arg to nextBreakPoint was always the same.
8276           Use references.
8277
8278 2003-03-08  John Levon  <levon@movementarian.org>
8279
8280         * lyxrow.C:
8281         * paragraph.C:
8282         * paragraph.h:
8283         * rowpainter.C:
8284         * text.C:
8285         * text2.C: Remove the "main" bit from the "main body"
8286           notion.
8287
8288 2003-03-08  John Levon  <levon@movementarian.org>
8289
8290         * text.C (leftMargin): The left margin of an empty
8291         manual label paragraph should not include the label width
8292         string length.
8293
8294         * text.C (prepareToPrint): don't attempt to measure hfills
8295         for empty manual label paragraphs - the answer should be 0
8296
8297 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8298
8299         * CutAndPaste.C: remove commented code and reindent.
8300
8301 2003-03-08  John Levon  <levon@movementarian.org>
8302
8303         * lyxfunc.h:
8304         * lyxfunc.C: move reloadBuffer()
8305
8306         * BufferView.h:
8307         * BufferView.C: to here
8308
8309         * lyxvc.C: add comment
8310
8311         * vc-backend.h:
8312         * vc-backend.C: call bv->reload() to avoid
8313           getStatus() check on MENURELOAD
8314
8315 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8318         to an old format .dep file.
8319
8320 2003-03-07  Angus Leeming  <leeming@lyx.org>
8321
8322         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8323         when the LFUN_MOUSE_RELEASE should have been handled by
8324         inset->localDispatch.
8325
8326 2003-03-07  Angus Leeming  <leeming@lyx.org>
8327
8328         * BufferView_pimpl.C (dispatch):
8329         * LyXAction.C (init):
8330         * ToolbarDefaults.C (init):
8331         * commandtags.h:
8332         * lyxfunc.C (getStatus):
8333         remove LFUN_INSET_GRAPHICS.
8334
8335         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8336
8337 2003-03-07  Angus Leeming  <leeming@lyx.org>
8338
8339         * commandtags.h:
8340         * LyXAction.C (init):
8341         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8342
8343         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8344
8345         * commandtags.h:
8346         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8347
8348         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8349         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8350
8351 2003-03-07  Angus Leeming  <leeming@lyx.org>
8352
8353         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8354         remove "ert".
8355
8356 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * ParagraphList.C (front): new function
8359         (back): implement
8360
8361 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8362
8363         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8364         and top_row_offset_. removed var first_y.
8365         * text.C (top_y):
8366         * text2.C (LyXText, removeRow):
8367         * text3.C:
8368         * BufferView_pimpl.C:
8369         use these methods instead of using first_y
8370
8371 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * text2.C (pasteSelection): adjust for checkPastePossible
8374
8375         * CutAndPaste.C: remove Paragraph * buf and replace with
8376         ParagraphList paragraphs.
8377         (DeleteBuffer): delete
8378         (cutSelection): change the tc type to textclass_type
8379         (copySelection): change the tc type to textclass_type
8380         (copySelection): adjust for ParagraphList
8381         (pasteSelection): change the tc type to textclass_type
8382         (pasteSelection): adjust for Paragraphlist
8383         (nrOfParagraphs): simplify for ParagraphList
8384         (checkPastePossible): simplify for ParagraphList
8385         (checkPastePossible): remove unused arg
8386
8387         * ParagraphList.C (insert): handle the case where there are no
8388         paragraphs yet.
8389
8390         * CutAndPaste.h: make CutAndPaste a namespace.
8391
8392         * text3.C (dispatch): adjust
8393
8394         * text.C (breakParagraph): add a ParagraphList as arg
8395
8396         * paragraph_funcs.C (breakParagraph): change to take a
8397         BufferParams and a ParagraphList as args.
8398         (breakParagraphConservative): ditto
8399         (mergeParagraph): ditto
8400         (TeXDeeper): add a ParagraphList arg
8401         (TeXEnvironment): ditto
8402         (TeXOnePar): ditto
8403
8404         * buffer.C (readLyXformat2): adjust
8405         (insertStringAsLines): adjust
8406         (latexParagraphs): adjust
8407
8408         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8409         (cutSelection): adjust
8410         (pasteSelection): adjust
8411
8412         * BufferView_pimpl.C (insertInset): adjust
8413
8414 2003-03-05  Angus Leeming  <leeming@lyx.org>
8415
8416         * commandtags.h:
8417         * LyXAction.C (init):
8418         * BufferView_pimpl.C (dispatch):
8419         * lyxfunc.C (getStatus):
8420         remove LFUN_CHILD_INSERT.
8421
8422         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8423
8424 2003-03-05  Angus Leeming  <leeming@lyx.org>
8425
8426         * commandtags.h:
8427         * LyXAction.C (init):
8428         * src/factory.C (createInset):
8429         * lyxfunc.C (getStatus):
8430         * text3.C (dispatch):
8431         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8432
8433         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8434
8435 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * ParagraphList.C (insert): handle insert right before end()
8438         (erase): fix cases where it can be first or last paragraph.
8439
8440 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8443         Paragraph::next and Paragraph::previous
8444         (TeXOnePar): ditto
8445
8446         * text.C (breakParagraph): adjust
8447
8448         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8449         BufferParams& as arg.
8450         (breakParagraph): use ParagraphList::insert
8451         (breakParagraphConservative): take a Buffer* instead of a
8452         BufferParams& as arg.
8453         (breakParagraphConservative): use ParagraphList::insert.
8454
8455         * buffer.C (insertStringAsLines): un-const it
8456         (insertStringAsLines): adjust
8457
8458         * ParagraphList.C (insert): new function
8459
8460         * CutAndPaste.C (pasteSelection): adjust
8461
8462         * text.C (backspace): adjust
8463
8464         * tabular.C (SetMultiColumn): adjust
8465
8466         * CutAndPaste.C (cutSelection): adjust
8467         (pasteSelection): adjust
8468
8469         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8470         Buffer const * as arg
8471
8472         * ParagraphList.C (erase): new function
8473         * paragraph_funcs.C (mergeParagraph): use it
8474         (mergeParagraph): make it take a Buffer* instead of a
8475         BufferParams* as arg
8476
8477         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8478         as arg
8479         (breakParagraphConservative): ditto
8480
8481         * paragraph.h: remove the breakParagraph friend
8482
8483         * paragraph.C (eraseIntern): new function
8484         (setChange): new function
8485
8486         * paragraph_funcs.C (mergeParagraph): make it take a
8487         ParagraphList::iterator instead of a Paragraph *, adjust
8488         accordingly.
8489
8490         * paragraph.h: move an #endif so that the change tracking stuff
8491         also works in the NO_NEXT case.
8492
8493 2003-03-04  Angus Leeming  <leeming@lyx.org>
8494
8495         * commandtags.h:
8496         * LyXAction.C: new LFUN_INSET_MODIFY.
8497
8498         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8499         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8500
8501 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * several files: ws changes only
8504
8505         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8506         (TeXEnvironment): ditto
8507         (TeXDeeper): ditto
8508
8509         * buffer.C (makeLaTeXFile): adjust
8510         (latexParagraphs): make it take ParagraphList::iterator as args
8511
8512 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * buffer.C (latexParagraphs): adjust
8515
8516         * paragraph.C (TeXOnePar): move function...
8517         (optArgInset): move function...
8518         (TeXEnvironment): move function...
8519         * paragraph_pimpl.C (TeXDeeper): move function...
8520         * paragraph_funcs.C: ...here
8521
8522         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8523
8524 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * buffer.C (readInset): remove compability code for old Figure and
8527         InsetInfo insets
8528
8529 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * buffer.C: ws changes
8532         (readInset):
8533
8534         * BufferView_pimpl.C: ditto
8535         * author.C: ditto
8536         * buffer.h: ditto
8537         * bufferlist.h: ditto
8538         * changes.h: ditto
8539         * lyxfunc.C: ditto
8540
8541 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8542
8543         * converter.[Ch]: split into itself +
8544         * graph.[Ch]
8545         * format.[Ch]
8546         * Makefile.am: += graph.[Ch] + format.[Ch]
8547         * MenuBackend.C
8548         * buffer.C
8549         * exporter.C
8550         * importer.C
8551         * lyx_main.C
8552         * lyxfunc.C
8553         * lyxrc.C: added #include "format.h"
8554
8555 2003-02-27  Angus Leeming  <leeming@lyx.org>
8556
8557         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8558           a label.
8559
8560         * factory.C (createInset): add "label" to the factory.
8561
8562         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8563           string and do no more.
8564
8565 2003-02-27  Angus Leeming  <leeming@lyx.org>
8566
8567         * commandtags.h:
8568         * LyXAction.C (init):
8569         * factory.C (createInset):
8570         * BufferView_pimpl.C (dispatch):
8571           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8572
8573         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8574
8575         * lyxfunc.C (dispatch):
8576         * text3.C (dispatch): pass name to params2string.
8577
8578 2003-02-26  Angus Leeming  <leeming@lyx.org>
8579
8580         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8581           blocks together.
8582           Rearrange the ~includes. Strip out the unnecessary ones.
8583
8584         * factory.C (createInset): reformat.
8585           create new insets for the various LFUN_XYZ_APPLY lfuns.
8586
8587 2003-02-26  John Levon  <levon@movementarian.org>
8588
8589         * lyxrow.h:
8590         * lyxrow.C: add isParStart,isParEnd helpers
8591
8592         * paragraph.h: make isInserted/DeletedText take refs
8593
8594         * paragraph_funcs.h:
8595         * paragraph_funcs.C: remove #if 0'd code
8596
8597         * lyxtext.h:
8598         * text3.C:
8599         * text2.C:
8600         * text.C: use lyxrow helpers above.
8601           Move draw and paint routines to RowPainter.
8602           Make several methods use refs not pointers.
8603           Make backgroundColor() const.
8604           Add markChangeInDraw(), isInInset().
8605           Merge changeRegionCase into changeCase.
8606           Make workWidth() shouldn't-happen code into an Assert.
8607
8608         * rowpainter.h:
8609         * rowpainter.C: new class for painting a row.
8610
8611         * vspace.h:
8612         * vspace.C: make inPixels take a ref
8613
8614 2003-02-26  Angus Leeming  <leeming@lyx.org>
8615
8616         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8617         LFUN_REF_APPLY.
8618
8619 2003-02-25  John Levon  <levon@movementarian.org>
8620
8621         * ispell.C: give the forked command a more accurate name
8622
8623 2003-02-22  John Levon  <levon@movementarian.org>
8624
8625         * toc.h:
8626         * toc.C: make TocItem store an id not a Paragraph *
8627           (bug #913)
8628
8629 2003-02-21  Angus Leeming  <leeming@lyx.org>
8630
8631         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8632           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8633           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8634           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8635           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8636           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8637
8638         * BufferView_pimpl.C (dispatch):
8639         * LyXAction.C (init):
8640         * factory.C (createInset):
8641         * lyxfunc.C (getStatus, dispatch):
8642         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8643
8644 2003-02-21  Angus Leeming  <leeming@lyx.org>
8645
8646         * BufferView_pimpl.C (MenuInsertLyXFile):
8647         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8648         * lyxfunc.C (menuNew, open, doImport):
8649           no longer pass a LyXView & to fileDlg.
8650
8651 2003-02-21  Angus Leeming  <leeming@lyx.org>
8652
8653         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8654         * LyXAction.C: change, BIBKEY to BIBITEM.
8655         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8656         Change InsetBibKey to InsetBibitem.
8657         Change BIBKEY_CODE to BIBITEM_CODE.
8658         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8659         * factory.C: replace insetbib.h with insetbibitem.h.
8660         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8661         * paragraph.C: replace insetbib.h with insetbibitem.h.
8662         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8663         Change bibkey() to bibitem().
8664         * text.C: remove insetbib.h.
8665         * text2.C: replace insetbib.h with insetbibitem.h.
8666         change bibkey() to bibitem().
8667         * text3.C: remove insetbib.h.
8668         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8669
8670 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8671
8672         * lyxrc.C (output): enclose user email in quotes (in case there are
8673         several words)
8674
8675 2003-02-18  John Levon  <levon@movementarian.org>
8676
8677         * buffer.h: add std::
8678
8679 2003-02-17  John Levon  <levon@movementarian.org>
8680
8681         * SpellBase.h:
8682         * ispell.h:
8683         * ispell.C:
8684         * pspell.h:
8685         * pspell.C: reworking. Especially in ispell, a large
8686           number of clean ups and bug fixes.
8687
8688         * lyxfunc.C: fix revert to behave sensibly
8689
8690 2003-02-17 André Pönitz <poenitz@gmx.net>
8691
8692         * LyXAction.C:
8693         * commandtags.h: new LFUN_INSERT_BIBKEY
8694
8695         * layout.h:
8696         * lyxlayout.C:
8697         * buffer.C:
8698         * factory.C:
8699         * text.C:
8700         * text2.C:
8701         * text3.C:
8702         * paragraph.[Ch]:
8703         * paragraph_func.C: remove special bibkey handling
8704
8705 2003-02-17  John Levon  <levon@movementarian.org>
8706
8707         * text.C (Delete): fix case where delete at the end of
8708           the very first paragraph would not merge the pars
8709
8710 2003-02-17  John Levon  <levon@movementarian.org>
8711
8712         * lyxrow.C: fix lastPrintablePos()
8713
8714 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * bufferparams.C (writeLaTeX): add a std:here
8717
8718         * buffer.C: and remove a using directive there
8719
8720 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * buffer.C (makeLaTeXFile): move the code that generates the
8723           preamble...
8724
8725         * bufferparams.C (writeLaTeX): ... in this new method
8726
8727         * LaTeXFeatures.C (getEncodingSet): make const
8728           (getLanguages): make const
8729
8730         * MenuBackend.C (binding): returns the binding associated to this
8731           action
8732           (add): sets the status of each item by calling getStatus. Adds
8733           some intelligence.
8734           (read): add support for OptSubMenu
8735           (expand): remove extra separator at the end of expanded menu
8736
8737 2003-02-15  John Levon  <levon@movementarian.org>
8738
8739         * BufferView.C:
8740         * BufferView_pimpl.C:
8741         * bufferlist.h:
8742         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8743           inset code that had no actual effect. Remove unneeded status
8744           code.
8745
8746 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8749           in preamble
8750
8751 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8752
8753         * text.C (drawLengthMarker): also draw an arrow marker for
8754           symbolic lengths (medskip...)
8755
8756 2003-02-14  John Levon  <levon@movementarian.org>
8757
8758         * tabular.h:
8759         * tabular.C: better method names
8760
8761 2003-02-14  John Levon  <levon@movementarian.org>
8762
8763         * BufferView_pimpl.C:
8764         * bufferlist.C:
8765         * buffer.C:
8766         * converter.C:
8767         * lyx_cb.C:
8768         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8769           it's a more accurate name. Remove some pointless uses.
8770
8771 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8772
8773         * text2.C (LyXText): change order of initilizers to shut off
8774           warnings
8775
8776 2003-02-14  John Levon  <levon@movementarian.org>
8777
8778         * buffer.C: use ParIterator for getParFromID()
8779
8780         * paragraph.h:
8781         * paragraph.C:
8782         * paragraph_pimpl.h:
8783         * paragraph_pimpl.C: remove unused getParFromID()
8784
8785 2003-02-14  John Levon  <levon@movementarian.org>
8786
8787         * buffer.C: remove some very old #if 0'd parse code
8788
8789 2003-02-13  John Levon  <levon@movementarian.org>
8790
8791         * text.h:
8792         * text.C:
8793         * text2.C: move hfillExpansion(), numberOfSeparators(),
8794           rowLast(), rowLastPrintable(), numberofHfills(),
8795           numberOfLabelHfills() ...
8796
8797         * lyxrow.h:
8798         * lyxrow.C: ... to member functions here.
8799
8800         * paragraph.h:
8801         * paragraph.C:
8802         * lyxtext.h:
8803         * text.C: remove LyXText::beginningOfMainBody(), and call
8804           p->beginningOfMainBody() directly. Move the check for
8805           LABEL_MANUAL into the latter.
8806
8807         * text.h:
8808         * text.C:
8809         * text2.C:
8810         * vspace.C:
8811         * BufferView.h:
8812         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8813
8814         * text.h:
8815         * text.C:
8816         * text2.C:
8817         * text3.C:
8818         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8819           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8820
8821 2003-02-13  John Levon  <levon@movementarian.org>
8822
8823         * CutAndPaste.C: remove debug
8824
8825 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8826
8827         * paragraph.C (asString): remove two unused variables
8828
8829         * lyxtextclass.C (readTitleType):
8830           (Read):
8831           (LyXTextClass): handle new members titletype_ and titlename_
8832
8833         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8834
8835 2003-02-09  John Levon  <levon@movementarian.org>
8836
8837         * buffer.h:
8838         * buffer.C: replace hand-coded list with a map for the dep clean
8839
8840 2003-02-08  John Levon  <levon@movementarian.org>
8841
8842         * LaTeX.C: consolidate code into showRunMessage() helper
8843
8844 2003-02-08  John Levon  <levon@movementarian.org>
8845
8846         * lyxfind.C:
8847         * lyxtext.h:
8848         * text2.C:
8849         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8850           and pass the size in explicitly
8851
8852         * BufferView_pimpl.h:
8853         * BufferView_pimpl.C:
8854         * BufferView.h:
8855         * BufferView.C: add getCurrentChange()
8856
8857         * BufferView_pimpl.h:
8858         * BufferView_pimpl.C: handle change lfuns
8859
8860         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8861           for changes. Mark pasted paragraphs as new.
8862
8863         * support/lyxtime.h:
8864         * support/lyxtime.C:
8865         * DepTable.C: abstract time_t as lyx::time_type
8866
8867         * LColor.h:
8868         * LColor.C: add colours for new text, deleted text, changebars
8869
8870         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8871           package use "usenames" option.
8872
8873         * commandtags.h:
8874         * lyxfunc.C:
8875         * LyXAction.C: add change lfuns
8876
8877         * Makefile.am:
8878         * author.h:
8879         * author.C: author handling
8880
8881         * buffer.h:
8882         * buffer.C: add a per-buffer author list, with first entry as
8883           current author. Handle new .lyx tokens for change tracking. Output
8884           author list to .lyx file. Output dvipost stuff to .tex preamble.
8885           Bump lyx format to 222.
8886
8887         * bufferlist.h:
8888         * bufferlist.C: add setCurrentAuthor() to reset current author details
8889           in all buffers.
8890
8891         * bufferparams.h:
8892         * bufferparams.C: add param for tracking
8893
8894         * bufferview_funcs.C: output change info in minibuffer
8895
8896         * Makefile.am:
8897         * changes.h:
8898         * changes.C: add change-tracking structure
8899
8900         * debug.h:
8901         * debug.C: add CHANGES debug flag
8902
8903         * lyxfind.h:
8904         * lyxfind.C: add code for finding the next change piece
8905
8906         * lyxrc.h:
8907         * lyxrc.C: add user_name and user_email
8908
8909         * lyxrow.h:
8910         * lyxrow.C: add a metric for the top of the text line
8911
8912         * lyxtext.h:
8913         * text.C: implement accept/rejectChange()
8914
8915         * lyxtext.h:
8916         * text.C: paint changebars. Paint new/deleted text in the chosen
8917         colours. Strike through deleted text.
8918
8919         * paragraph.h:
8920         * paragraph.C:
8921         * paragraph_pimpl.h:
8922         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8923           in the current change to the insert functions. Rework erase to
8924           mark text as deleted, adding an eraseIntern() and a range-based
8925           erase(). Implement per-paragraph change lookup and
8926           accept/reject.
8927
8928         * paragraph_funcs.C: Fixup paste for change tracking.
8929
8930         * tabular.C: mark added row/columns as new.
8931
8932         * text.C: fix rowLast() to never return -1. Don't allow
8933           spellchecking of deleted text. Track transpose changes. Don't
8934           allow paragraph break or merge where appropriate.
8935
8936         * text2.C: leave cursor at end of selection after a cut.
8937
8938 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8939
8940         * text.C (getLengthMarkerHeight):
8941         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8942         visible on screen too.
8943
8944 2003-02-07  John Levon  <levon@movementarian.org>
8945
8946         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8947
8948 2003-02-05  Angus Leeming  <leeming@lyx.org>
8949
8950         * lyxserver.C (read_ready): revert my patch of 11 September last year
8951         as it sends PC cpu through the roof. Presumably this means that
8952         the lyxserver will no longer run on an Alpha...
8953
8954 2003-01-30  Angus Leeming  <leeming@lyx.org>
8955
8956         * factory.C (createInset): create an InsetCommandParam of type "index"
8957         and use it to 'do the right thing'.
8958
8959         * text2.C (getStringToIndex): ensure that cursor position is always
8960         reset to the reset_cursor position.
8961
8962 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8963
8964         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8965         disabled.
8966
8967 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8968
8969         * bufferview.C:
8970         * lyxcb.C:
8971         * lyxfunc.C: Output messages with identical spelling, punctuation,
8972         and spaces
8973
8974 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8975
8976         * MenuBackend.C (expandFormats): List only viewable export formats
8977         in "View" menu
8978
8979         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8980         message
8981
8982         * lyxfunc.C (getStatus): Make sure that formats other than
8983         "fax" can also be disabled
8984
8985 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8986
8987         * text3.C (dispatch): put the lfuns that insert insets in 3
8988         groups, and call doInsertInset with appropriate arguments.
8989         (doInsertInset): new function, that creates an inset and inserts
8990         it according to some boolean parameters.
8991
8992 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * buffer.C (readFile): remember to pass on 'par' when calling
8995         readFile recursively.
8996
8997 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8998
8999         * MenuBackend.C (expandFormats): add "..." to import formats.
9000
9001 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * paragraph.C (asString): Remove XForms RTL hacks.
9004
9005 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9006         * buffer.C: fix typo
9007
9008 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9009
9010         * Makefile.am (LIBS): delete var
9011         (lyx_LDADD): add @LIBS@ here instead.
9012
9013 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9014
9015         * Clarify the meaning of "wheel mouse jump"
9016
9017 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9018
9019         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9020         tabular in a float
9021
9022 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9023
9024         * importer.C (Loaders): do not preallocate 3 elements in the
9025         vector, since one ends up with 6 elements otherwise
9026
9027 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9028
9029         * DepTable.C (write): write the file name as last element of the
9030         .dep file (because it may contain spaces)
9031         (read): read info in the right order
9032
9033 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9034
9035         * paragraph_pimpl.C (simpleTeXBlanks):
9036         (simpleTeXSpecialChars):
9037         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9038
9039         * tabular.C (latex): add some missing case statements. Reindent.
9040
9041         * MenuBackend.C (expandToc): remove unused variable.
9042
9043 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9044
9045         * LColor.C:
9046         * LaTeX.C:
9047         * LyXAction.C:
9048         * MenuBackend.C:
9049         * buffer.C:
9050         * exporter.C:
9051         * lyxfunc.C:
9052         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9053         and the like.
9054
9055 2003-01-05  John Levon  <levon@movementarian.org>
9056
9057         * BufferView.h:
9058         * BufferView.C: add getEncoding()
9059
9060         * kbsequence.h:
9061         * kbsequence.C: do not store last keypress
9062
9063         * lyxfunc.h:
9064         * lyxfunc.C: store last keypress here instead. Pass encoding
9065           to getISOEncoded()
9066
9067 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9068
9069         * lyx_main.C (init): remove annoying error message when following
9070         symbolic links (bug #780)
9071
9072 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9073
9074         * text.C (insertChar):
9075         * lyxrc.C (getDescription): remove extra spaces
9076
9077 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9078
9079         * lyxrc.C (getDescription): remove extra spaces
9080
9081 2002-12-20  John Levon  <levon@movementarian.org>
9082
9083         * text3.C: hack fix for page up/down across tall rows
9084
9085 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9086
9087         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9088         not been invoked
9089
9090 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9091
9092         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9093         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9094         thesaurus is not compiled in
9095
9096 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9097
9098         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9099
9100 2002-12-16  Angus Leeming  <leeming@lyx.org>
9101
9102         * lyxrc.[Ch]:
9103         * lyx_main.C (init): remove override_x_deadkeys stuff.
9104
9105 2002-12-12  John Levon  <levon@movementarian.org>
9106
9107         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9108           insert. Only remove shift modifier under strict
9109           circumstances.
9110
9111 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9112
9113         * MenuBackend.C (expandToc): fix crash.
9114
9115 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9116
9117         * MenuBackend.C (expandToc): gettext on float names.
9118
9119 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9120
9121         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9122         implement bool empty() [bug 490]
9123
9124 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9125
9126         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9127
9128 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * several files: ws changes
9131
9132 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9133
9134         * text2.C (setCounter): clean up a bit, use boost.format.
9135         (updateCounters): initialize par upon declaration.
9136
9137         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9138         if the layout exists. We do not just store the layout any more.
9139         (SwitchLayoutsBetweenClasses): use boost.format
9140
9141 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9142
9143         * converter.C (convert): if from and to files are the same, use a
9144         temporary files as intermediary
9145
9146 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9147
9148         * commandtags.h:
9149         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9150
9151 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9152
9153         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9154
9155 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * tabular.C (asciiPrintCell): use string(size, char) instead of
9158         explicit loop.
9159
9160         * sgml.C (openTag): fix order of arguments to string constructor
9161         (closeTag): ditto
9162
9163         * lyxfunc.C (dispatch): use boost.format
9164
9165         * lots of files: change "c" -> 'c'
9166
9167 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9170
9171 2002-11-25  Angus Leeming  <leeming@lyx.org>
9172
9173         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9174
9175         * lyx_main.C (init): compile fix.
9176
9177 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * lyx_cb.C (start): boost.formatify
9180         do not include <iostream>
9181
9182         * lengthcommon.C: ws only
9183
9184         * boost-inst.C,BoostFormat.h: add more explict instantations
9185
9186 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9187
9188         * lots of files: handle USE_BOOST_FORMAT
9189
9190 2002-11-21  John Levon  <levon@movementarian.org>
9191
9192         * pspell.C: fix compile
9193
9194 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * lyxfunc.C (dispatch): use boost::format
9197         (open): ditto
9198         (doImport): ditto
9199
9200         * lyxfont.C (stateText): use boost::format
9201
9202         * lyx_main.C (LyX): use boost::format
9203         (init): ditto
9204         (queryUserLyXDir): ditto
9205         (readRcFile): ditto
9206         (parse_dbg): ditto
9207         (typedef boost::function): use the recommened syntax.
9208
9209         * importer.C (Import): use boost::format
9210
9211         * debug.C (showLevel): use boost::format
9212
9213         * converter.C (view): use boost::format
9214         (convert): ditto
9215         (move): ditto
9216         (scanLog): ditto
9217
9218         * bufferview_funcs.C (currentState): use boost::format
9219
9220         * bufferlist.C (emergencyWrite): use boost::format
9221
9222         * buffer.C (readLyXformat2): use boost::format
9223         (parseSingleLyXformat2Token): ditto
9224
9225         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9226
9227         * LaTeX.C (run): use boost::format
9228
9229         * Chktex.C (scanLogFile): use boost::format
9230
9231         * BufferView_pimpl.C (savePosition): use boost::format
9232         (restorePosition): ditto
9233         (MenuInsertLyXFile): ditto
9234
9235         * BoostFormat.h: help file for explicit instation.
9236
9237 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9238
9239         * tabular.C (latex): Support for block alignment in fixed width
9240         columns.
9241
9242 2002-11-17  John Levon  <levon@movementarian.org>
9243
9244         * BufferView_pimpl.C:
9245         * lyx_cb.C:
9246         * lyxfunc.C: split filedialog into open/save
9247
9248 2002-11-08  Juergen Vigna  <jug@sad.it>
9249
9250         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9251         by my last patch (hopefully).
9252
9253 2002-11-08  John Levon  <levon@movementarian.org>
9254
9255         * iterators.h:
9256         * iterators.C:
9257         * buffer.h:
9258         * buffer.C:
9259         * paragraph.h:
9260         * paragraph.C:
9261         * toc.h:
9262         * toc.C: ParConstIterator, and use it (from Lars)
9263
9264 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9265
9266         * lyxtextclass.[Ch]: revise and add doxygen comments
9267
9268 2002-11-07  John Levon  <levon@movementarian.org>
9269
9270         * text.C: fix progress value for spellchecker
9271
9272         * toc.C: fix navigate menu for insetwrap inside minipage
9273
9274         * paragraph_funcs.C: added FIXME for suspect code
9275
9276 2002-11-07  John Levon  <levon@movementarian.org>
9277
9278         * BufferView_pimpl.C: fix redrawing of insets
9279           on buffer switch
9280
9281 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9282
9283         * text2.C (updateCounters): fix bug 668
9284
9285 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9286
9287         * text3.C (dispatch): Do not make the buffer dirty when moving the
9288         cursor.
9289
9290 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * vc-backend.C: STRCONV
9293         (scanMaster): ditto
9294
9295         * text2.C (setCounter): STRCONV
9296
9297         * paragraph.C (asString): STRCONV
9298
9299         * lyxlength.C (asString): STRCONV
9300         (asLatexString): ditto
9301
9302         * lyxgluelength.C (asString): STRCONV
9303         (asLatexString): ditto
9304
9305         * lyxfunc.C (dispatch): STRCONV
9306         (open): ditto
9307
9308         * lyxfont.C (stateText): STRCONV
9309
9310         * importer.C (Import): STRCONV
9311
9312         * counters.C (labelItem): STRCONV
9313         (numberLabel): ditto
9314         (numberLabel): remove unused ostringstream o
9315
9316         * chset.C: STRCONV
9317         (loadFile): ditto
9318
9319         * bufferview_funcs.C (currentState): STRCONV
9320
9321         * buffer.C (readFile): STRCONV
9322         (asciiParagraph): ditto
9323         (makeLaTeXFile): ditto
9324
9325         * Spacing.C (writeEnvirBegin): STRCONV
9326
9327         * LaTeXFeatures.C (getLanguages): STRCONV
9328         (getPackages): ditto
9329         (getMacros): ditto
9330         (getBabelOptions): ditto
9331         (getTClassPreamble): ditto
9332         (getLyXSGMLEntities): ditto
9333         (getIncludedFiles): ditto
9334
9335         * LaTeX.C: STRCONV
9336         (run): ditto
9337         (scanAuxFile): ditto
9338         (deplog): ditto
9339
9340         * LString.h: add the STRCONV macros
9341
9342         * BufferView_pimpl.C (savePosition): STRCONV
9343         (restorePosition): ditto
9344         (MenuInsertLyXFile): ditto
9345
9346         * vc-backend.C (scanMaster): change from submatch[...] to
9347         submatch.str(...)
9348
9349         * funcrequest.C: include config.h
9350
9351         * factory.C: include config.h
9352
9353         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9354
9355         * box.C: include config.h
9356
9357         * LaTeX.C (scanAuxFile): change from submatch[...] to
9358         submatch.str(...)
9359         (deplog): ditto
9360
9361 2002-10-25  Angus Leeming  <leeming@lyx.org>
9362
9363         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9364
9365         * ispell.[Ch] (setError): new method.
9366         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9367         Use setError() insetead of goto END.
9368
9369         * lyx_cb.C (AutoSave): move out child process into new class
9370         AutoSaveBuffer.
9371
9372 2002-10-30  John Levon  <levon@movementarian.org>
9373
9374         * text3.C: make start appendix undoable
9375
9376 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9377
9378         * lyxlength.C (inPixels): Fix returned value.
9379
9380         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9381         environment.
9382
9383 2002-10-24  Angus Leeming  <leeming@lyx.org>
9384
9385         * lyxgluelength.h: no need to forward declare BufferParams
9386         or BufferView, so don't.
9387
9388 2002-10-21  John Levon  <levon@movementarian.org>
9389
9390         * BufferView.C: menuUndo ->undo, redo
9391
9392         * BufferView.h: document, remove dead, make some methods private
9393
9394         * paragraph_funcs.h:
9395         * paragraph_funcs.C:
9396         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9397
9398         * buffer.h:
9399         * buffer.C:
9400         * sgml.h:
9401         * sgml.C: move sgml open/close tag into sgml.C
9402
9403         * bufferview_funcs.h: unused prototype
9404
9405         * lyxfunc.h:
9406         * lyxfunc.C: remove unused
9407
9408         * lyxtext.h:
9409         * text.C: remove unused
9410
9411 2002-10-21  John Levon  <levon@movementarian.org>
9412
9413         * BufferView.h:
9414         * BufferView.C:
9415         * BufferView_pimpl.h:
9416         * BufferView_pimpl.C: fix mouse wheel handling based on
9417           patch from Darren Freeman
9418
9419 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9420
9421         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9422
9423 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9424
9425         * lyxlength.C (inPixels): Fix hanfling of negative length.
9426         Fix LyXLength::MU case.
9427
9428 2002-10-16  John Levon  <levon@movementarian.org>
9429
9430         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9431
9432 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9433
9434         * converter.C (view): add support for $$i (file name) and $$p
9435         (file path) for the viewer command. If $$i is not specified, then
9436         it is appended to the command (for compatibility with old syntax)
9437
9438 2002-10-14  Juergen Vigna  <jug@sad.it>
9439
9440         * undo_funcs.C (textHandleUndo): alter the order in which the
9441         new undopar is added to the LyXText, as we have to set first
9442         the right prev/next and then add it as otherwise the rebuild of
9443         LyXText is not correct. Also reset the cursor to the right paragraph,
9444         with this IMO we could remove the hack in "redoParagraphs()".
9445
9446 2002-10-09  Angus Leeming  <leeming@lyx.org>
9447
9448         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9449         to turn off an optimisation if a new inset is to be inserted.
9450
9451 2002-10-11 André Pönitz <poenitz@gmx.net>
9452
9453         * lyxtext.h: make some functions public to allow access
9454         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9455
9456 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9457
9458         * text3.C (dispatch): when changing layout, avoid an infinite loop
9459         [bug #652]
9460
9461 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9462
9463         * lyxrc.C (read): treat a viewer or converter command of "none" as
9464         if it were empty.
9465
9466         * MenuBackend.C (expandFormats): for an update, also allow the
9467         formats that are not viewable
9468
9469         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9470         script if it is newer than the lyxrc.defaults in user directory
9471
9472 2002-10-07 André Pönitz <poenitz@gmx.net>
9473
9474         * text.C: Vitaly Lipatov's small i18n fix
9475
9476 2002-09-25  Angus Leeming  <leeming@lyx.org>
9477
9478         * ispell.h: doxygen fix.
9479
9480 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * buffer.h (readFile): Add a new argument to the method, to allow
9483         reading of old-format templates.
9484
9485 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9486
9487         * toc.C (getTocList): Get TOC from InsetWrap.
9488
9489 2002-09-16  John Levon  <levon@movementarian.org>
9490
9491         * lyxfunc.C: check tabular for cut/copy too
9492
9493 2002-09-12  John Levon  <levon@movementarian.org>
9494
9495         * LyXAction.C: tidy
9496
9497         * factory.h:
9498         * factory.C: add header
9499
9500         * paragraph_funcs.h:
9501         * paragraph_funcs.C: cleanup
9502
9503 2002-09-11  John Levon  <levon@movementarian.org>
9504
9505         * PrinterParams.h: odd/even default to true
9506
9507 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9508
9509         * PrinterParams.h: update printer parameters for new xforms dialog
9510
9511 2002-09-11  Angus Leeming  <leeming@lyx.org>
9512
9513         * lyxserver.C (read_ready): re-write to make it more transparent
9514         and to make it work in coherent fashion under Tru64 Unix.
9515
9516 2002-09-11  André Pönitz <poenitz@gmx.net>
9517
9518         * commandtags.h:
9519         * LyXAction.C:
9520         * text3.C: implement LFUN_WORDSEL
9521
9522 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9523
9524         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9525         make floatlist_ a boost::shared_ptr<FloatList>
9526
9527         * lyxtextclass.C: include FloatList.h
9528         (LyXTextClass): initialize floatlist_
9529         (TextClassTags): add TC_NOFLOAT
9530         (Read): match "nofloat" to TC_NOFLOAT and use it.
9531         (readFloat): modify call to floatlist_
9532         (floats): ditto
9533         (floats): ditto
9534
9535         * FloatList.[Ch] (FloatList): remove commented out float
9536         initialization.
9537         (erase): new function
9538
9539 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9540
9541         * MenuBackend.C (expandToc): fix crash when there is no document
9542         open
9543
9544 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9545
9546         * many files: Add insetwrap.
9547
9548 2002-09-09  John Levon  <levon@movementarian.org>
9549
9550         * text2.C: remove confusing and awkward depth wraparound
9551
9552 2002-09-09  John Levon  <levon@movementarian.org>
9553
9554         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9555
9556         * buffer.h:
9557         * buffer.C: remove getIncludeonlyList()
9558
9559         * paragraph.C:
9560         * lyxfunc.C: remove headers
9561
9562 2002-09-09  Juergen Vigna  <jug@sad.it>
9563
9564         * text.C (getColumnNearX): fix form Michael this is most
9565         probably a cut&paste bug.
9566
9567 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9568
9569         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9570
9571         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9572         references, ws changes.
9573
9574         * text2.C (init): update counters after init
9575         (insertParagraph): no need to set counter on idividual paragraphs.
9576         (setCounter): access the counters object in the textclass object
9577         on in the buffer object.
9578         (updateCounters): ditto
9579
9580         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9581         shared_ptr<Counters> to avoid loading counters.h in all
9582         compilation units.
9583         (LyXTextClass): initialize ctrs_
9584         (TextClassTags): add TC_COUNTER, and ...
9585         (Read): use it here.
9586         (CounterTags): new tags
9587         (readCounter): new function
9588         (counters): new funtion
9589         (defaultLayoutName): return a const reference
9590
9591         * counters.C (Counters): remove contructor
9592         (newCounter): remove a couple of unneeded statements.
9593         (newCounter): simplify a bit.
9594         (numberLabel): some small formatting changes.
9595
9596         * buffer.[Ch]: remove all traces of counters, move the Counters
9597         object to the LyXTextClass.
9598
9599 2002-09-06  Alain Castera  <castera@in2p3.fr>
9600
9601         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9602         package to set the horizontal alignment on fixed width columns.
9603
9604         * lyx_sty.C:
9605         * lyx_sty.h: added tabularnewline macro def.
9606
9607         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9608
9609 2002-09-06  John Levon  <levon@movementarian.org>
9610
9611         * LyXAction.C: tooltips for sub/superscript
9612
9613         * MenuBackend.C: a bit more verbose
9614
9615         * lyxfunc.C: tiny clean
9616
9617         * undo_funcs.C: document undo_frozen
9618
9619 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9620
9621         * counters.C (Counters): add missing algorithm counter.
9622
9623         * text2.C (setCounter): lookup the counter with layouts latexname
9624         instead of by section number.
9625         (setCounter): use a hackish way to lookup the correct enum
9626         counter.
9627         a float name->type change
9628         reset enum couners with counter name directly instead of depth value.
9629
9630         * counters.C (Counters): remove the push_backs, change to use the
9631         float type not the float name.
9632         (labelItem): remove unused string, float name->type change
9633
9634         * counters.h: don't include vector, loose the enums and sects vectors
9635
9636 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9637
9638         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9639         (Read): add float->TC_FLOAT to textclassTags
9640         (Read): and handle it in the switch
9641         (readFloat): new function
9642
9643         * FloatList.C (FloatList): comment out the hardcoded float
9644         definitions.
9645
9646         * lyxlayout.h: ws change.
9647
9648 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9649
9650         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9651
9652 2002-09-03  Angus Leeming  <leeming@lyx.org>
9653
9654         * BufferView_pimpl.h: qualified name is not allowed in member
9655         declaration: WorkArea & Pimpl::workarea() const;
9656
9657         * factory.C: added using std::endl directive.
9658
9659         * text3.C: added using std::find and std::vector directives.
9660
9661 2002-08-29  André Pönitz <poenitz@gmx.net>
9662
9663         * lyxtext.h:
9664         * text2.C: remove unused member number_of_rows
9665
9666         * Makefile.am:
9667         * BufferView2.C: remove file, move contents to...
9668         * BufferView.C: ... here
9669
9670         * BufferView_pimpl.C:
9671         * factory.C: move more inset creation to factory
9672
9673         * vspace.C: avoid direct usage of LyXText, ws changes
9674
9675         * BufferView.[Ch]:
9676                 don't provide direct access to WorkArea, use two simple
9677                 acessors haveSelction() and workHeight() instead
9678
9679
9680 2002-08-29  John Levon  <levon@movementarian.org>
9681
9682         * BufferView_pimpl.C (dispatch): do not continue when
9683           no buffer
9684
9685 2002-08-28  André Pönitz <poenitz@gmx.net>
9686
9687         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9688
9689         * BufferView.h:
9690         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9691
9692 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9693
9694         * buffer.C: increment LYX_FORMAT to 221
9695
9696         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9697         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9698
9699         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9700
9701         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9702
9703 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * factory.C (createInset): use LyXTextClass::floats
9706
9707         * MenuBackend.C (expandFloatListInsert):
9708         (expandFloatInsert):
9709         (expandToc):
9710
9711         * text2.C (setCounter):
9712
9713         * LaTeXFeatures.C (useFloat):
9714         (getFloatDefinitions):
9715
9716         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9717
9718         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9719         floatlist_, with accessor floats().
9720
9721         * FloatList.h: remove global FloatList
9722
9723 2002-08-26  André Pönitz <poenitz@gmx.net>
9724
9725         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9726
9727         * BufferView.h:
9728         * BufferView2.C:
9729         * BufferView_pimpl.C:
9730         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9731
9732 2002-08-25  John Levon  <levon@movementarian.org>
9733
9734         * LyXAction.C: fix margin note description
9735
9736 2002-08-24  John Levon  <levon@movementarian.org>
9737
9738         * buffer.C:
9739         * bufferlist.C:
9740         * bufferview_funcs.C:
9741         * lyxfont.C:
9742         * undo_funcs.C: cleanups
9743
9744         * lyxfunc.C: disable CUT/COPY when no selection
9745
9746 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9747
9748         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9749         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9750
9751         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9752         Add backward compatibility to "mono", "gray" and "no".
9753
9754 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9755
9756         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9757         (and file_format >= 200).
9758
9759 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9762
9763 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9766
9767 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9768
9769         * BufferView_pimpl.C:
9770         * LyXAction.C:
9771         * buffer.C:
9772         * commandtags.h:
9773         * lyxfunc.C:
9774         * paragraph.[Ch]:
9775         * text2.C:
9776         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9777         inset and code to make it  work with the paragraph code. The inset
9778         can be anywhere in the paragraph, but will only do the expected
9779         thing in LaTeX if the layout file contains the parameter line
9780                         OptionalArgs    1
9781         (or more generally, a nonzero value) for that layout.
9782
9783 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9784
9785         * paragraph.h: remove the declaration of undefined counters class
9786         function.
9787
9788 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9789
9790         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9791         Dr. Richard Hawkins.
9792
9793 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9794
9795         * paragraph_funcs.h: remove some unneeded includes
9796
9797         * text.C (backspace): pasteParagraph now in global scipe
9798
9799         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9800         (pasteSelection): ditto
9801
9802         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9803         * paragraph_funcs.C (pasteParagraph): ... here
9804
9805 2002-08-20  André Pönitz <poenitz@gmx.net>
9806
9807         * commandtags.h: new LFUNs for swapping/copying table row/colums
9808
9809         * LyXAction.C:
9810         * lyxfunc.C: support for new lfuns
9811
9812 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * tabular.C:
9815         * buffer.[Ch]: remove NO_COMPABILITY stuff
9816
9817 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9818
9819         * boost.C (throw_exception): new file, with helper function for
9820         boost compiled without exceptions.
9821
9822         * paragraph.h:
9823         * lyxlength.C:
9824         * buffer.C:
9825         * ParameterStruct.h:
9826         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9827
9828         * bufferlist.C (emergencyWriteAll): use boost bind
9829
9830         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9831
9832         * text.C: include paragraph_funcs.h
9833         (breakParagraph): breakParagraph is now in global scope
9834
9835         * paragraph_funcs.[Ch]: new files
9836
9837         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9838         global scope
9839
9840         * buffer.C: include paragraph_funcs.h
9841         (insertStringAsLines): breakParagraph is now in global scope
9842
9843         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9844         paragraph_funcs.C
9845
9846         * CutAndPaste.C: include paragraph_funcs.h
9847         (cutSelection): breakParagraphConservative is now in global scope
9848         (pasteSelection): ditto
9849
9850         * buffer.h: declare oprator== and operator!= for
9851         Buffer::inset_iterator
9852
9853         * bufferlist.C (emergencyWrite): don't use fmt(...)
9854
9855         * text3.C: add using std::endl
9856
9857         * BufferView.C (moveCursorUpdate): remove default arg
9858
9859 2002-08-20  André Pönitz <poenitz@gmx.net>
9860
9861         * buffer.[Ch]: move inline functions to .C
9862
9863         * BufferView2.C:
9864         * BufferView_pimpl.C:
9865         * text.C:
9866         * buffer.[Ch]: use improved inset_iterator
9867
9868         * buffer.C:
9869         * paragraph.[Ch]: write one paragraph at a time
9870
9871 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9872
9873         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9874         style if style is not specified.
9875
9876 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * text2.C (setCounter): when searching for right label for a
9879         caption, make sure to recurse to parent insets (so that a caption
9880         in a minipage in a figure float works) (bug #568)
9881
9882 2002-08-20  André Pönitz <poenitz@gmx.net>
9883
9884         * text3.C: new file for LyXText::dispatch() and helpers
9885
9886         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9887
9888         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9889
9890 2002-08-19  André Pönitz <poenitz@gmx.net>
9891
9892         * lyxtext.h:
9893         * text.C: new LyXText::dispatch()
9894
9895         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9896
9897 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9898
9899         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9900
9901         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9902         Hebrew text.
9903
9904 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * Makefile.am: use $(variables) instead of @substitutions@
9907
9908 2002-08-15  André Pönitz <poenitz@gmx.net>
9909
9910         * lyxfunc.C:
9911         * BufferView_pimpl.C: streamlining mathed <-> outer world
9912         interaction
9913
9914         * commandtags.h:
9915         * LyXAction.C: remove unused LFUN_MATH
9916
9917 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9918
9919         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9920
9921 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * paragraph.C (Paragraph): reformat a bit
9924         (cutIntoMinibuffer): use builtin InsetList function instad of
9925         doing it manually.
9926         (getInset): ditto
9927
9928         * buffer.C: include boost/bind.hpp, add using std::for_each
9929         (writeFileAscii): use ParagraphList iterators
9930         (validate): use for_each for validate traversal of paragraphs
9931         (getBibkeyList): use ParagraphList iterators
9932         (resizeInsets): use for_each to resizeInsetsLyXText for all
9933         paragraphs.
9934         (getParFromID): use ParagraphList iterators
9935
9936         * BufferView2.C (lockInset): use paragraph list and iterators
9937
9938 2002-08-14  John Levon  <levon@movementarian.org>
9939
9940         * lyxserver.C: remove spurious xforms include
9941
9942 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9945
9946 2002-08-13  André Pönitz <poenitz@gmx.net>
9947
9948         * LyXAction.[Ch]:
9949         * lyxfunc.C: further cleaning
9950
9951 2002-08-13  André Pönitz <poenitz@gmx.net>
9952
9953         * funcrequest.h: new constructor
9954
9955         * funcrequest.C: move stuff here from .h
9956
9957         * Makefile.am:
9958         * BufferView_pimpl.C:
9959         * LyXAction.C:
9960         * toc.C:
9961         * lyxfunc.C: subsequent changes
9962
9963         * lyxfunc.h: new view() member function
9964
9965         * lyxfunc.C: subsequent changes
9966
9967 2002-08-13  Angus Leeming  <leeming@lyx.org>
9968
9969         * BufferView2.C:
9970         * BufferView_pimpl.C:
9971         * buffer.C:
9972         * converter.C:
9973         * importer.C:
9974         * lyxfunc.C:
9975         * lyxvc.C:
9976         * toc.C:
9977         * vc-backend.C:
9978         changes due to the changed LyXView interface that now returns references
9979         to member variables not pointers.
9980
9981 2002-08-13  Angus Leeming  <leeming@lyx.org>
9982
9983         * WordLangTuple (word, lang_code): return references to strings,
9984         not strings.
9985
9986         * BufferView.h:
9987         * SpellBase.h:
9988         * lyxtext.h: forward-declare WordLangTuple.
9989
9990         * BufferView2.C:
9991         * ispell.C:
9992         * pspell.C:
9993         * text.C: #include "WordLangTuple.h".
9994
9995         * lyxtext.h:
9996         * text.C: (selectNextWordToSpellcheck): constify return type.
9997
9998 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9999
10000         * buffer.C:
10001         * buffer.h:
10002         * lyxtext.h:
10003         * paragraph.C:
10004         * paragraph_pimpl.h:
10005         * text.C:
10006         * text2.C:
10007         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10008         suggested by Angus.
10009         Made updateCounter always count from start of buffer, and removed
10010         second argument (par).
10011         Reverted floats number display to '#'. Perhaps I'll try again when the
10012         code base is sanitized a bit.
10013
10014 2002-08-12  Angus Leeming  <leeming@lyx.org>
10015
10016         * buffer.[Ch] (getLabelList): constify.
10017
10018 2002-08-07  André Pönitz <poenitz@gmx.net>
10019
10020         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10021
10022         * funcrequest.h: extension to keep mouse (x,y) position
10023
10024 2002-08-12  Juergen Vigna  <jug@sad.it>
10025
10026         * BufferView2.C (insertErrors): forbid undo when inserting error
10027         insets.
10028
10029         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10030
10031 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10032
10033         * ParagraphList.[Ch]: new files
10034
10035         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10036
10037         * BufferView2.C (lockInset): ParagraphList changes
10038         * toc.C: ditto
10039         * text2.C: ditto
10040         * bufferlist.C: ditto
10041         * buffer.h: ditto
10042         * buffer.C: ditto
10043
10044 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10045
10046         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10047         unused class variable counter_,
10048
10049         * paragraph.[Ch] (getFirstCounter): delete unused function
10050
10051         * counters.C: include LAssert.h
10052         (reset): add a new function with no arg, change other version to
10053         not have def. arg and to not allow empty arg.
10054
10055         * text2.C (setCounter): remove empty arg from call to Counters::reset
10056
10057 2002-08-11  John Levon  <levon@movementarian.org>
10058
10059         * Makefile.am: add WordLangTuple.h
10060
10061 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10062
10063         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10064         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10065
10066         * insets/insettext.C: InsetList changes
10067
10068         * graphics/GraphicsSupport.C (operator()): InsetList changes
10069
10070         * toc.C (getTocList): InsetList changes
10071
10072         * paragraph_pimpl.[Ch]: InsetList changes
10073
10074         * paragraph.[Ch]: InsetList changes
10075
10076         * buffer.C (inset_iterator): InsetList changes
10077         (setParagraph): ditto
10078         * buffer.h (inset_iterator): ditto
10079         * iterators.C (operator++): ditto
10080         * iterators.h: ditto
10081
10082         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10083
10084         * InsetList.[Ch]: new files, most InsetList handling moved out of
10085         paragraph.C.
10086
10087         * BufferView2.C (removeAutoInsets): InsetList changes
10088         (lockInset): ditto
10089         (ChangeInsets): ditto
10090
10091 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10092
10093         * paragraph_pimpl.h (empty): new function
10094
10095         * paragraph.[Ch] (empty): new function
10096
10097         * other files: use the new Paragraph::empty function
10098
10099 2002-08-09  John Levon  <levon@movementarian.org>
10100
10101         * lyxtext.h: remove unused refresh_height
10102
10103 2002-08-09  John Levon  <levon@movementarian.org>
10104
10105         * Makefile.am:
10106         * sgml.h:
10107         * sgml.C:
10108         * buffer.C:
10109         * paragraph.h:
10110         * paragraph.C: move sgml char escaping out of paragraph
10111
10112         * paragraph.h:
10113         * paragraph.C: remove id setter
10114
10115         * buffer.C:
10116         * paragraph.C:
10117         * paragraph_pimpl.C: remove dead tex_code_break_column
10118
10119         * bufferview_funcs.C: small cleanup
10120
10121         * lyxfunc.C: remove dead proto
10122
10123         * lyxtext.h: make some stuff private. Remove some dead stuff.
10124
10125         * lyxgluelength.C: make as[LyX]String() readable
10126
10127 2002-08-08  John Levon  <levon@movementarian.org>
10128
10129         * LyXAction.h:
10130         * LyXAction.C:
10131         * MenuBackend.C:
10132         * ToolbarDefaults.C:
10133         * lyxfunc.C:
10134         * lyxrc.C:
10135         * toc.C: lyxaction cleanup
10136
10137 2002-08-08  John Levon  <levon@movementarian.org>
10138
10139         * BufferView2.C: small cleanup
10140
10141         * lyxfind.h:
10142         * lyxfind.C: move unnecessary header into the .C
10143
10144 2002-08-08  John Levon  <levon@movementarian.org>
10145
10146         * funcrequest.h: just tedious nonsense
10147
10148         * lyx_main.h:
10149         * lyx_main.C: cleanups
10150
10151         * buffer.C:
10152         * vspace.C: remove dead header lyx_main.h
10153
10154 2002-08-07  Angus Leeming  <leeming@lyx.org>
10155
10156         * Paragraph.[Ch]:
10157         * paragraph_pimpl.h:
10158         Forward declare class Counters in paragraph.h by moving the ctrs member
10159         variable into Paragraph::Pimpl.
10160         (counters): new method, returning a reference to pimpl_->ctrs.
10161
10162         * text2.C: ensuing changes.
10163
10164 2002-08-07  John Levon  <levon@movementarian.org>
10165
10166         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10167
10168         * BufferView_pimpl.C: announce X selection on double/triple
10169           click
10170
10171         * lyx_main.C: use correct bool in batch dispatch
10172
10173         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10174
10175 2002-08-07  André Pönitz <poenitz@gmx.net>
10176
10177         * funcrequest.h: new class to wrap a kb_action and its argument
10178
10179         * BufferView.[Ch]:
10180         * BufferView_pimpl[Ch]:
10181         * LaTeX.C:
10182         * LyXAction.[Ch]:
10183         * lyxfunc.[Ch]:
10184         * lyxrc.C: subsequent changes
10185
10186
10187 2002-08-07  John Levon  <levon@movementarian.org>
10188
10189         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10190           document options change.
10191
10192 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10193
10194         * counters.[Ch]
10195         * text2.C
10196         * paragraph.[Ch]
10197         * makefile.am: move counters functionality over from
10198         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10199
10200 2002-08-06  John Levon  <levon@movementarian.org>
10201
10202         * WordLangTuple.h: new file for word + language code tuple
10203
10204         * SpellBase.h:
10205         * pspell.h:
10206         * pspell.C:
10207         * ispell.h:
10208         * ispell.C:
10209         * lyxtext.h:
10210         * text.C:
10211         * text2.C:
10212         * BufferView.h:
10213         * BufferView2.C: use WordLangTuple
10214
10215         * layout.h:
10216         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10217
10218 2002-08-06  John Levon  <levon@movementarian.org>
10219
10220         * lyx_main.C: fix cmdline batch handling
10221
10222 2002-08-06  André Pönitz <poenitz@gmx.net>
10223
10224         * lyxrc.C: set default for show_banner to true
10225
10226 2002-08-06  John Levon  <levon@movementarian.org>
10227
10228         * pspell.C: fix a crash, and allow new aspell to work
10229
10230 2002-08-06  John Levon  <levon@movementarian.org>
10231
10232         * lyxfunc.C:
10233         * kbmap.C: small cleanup
10234
10235         * vspace.h:
10236         * vspace.C: add const
10237
10238 2002-08-05  John Levon  <levon@movementarian.org>
10239
10240         * LyXAction.C: back to tabular-insert
10241
10242 2002-08-04  John Levon  <levon@movementarian.org>
10243
10244         * BufferView.h:
10245         * BufferView.C: cosmetic change
10246
10247         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10248
10249         * bufferlist.C:
10250         * buffer.h:
10251         * buffer.C:
10252         * lyxcb.h:
10253         * lyxcb.C:
10254         * lyxserver.C:
10255         * lyxvc.C:
10256         * vc-backend.C:
10257         * BufferView2.C: purge all "Lyx" not "LyX" strings
10258
10259         * lyxcursor.h:
10260         * lyxcursor.C: attempt to add some documentation
10261
10262         * lyxfunc.C:
10263         * commandtags.h:
10264         * LyXAction.C:
10265         * ToolbarDefaults.C:
10266         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10267           merge with LFUN_TABULAR_INSERT
10268
10269         * Makefile.am:
10270         * SpellBase.h:
10271         * ispell.h:
10272         * ispell.C:
10273         * pspell.h:
10274         * pspell.C: split up i/pspell implementations into separate
10275           files, many cleanups
10276
10277         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10278
10279         * text2.C: some cleanup
10280
10281         * lyxfunc.C: don't check for isp_command == "none" any more, it
10282           didn't make any sense
10283
10284 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10285
10286         * counters.[Ch]
10287         * text2.C
10288         * paragraph.[Ch]
10289         * makefile.am: move counters functionality over
10290         from text2.C/paragraph.[Ch] to counters.[Ch], and
10291         make proper C++.
10292 2002-08-02  John Levon  <levon@movementarian.org>
10293
10294         * buffer.C: s/lyxconvert/lyx2lyx/
10295
10296 2002-08-02  Angus Leeming  <leeming@lyx.org>
10297
10298         * lyxlex.C: revert John's change as it breaks reading of the user
10299         preamble.
10300
10301 2002-08-02  Angus Leeming  <leeming@lyx.org>
10302
10303         * importer.C (Import):
10304         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10305         changes due to LyXView::view() now returning a boost::shared_ptr.
10306
10307 2002-08-02  John Levon  <levon@movementarian.org>
10308
10309         * lyxlex.C: small cleanup
10310
10311 2002-08-02  John Levon  <levon@movementarian.org>
10312
10313         * text2.C (status): small cleanup, no logic change
10314
10315 2002-08-01  John Levon  <levon@movementarian.org>
10316
10317         * buffer.h:
10318         * buffer.C (writeFile): don't output alerts, caller
10319           handles this
10320
10321         * bufferlist.C:
10322         * lyx_cb.C: from above
10323
10324         * lyxfunc.C: allow to open non-existent files
10325
10326 2002-07-31  John Levon  <levon@movementarian.org>
10327
10328         * lyxserver.C: don't let incidental errors get
10329           in the way (errno)
10330
10331 2002-07-30  John Levon  <levon@movementarian.org>
10332
10333         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10334
10335 2002-07-30  John Levon  <levon@movementarian.org>
10336
10337         * lyxserver.h:
10338         * lyxserver.C: remove I/O callback too
10339
10340 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10343         log.
10344
10345 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10346
10347         * many files: strip,frontStrip -> trim,ltrim,rtrim
10348
10349 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10350
10351         * PrinterParams.h: remove extern containsOnly, and include
10352         support/lstrings.h instead.
10353
10354         * LaTeX.C (scanAuxFile): modify because of strip changes
10355         (deplog): ditto
10356         * buffer.C (makeLaTeXFile): ditto
10357         * bufferparams.C (writeFile): ditt
10358         * lyxfont.C (stateText): ditto
10359         * lyxserver.C (read_ready): ditto
10360         * vc-backend.C (scanMaster): ditto
10361
10362         * BufferView_pimpl.h: ws changes
10363
10364         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10365
10366 2002-07-26  André Pönitz <poenitz@gmx.net>
10367
10368         * kb_sequence.C: remove unnedred usings
10369
10370 2002-07-26  Juergen Vigna  <jug@sad.it>
10371
10372         * lyxfind.C (LyXReplace): we have to check better if the returned
10373         text is not of theLockingInset()->getLockingInset().
10374
10375 2002-07-25  Juergen Vigna  <jug@sad.it>
10376
10377         * lyxfind.C (LyXReplace): don't replace if we don't get the
10378         right LyXText.
10379
10380         * undo_funcs.C (createUndo): remove debugging code.
10381
10382 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10383
10384         * buffer.C (parseSingleLyXformat2Token): Use default placement
10385         when reading old floats.
10386
10387         * FloatList.C (FloatList): Change the default placement of figure
10388         and tables to "tbp".
10389
10390 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * MenuBackend.C: using std::max
10393
10394 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10395
10396         * MenuBackend.C (expandToc):
10397         (expandToc2): code moved from xforms menu frontend. It is now
10398         generic and TOCs are transparent to menu frontends.
10399
10400 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * toc.C (getTocList): protect against buf=0
10403
10404         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10405         Menu as first parameter. Now, this calls itself recursively to
10406         expand a whole tree (this will be useful for TOC handling)
10407         (expandFloatInsert): remove 'wide' version of floats
10408
10409         * MenuBackend.h (submenuname): returns the name of the submenu.
10410         (submenu): returns the submenu itself, provided it has been
10411         created by MenuBackend::expand
10412
10413 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10416         insets which have noFontChange == true. (bug #172)
10417
10418 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * BufferView_pimpl.C: add connection objects and use them...
10421         (Pimpl): here.
10422
10423 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * MenuBackend.C (expandLastfiles):
10426         (expandDocuments):
10427         (expandFormats):
10428         (expandFloatListInsert):
10429         (expandFloatInsert):
10430         (expand): split expand in parts
10431
10432 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyx_gui.C: use lyx_gui::exit()
10435
10436 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * LyXAction.C: show the failing pseudo action
10439
10440 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * buffer.C (readFile): Run the lyxconvert script in order to read
10443         old files.
10444
10445 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * LyXAction.C:
10448         * commandtags.h:
10449         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10450
10451 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * LyXAction.C:
10454         * commandtags.h:
10455         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10456
10457 2002-07-22  Herbert Voss  <voss@lyx.org>
10458
10459         * lengthcommon.C:
10460         * lyxlength.[Ch]: add support for the vertical lengths
10461
10462 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * toc.[Ch]: std:: fixes
10465
10466 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10467
10468         * lyxrc.C: do not include lyx_main.h
10469
10470         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10471         for layouts
10472
10473         * lyxrc.C:
10474         * encoding.C:
10475         * bufferlist.C:
10476         * BufferView2.C: include "lyxlex.h"
10477
10478         * tabular.h:
10479         * bufferparams.h: do not #include "lyxlex.h"
10480
10481         * lyxtextclasslist.C (Add): remove method
10482         (classlist): renamed to classlist_
10483
10484         * paragraph_pimpl.C:
10485         * paragraph.C:
10486         * text2.C:
10487         * CutAndPaste.C:
10488         * bufferview_funcs.C:
10489         * bufferlist.C:
10490         * text.C:
10491         * LaTeXFeatures.C:
10492         * buffer.C:
10493         * toc.C (getTocList): use BufferParams::getLyXTextClass
10494
10495         * toc.C (getTocList): use InsetFloat::addToToc
10496
10497         * toc.[Ch]: new files, containing helper functions to handle table
10498         of contents
10499
10500         * lyxfunc.C (dispatch): no need to remove spaces around command
10501         given as a string
10502         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10503         first command of the sequence; it is not very clever, but I do not
10504         have a better idea, actually
10505
10506         * LyXAction.C (LookupFunc): make sure to remove space at the
10507         beginning and end of the command
10508
10509 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * MenuBackend.C (getMenubar): new method: return the menubar of
10512         this menu set
10513         (read): treat differently reading of menu and menubar (in
10514         particular, the menubar has no name now)
10515         (Menu::menubar): remove
10516
10517         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10518         saving is finished
10519
10520 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10521
10522         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10523         a bibitem inset in a RTL paragraph.
10524
10525 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * paragraph_pimpl.C: constify
10528
10529         * BufferView_pimpl.C:
10530         * LaTeX.C:
10531         * lyxfunc.C: fix dispatch in a nicer way
10532
10533 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10534
10535         * lyxfunc.C (dispatch):
10536         * BufferView_pimpl.C:
10537         * BufferView_pimpl.h:
10538         * BufferView.C:
10539         * BufferView.h: rename Dispatch() to dispatch()
10540
10541         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10542
10543         * lyxlayout.C (Read): honor DependsOn tag
10544
10545         * lyxlayout.[Ch] (depends_on): new method
10546
10547         * version.C.in: update lyx_docversion
10548
10549         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10550
10551         * paragraph.C (validate): remove from here...
10552         * paragraph_pimpl.C (validate): ... and move here
10553         (isTextAt): make it const
10554
10555         * buffer.C (getLists): ws cleanup
10556
10557 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10558
10559         * language.C (read): Use iso8859-1 encoding in latex_lang
10560         (this prevents LyX from crashing when using iso10646-1 encoding).
10561
10562 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10563
10564         * text2.C (toggleInset): if cursor is inside an inset, close the
10565         inset and leave cursor _after_ it
10566
10567 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * lyxfunc.C: move minibuffer completion handling out of here
10570
10571 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * BufferView_pimpl.C:
10574         * LaTeX.C: fix dispatch calls
10575
10576 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * text.C (drawChars): Fix Arabic text rendering.
10579
10580 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * LyXAction.C:
10583         * commandtags.h:
10584         * lyxfunc.C: remove message-push/pop
10585
10586         * lyxserver.C:
10587         * lyxfunc.h:
10588         * lyxfunc.C: rationalise some code by removing verboseDispatch
10589           in favour of a bool argument to dispatch()
10590
10591 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * lyx_main.C (init): make sure to read symlinks as absolute paths
10594
10595 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * lyxfunc.h:
10598         * lyxfunc.C: no need for commandshortcut to be a member
10599
10600 2002-07-15  André Pönitz <poenitz@gmx.net>
10601
10602         * converter.C: add support for $$s (scripts from lib/scripts dir)
10603         * lyx_main.C: white space
10604
10605 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * bufferlist.C:
10608         * lyxrc.h:
10609         * lyxrc.C: remove second exit confirmation
10610
10611 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * BufferView.h:
10614         * BufferView.C:
10615         * BufferView2.C:
10616         * BufferView_pimpl.h:
10617         * BufferView_pimpl.C:
10618         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10619
10620 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * MenuBackend.C (expand): add numeric shortcuts to document menu
10623
10624         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10625
10626 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10627
10628         * lyxfont.C (setLyXFamily):
10629         (setLyXSeries):
10630         (setLyXShape):
10631         (setLyXSize):
10632         (setLyXMisc):
10633         (lyxRead):
10634         * debug.C (value):
10635         * buffer.C (asciiParagraph): use ascii_lowercase
10636
10637 2002-07-15  Mike Fabian  <mfabian@suse.de>
10638
10639         * lyxlex_pimpl.C (search_kw):
10640         * lyxlex.C (getLongString):
10641         * converter.h (operator<):
10642         * converter.C (operator<):
10643         * buffer.C (parseSingleLyXformat2Token):
10644         (asciiParagraph):
10645         * ToolbarDefaults.C (read):
10646         * MenuBackend.C (checkShortcuts):
10647         (read):
10648         * LColor.C (getFromGUIName):
10649         (getFromLyXName): use the compare_ascii_no_case instead of
10650         compare_no_case, because in turkish, 'i' is not the lowercase
10651         version of 'I', and thus turkish locale breaks parsing of tags.
10652
10653 2002-07-16  Angus Leeming  <leeming@lyx.org>
10654
10655         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10656         now takes a Buffer const & argument.
10657
10658 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * BufferView.C (resize): check there's a buffer to resize
10661
10662 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * lyxfunc.C: remove dead code
10665
10666         * lyxserver.h:
10667         * lyxserver.C: use lyx_guii::set_read_callback
10668
10669 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10672         an inset in a RTL paragraph.
10673
10674 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * lyxfunc.C: repaint after a font size update
10677
10678 2002-07-15  André Pönitz <poenitz@gmx.net>
10679
10680         * lyxlength.C: inBP should be able to return negative values
10681
10682 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * lyxfunc.C: use lyx_gui::update_fonts()
10685
10686 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * lyxfunc.C: use lyx_gui::update_color()
10689
10690 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * bufferlist.C:
10693         * lyxfunc.h:
10694         * lyxfunc.C:
10695         * lyxrc.h:
10696         * lyxrc.C: remove file->new asks for name option, and let
10697           buffer-new take an argument
10698
10699 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView_pimpl.C: remove unneeded extra repaint()
10702
10703 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * LyXAction.C: allow command-sequence with NoBuffer
10706
10707         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10708
10709 2002-07-10  Angus Leeming  <leeming@lyx.org>
10710
10711         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10712
10713 2002-07-09  Angus Leeming  <leeming@lyx.org>
10714
10715         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10716
10717 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * lengthcommon.h: whitespace
10720
10721         * lyxfunc.C: update scrollbar after goto paragraph
10722
10723         * lyxtext.h: factor out page break drawing, and fix it so
10724           page break/added space paints as selected nicely
10725
10726 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView_pimpl.C: add FIXMEs, clean up a little
10729
10730 2002-07-09  André Pönitz <poenitz@gmx.net>
10731
10732         * lyxfont.[Ch]: support for wasy symbols
10733
10734 2002-07-08  André Pönitz <poenitz@gmx.net>
10735
10736         * BufferView_pimpl.C: apply John's patch for #93.
10737
10738 2002-07-05  Angus Leeming  <leeming@lyx.org>
10739
10740         * BufferView_pimpl.C (buffer): generate previews if desired.
10741
10742         * LColor.h: add "preview" to the color enum.
10743
10744         * LColor.C (LColor): add a corresponding entry to the items array.
10745
10746         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10747         with this buffer.
10748
10749 2002-07-05  Angus Leeming  <leeming@lyx.org>
10750
10751         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10752         The body of the code is now in the method that is passed an ostream &
10753         rather than a file name.
10754         Pass an additional only_preamble parameter, useful for the forthcoming
10755         preview stuff.
10756
10757 2002-07-03  André Pönitz <poenitz@gmx.net>
10758
10759         * lyxfunc.C: simplify getStatus() a bit for math stuff
10760
10761 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10764
10765 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * text.C (changeRegionCase): do not change case of all the
10768         document when region ends at paragraph end (bug #461)
10769
10770 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * paragraph.C (startTeXParParams):
10773         (endTeXParParams): add \protect when necessary
10774
10775 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10776
10777         * BufferView_pimpl.C (workAreaExpose): remove warning
10778
10779 2002-06-27  Angus Leeming  <leeming@lyx.org>
10780
10781         * Makefile.am: add lyxlayout_ptr_fwd.h.
10782
10783 2002-06-26  André Pönitz <poenitz@gmx.net>
10784
10785         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10786
10787 2002-06-25  Angus Leeming  <leeming@lyx.org>
10788
10789         * lyxfunc.C (dispatch): Comment out the call to
10790         grfx::GCache::changeDisplay. The method no longer exists now that the
10791         pixmap generation part of the graphics loader has been moved into
10792         InsetGraphics.
10793
10794 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * text2.C: layout as layout
10797
10798         * text.C: layout as layout
10799
10800         * tabular.C (OldFormatRead): layout as layout
10801
10802         * paragraph_pimpl.C (TeXDeeper): layout as layout
10803         (realizeFont): layout as layout
10804
10805         * paragraph.C (writeFile): layout as layout
10806         (validate): layout as layout
10807         (getFont): layout as layout
10808         (getLabelFont): layout as layout
10809         (getLayoutFont): layout as layout
10810         (breakParagraph): layout as layout
10811         (stripLeadingSpaces): layout as layout
10812         (getEndLabel): layout as layout
10813         (getMaxDepthAfter): layout as layout
10814         (applyLayout): layout as layout
10815         (TeXOnePar): layout as layout
10816         (simpleTeXOnePar): layout as layout
10817         (TeXEnvironment): layout as layout
10818         (layout): layout as layout
10819         (layout): layout as layout
10820
10821         * lyxtextclass.C (compare_name): new functor to work with
10822         shared_ptr, layout as layout
10823         (Read): layout as layout
10824         (hasLayout): layout as layout
10825         (operator): layout as layout
10826         (delete_layout): layout as layout
10827         (defaultLayout): layout as layout
10828
10829         * lyxlayout_ptr_fwd.h: new file
10830
10831         * lyxlayout.C (Read): layout as layout
10832
10833         * lyx_cb.C (MenuInsertLabel): layout as layout
10834
10835         * bufferlist.C (newFile): layout as layout
10836
10837         * buffer.C (readLyXformat2): layout as layout
10838         (parseSingleLyXformat2Token): layout as layout
10839         (insertStringAsLines): layout as layout
10840         (asciiParagraph): layout as layout
10841         (latexParagraphs): layout as layout
10842         (makeLinuxDocFile): layout as layout
10843         (simpleLinuxDocOnePar): layout as layout
10844         (makeDocBookFile): layout as layout
10845         (simpleDocBookOnePar): layout as layout
10846         (getLists): layout as layout
10847
10848         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10849
10850         * CutAndPaste.C (cutSelection): layout as layout
10851         (pasteSelection): layout as layout
10852         (SwitchLayoutsBetweenClasses): layout as layout
10853
10854         * BufferView_pimpl.C (Dispatch): layout as layout
10855         (smartQuote): layout as layout
10856
10857         * BufferView2.C (unlockInset): layout as layout
10858
10859 2002-06-24  André Pönitz <poenitz@gmx.net>
10860
10861         * lyxfunc.C: fix #487
10862
10863 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * lyxrc.h:
10866         * lyxrc.C:
10867         * lyxfunc.C: remove display_shortcuts, show_banner
10868
10869 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * Buffer_pimpl.C: oops, update on resize
10872
10873 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * buffer.C:
10876         * converter.C:
10877         * exporter.C:
10878         * lyxfunc.C:
10879         * BufferView.h:
10880         * BufferView.C: use repaint()
10881
10882         * BufferView_pimpl.h:
10883         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10884           as it's a clearer description. Remove superfluous
10885           redraws.
10886
10887 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * text.C: fix bug 488. Not ideal, but getting
10890           getWord() to work properly for the insets that
10891           matter is more difficult ...
10892
10893 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * BufferView_pimpl.C:
10896         * LyXAction.C:
10897         * commandtags.h:
10898         * lyxfunc.C: remove the six million index lyxfuncs to just
10899           one, and DTRT (bug 458)
10900
10901 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * BufferView.h:
10904         * BufferView.C:
10905         * BufferView_pimpl.h:
10906         * BufferView_pimpl.C: clean up resize() stuff,
10907           and unnecessary updateScreen()s
10908
10909 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * BufferView.h:
10912         * BufferView.C:
10913         * BufferView_pimpl.h:
10914         * BufferView_pimpl.C:
10915         * lyxfind.h:
10916         * lyxfind.C:
10917         * minibuffer.C: remove focus management of workarea,
10918           not needed. Use screen's greyOut()
10919
10920 2002-06-17  Herbert Voss  <voss@lyx.org>
10921
10922         * converter.C: (convert) do not post a message, when converting
10923         fails, let the calling function decide what to do in this case
10924
10925 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * lyxfunc.C: tidy up a little
10928
10929 2002-06-16    <alstrup@diku.dk>
10930
10931         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10932         Got rid of FORMS_H_LOCATION include. Now we are
10933         GUII.
10934
10935 2002-06-15  LyX Development team  <lyx@rilke>
10936
10937         * buffer.[Ch] (sgmlOpenTag):
10938         (sgmlCloseTag): Added support for avoiding pernicious mixed
10939         content. Return number of lines written.
10940
10941         (makeLinuxDocFile):
10942         (makeDocBookFile): Fixed calls to sgml*Tag.
10943         Simple white space clean.
10944
10945         (simpleDocBookOnePar): Simple white space clean.
10946
10947         * tabular.[Ch] (docBook): Renamed to docbook and got another
10948         argument to related with the pernicious mixed content.
10949
10950         (docbookRow): Fixed calls for docbook inset method.
10951
10952 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10953
10954         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10955         so it's X11 independent.
10956
10957         * kb*.[Ch]: ditto.
10958
10959         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10960
10961 2002-06-15  Lyx Development team  <lyx@electronia>
10962
10963         * intl.h: Renamed getTrans to getTransManager.
10964
10965 2002-06-14  Angus Leeming  <leeming@lyx.org>
10966
10967         * Makefile.am: nuke forgotten stl_string_fwd.h.
10968
10969 2002-06-12  Angus Leeming  <leeming@lyx.org>
10970
10971         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10972
10973 2002-06-13  Angus Leeming  <leeming@lyx.org>
10974
10975         * LaTeX.C:
10976         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10977
10978 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10979
10980         * kbmap.C (getiso): add support for cyrillic and greek
10981
10982 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * BufferView.h:
10985         * BufferView.C:
10986         * BufferView_pimpl.h:
10987         * BufferView_pimpl.C: move bogus scrolling logic
10988           to xforms
10989
10990 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * lyxfunc.C:
10993         * BufferView_pimpl.C: view->resize() change
10994
10995 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView_pimpl.C: topCursorVisible
10998           prototype change
10999
11000 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * Makefile.am:
11003         * lyx_gui.h:
11004         * lyx_gui.C: move to frontends/
11005
11006         * main.C:
11007         * lyx_main.h:
11008         * lyx_main.C: changes from above
11009
11010 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * intl.C:
11013         * intl.h:
11014         * kbmap.C:
11015         * kbsequence.C:
11016         * lyx_cb.C:
11017         * lyx_main.C: minor tidy
11018
11019 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * BufferView_pimpl.h:
11022         * BufferView_pimpl.C:
11023         * BufferView.h:
11024         * BufferView.C: make painter() const,
11025           remove dead code
11026
11027         * BufferView2.C: use screen() accessor
11028
11029         * lyx_main.h:
11030         * lyx_main.C: some minor cleanup
11031
11032 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * BufferView_pimpl.h:
11035         * BufferView_pimpl.C: remove enter/leaveView,
11036           use workHeight()
11037
11038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * BufferView.h:
11041         * BufferView.C:
11042         * BufferView2.C:
11043         * BufferView_pimpl.h:
11044         * BufferView_pimpl.C: only construct screen once,
11045           rename
11046
11047         * lyxrc.C: remove pointless comment
11048
11049 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11050
11051         * BufferView.h:
11052         * BufferView.C: remove active() and belowMouse()
11053
11054         * BufferView_pimpl.h:
11055         * BufferView_pimpl.C: use workarea() not workarea_,
11056           and make it use a scoped_ptr instead
11057
11058 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * lyx_gui.C: add debug message on BadWindow
11061
11062 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11063
11064         * sp_spell.C: fdopen is not part of the C++ standard.
11065
11066         * paragraph.C (InsetIterator): use >= instead of ==
11067
11068 2002-06-07  Angus Leeming  <leeming@lyx.org>
11069
11070         Fixes needed to compile with Compaq cxx 6.5.
11071         * BufferView_pimpl.C:
11072         * DepTable.C:
11073         * buffer.C:
11074         * converter.C:
11075         * encoding.C:
11076         * lyx_gui.C:
11077         * lyx_main.C:
11078         * lyxtextclasslist.C:
11079         * minibuffer.C:
11080         * sp_spell.C:
11081         * tabular_funcs.C:
11082         * vc-backend.C:
11083         all c-library variables have been moved into namespace std. Wrap
11084         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11085
11086         * lyxlength.C:
11087         * tabular-old.C:
11088         * tabular.C:
11089         Add a using std::abs declaration.
11090
11091         * kbmap.h (modifier_pair):
11092         * paragraph.h (InsetTable, InsetList):
11093         * lyxfont.h (FontBits):
11094         type definition made public.
11095
11096         * bufferlist.C (emergencyWriteAll): the compiler complains that
11097         there is more than one possible lyx::class_fun template to choose from.
11098         I re-named the void specialisation as lyx::void_class_fun.
11099
11100         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11101
11102         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11103         the compiler is is unable to find tostr in write_attribute.
11104
11105 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * buffer.C (sgmlError): hide #warning
11108
11109 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * xtl/*: get rid of xtl, which is not in use anyway
11112
11113         * LyXAction.C (init):
11114         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11115         were unimplemented xtl experimentation
11116
11117 2002-06-04  André Pönitz <poenitz@gmx.net>
11118
11119         * lyxfunc.C: disable array operation on simple formulae
11120
11121 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * converter.C: constify a bit
11124
11125 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * lyx_gui.C: check xforms version correctly
11128
11129 2002-04-30  Herbert Voss  <voss@lyx.org>
11130
11131         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11132         "keep" option
11133
11134 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11135
11136         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11137           attempt to register it with a VCS)
11138
11139 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * lyx_main.C (init): honor variables LYX_DIR_13x and
11142         LYX_USERDIR_13x
11143
11144 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11145
11146         * buffer.h:
11147         * buffer.C:
11148         * lyx_main.C: fix a crash on bad command line,
11149           and give a useful exit status on error
11150
11151         * lyxfunc.C (doImport): allow -i lyx to work
11152
11153 2002-03-30  André Pönitz <poenitz@gmx.net>
11154
11155         * lyxfunc.C: mathed font changes
11156
11157 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * LaTeX.C:
11160         * importer.h:
11161         * importer.C:
11162         * lyx_sty.h:
11163         * lyx_sty.C:
11164         * lyxlex.C:
11165         * lyxrow.h:
11166         * lyxtext.h:
11167         * paragraph.h:
11168         * paragraph.C:
11169         * texrow.h:
11170         * texrow.C:
11171         * text.C:
11172         * trans_mgr.h: srcdocs, and some minor cleanups
11173
11174 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11177         call getFont all the time)
11178
11179 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * switch from SigC signals to boost::signals
11182
11183 2002-05-29  André Pönitz <poenitz@gmx.net>
11184
11185         * paragraph_pimpl.C (getChar): don't call size() too often...
11186
11187 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * paragraph_pimpl.C (insertChar): do not try to update tables when
11190         appending (pos == size())
11191
11192         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11193         in order to reduce drastically the number of comparisons needed to
11194         parse a large document
11195
11196 2002-05-29  André Pönitz <poenitz@gmx.net>
11197
11198         * text.C:
11199         * text2.C:
11200         * lyxtextclass.C:
11201         * sp_pspell.h:
11202         * textclasslist.[Ch]:
11203         * sp_ispell.h: whitespace change
11204
11205 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11208         lyxaction directly now.
11209
11210 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * trans.C:
11213         * lyxfont.C:
11214         * lyxvc.C: remove unused headers
11215
11216 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * Makefile.am:
11219         * buffer.h:
11220         * undostack.h:
11221         * undostack.C:
11222         * undo_funcs.h:
11223         * undo_funcs.C: some cleanups. Use shared_ptr
11224           and a template for the undo stacks.
11225
11226 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * BufferView_pimpl.h:
11229         * BufferView_pimpl.C:
11230         * kbmap.h:
11231         * kbmap.C:
11232         * kbsequence.h:
11233         * kbsequence.C:
11234         * lyxfunc.h:
11235         * lyxfunc.C:
11236         * text2.C: use key_state/mouse_state
11237
11238 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11241         and LSubstring
11242
11243         * chset.C: change include order
11244         (loadFile): use boost regex and get rid of LRegex and LSubstring
11245
11246         * Makefile.am (BOOST_LIBS): new variable
11247         (lyx_LDADD): use it
11248
11249         * LaTeX.C: change include order.
11250         (scanAuxFile): use boost regex and get rid of LRegex and
11251         LSubstring
11252         (deplog): ditto
11253
11254 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * ColorHandler.h:
11257         * ColorHandler.C:
11258         * FontInfo.h:
11259         * FontInfo.C: moved to frontends/xforms/
11260
11261         * FontLoader.h:
11262         * FontLoader.C: moved into frontends for GUIIzation
11263
11264         * Makefile.am:
11265         * lyx_gui.C:
11266         * lyxfont.C:
11267         * lyxfunc.C: changes from above
11268
11269 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * LColor.C: remove spurious X include
11272
11273         * BufferView_pimpl.C:
11274         * Makefile.am:
11275         * font.h:
11276         * font.C:
11277         * text.C:
11278         * text2.C: move font metrics to frontends/
11279
11280 2002-05-24  Juergen Vigna  <jug@sad.it>
11281
11282         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11283         setting the undo_cursor.
11284
11285         * ParagraphParameters.h: include local includes first.
11286
11287 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * BufferView_pimpl.C:
11290         * BufferView_pimpl.h:
11291         * Makefile.am:
11292         * WorkArea.h:
11293         * WorkArea.C:
11294         * screen.C: move WorkArea into frontends/
11295
11296         * lyxscreen.h:
11297         * screen.C:
11298         * text.C:
11299         * BufferView.C:
11300         * BufferView2.C: move LyXScreen into frontends/
11301
11302         * lyxlookup.h:
11303         * lyxlookup.C:
11304         * lyx_gui.C: move lyxlookup into frontends/xforms/
11305
11306 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView2.C:
11309         * BufferView_pimpl.C:
11310         * FontLoader.C:
11311         * LyXView.h:
11312         * LyXView.C:
11313         * Makefile.am:
11314         * WorkArea.C:
11315         * XFormsView.h:
11316         * XFormsView.C:
11317         * buffer.C:
11318         * bufferlist.C:
11319         * bufferview_funcs.C:
11320         * converter.C:
11321         * importer.C:
11322         * lyx_cb.C:
11323         * lyx_gui.C:
11324         * lyx_main.C:
11325         * lyx_find.C:
11326         * lyxfunc.C:
11327         * lyxvc.C:
11328         * minibuffer.C:
11329         * text.C:
11330         * text2.C:
11331         * trans.C:
11332         * vc-backend.C: move LyX/XFormsView into frontends/
11333
11334 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * Makefile.am:
11337         * PainterBase.C:
11338         * PainterBase.h:
11339         * Painter.C:
11340         * Painter.h:
11341         * WorkArea.C:
11342         * WorkArea.h:
11343         * screen.C:
11344         * tabular.C:
11345         * text.C:
11346         * text2.C: move Painter to frontends/
11347
11348 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * buffer.C: comment out some some code that depend upon lyx_format
11351         < 220
11352
11353         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11354         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11355
11356         * buffer.h (NO_COMPABILITY): turn off compability
11357
11358         * ColorHandler.C: include scoped_array.hpp
11359
11360         * font.C: Use more specific smart_ptr header.
11361         * Painter.C: ditto
11362         * gettext.C: ditto
11363         * ShareContainer.h: ditto
11364         * lyx_main.h: ditto
11365         * kbmap.h: ditto
11366         * FontInfo.h: ditto
11367         * BufferView_pimpl.h: ditto
11368         * ColorHandler.h: ditto
11369
11370         * kbmap.C (defkey): change call to shared_ptr::reset
11371
11372 2002-05-21  Juergen Vigna  <jug@sad.it>
11373
11374         * buffer.C (insertErtContents): fix to insert ert asis if it is
11375         non empty. Skip it completely if it contains only whitespaces.
11376
11377 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * BufferView_pimpl.C:
11380         * BufferView2.C: clear selection on paste (bug 393)
11381
11382 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11383
11384         * DepTable.C: include ctime
11385
11386 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11389
11390 2002-05-14  Juergen Vigna  <jug@sad.it>
11391
11392         * text.C (breakParagraph): fixed function to honor the keepempty
11393         layout in the right maner and also to permit the right breaking
11394         algorithm on empty or non empyt keepempty paragraphs.
11395
11396         * paragraph.C (breakParagraph): we have to check also if the par
11397         is really empty (!size()) for isempty otherwise we do the wrong
11398         paragraph break.
11399
11400 2002-05-10  Juergen Vigna  <jug@sad.it>
11401
11402         * buffer.[Ch] : The following are only changes to the ert
11403         compatibility read reading old LaTeX layout and font stuff and
11404         convert it to ERTInsets.
11405
11406         * buffer.h: added isErtInset().
11407
11408         * buffer.C (struct ErtComp): add a fromlayout bool to check
11409         if we're inside a LaTeX layout.
11410         (isErtInset): new helper function.
11411         (insertErtContents): look for other ert insets before this one
11412         and insert the contents there, so that we don't have subsequent
11413         ERT insets with nothing between them. This way we create only one
11414         inset with multiple paragraphs. Also check if we don't insert only
11415         spaces ' ' as they are ignored anyway afterwards in the .tex file
11416         so if we have only spaces we will ignore this latex part in the
11417         new file.
11418         (parseSingleLyXformat2Token \\layout): better compatibility when
11419         reading layout-latex stuff.
11420         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11421         language tag.
11422         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11423         stuff after reading the inset only get the information back from
11424         the stack.
11425
11426 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11429
11430         * LaTeXFeatures.C (getBabelOptions): New method.
11431
11432 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * BufferView_pimpl.C (Dispatch): work around missing argument for
11435         'layout'
11436
11437 2002-05-08  Juergen Vigna  <jug@sad.it>
11438
11439         * text.C (leftMargin): handle paragraph leftindent.
11440
11441         * paragraph.C (writeFile): write the new \\leftindent tag.
11442         (validate): handle leftindent code.
11443         (TeXEnvironment): handle paragraphleftindent code again.
11444
11445         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11446
11447         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11448         for paragrap_extra indent code and new token \\leftindent.
11449         (latexParagraphs): handle the leftindent as environment.
11450
11451         * ParameterStruct.h: added leftindent support.
11452
11453         * ParagraphParameters.C (leftIndent): added support functions for
11454         the paragraph left indent.
11455
11456         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11457         more appropriate.
11458
11459 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11462         inside insetERT.
11463
11464         * text.C (computeBidiTables): No bidi in insetERT.
11465
11466         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11467         in RTL documents.
11468
11469 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * version.C.in: pre 5
11472
11473 2002-05-02  José Matos  <jamatos@fep.up.pt>
11474         * buffer.C (makeDocBookFile): white space changes, add newline to
11475         command styles.
11476         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11477
11478         * tabular.C (docBook): fix typo.
11479
11480 2002-05-03  Juergen Vigna  <jug@sad.it>
11481
11482         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11483         change in LyXText as we can not be sure it was not freed.
11484         (drawOneRow): remove unused code.
11485
11486         * text.C (drawInset): redo the calculation of the need_break_row as
11487         it could have a row which was already freed.
11488         (draw): look at the return value of drawInset and return false if
11489         it also returned false.
11490         (paintRowText): look at the return value of draw and return false if
11491         it also returned false.
11492
11493         * lyxtext.h: added bool return type to drawInset() and draw() so that
11494         if we have a change in the row so that the rowbreak has to be redone
11495         we abort drawing as it will be called again.
11496
11497 2002-05-02  Juergen Vigna  <jug@sad.it>
11498
11499         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11500         a change in the maintext also if we're inside an inset.
11501         (Dispatch): set the cursor again after a break line and after the
11502         screen has been updated as it could be we're in a different row.
11503
11504         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11505         to set the cursor behind the pargraph with > size().
11506         (setCursor): check also for the same paragraph when checking where
11507         to put the cursor if we have a NFR inset.
11508
11509         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11510         parts of layout read further up as it still was in the wrong
11511         position.
11512
11513 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * screen.C (drawFromTo): change sine fullRebreak always return
11516         true.
11517
11518         * buffer.C (parseSingleLyXformat2Token): reindent some
11519
11520         * BufferView_pimpl.C (update): change since fullRebreak always
11521         return true.
11522         (Dispatch): git rid of the last hardcoded "Standard"s.
11523
11524 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * text2.[Ch] (fullRebreak): make it return void now that we always
11527         returned true.
11528
11529 2002-04-30  Juergen Vigna  <jug@sad.it>
11530
11531         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11532         ert compatibility check for "latex" layout.
11533
11534 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11537         minipages: use col% instead of p%, and also use the current font.
11538         (makeLaTeXFile): Fix use babel condition.
11539         (parseSingleLyXformat2Token): Correct font when reading old floats.
11540
11541 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11542
11543         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11544         inserting list of floats.
11545
11546 2002-04-25  Herbert Voss  <voss@lyx.org>
11547
11548         * MenuBackend.C (expand): don't add the graphics extensions to the
11549         export menu
11550
11551 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11552
11553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11554         non-existing layout, do not complain if it was the default layout
11555         of the original class (bug #342)
11556
11557 2002-04-24  Juergen Vigna  <jug@sad.it>
11558
11559         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11560         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11561
11562 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11563
11564         * buffer.C (getBibkeyList): If using \bibliography, return the
11565         option field with the reference itself. Enables us to provide natbib
11566         support when using \bibliography.
11567
11568 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11569
11570         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11571
11572         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11573         natbib is provided by the LaTeX class.
11574
11575 2002-04-23  Juergen Vigna  <jug@sad.it>
11576
11577         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11578         Wakeup functions.
11579
11580         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11581
11582 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11585
11586         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11587         ensuremath around textordmasculine, textordfeminine and
11588         textdegree.
11589
11590 2002-04-19  Juergen Vigna  <jug@sad.it>
11591
11592         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11593         reinitializing the buffer otherwise row-dimensions may be wrong.
11594         (update): reset also the selection cursors if they do exits otherwise
11595         their x/y positions may be wrong.
11596
11597         * text2.C (cursorDown): don't enter the inset if we came from a row
11598         above and are one row over the inset.
11599
11600         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11601         really leaving an inset.
11602
11603 2002-04-18  Juergen Vigna  <jug@sad.it>
11604
11605         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11606         of the selected paragraph does not have the selected layout also if
11607         the last one had!
11608
11609         * text2.C (setLayout): fixed bug which did not change last selected
11610         paragraph.
11611
11612         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11613         changed the read and substituted \\end_float with \\end_inset!
11614
11615         * BufferView_pimpl.C (cursorPrevious):
11616         (cursorNext): fixed to make it work with rows heigher than the work
11617         area without moving the cursor only the draw of the row.
11618         (workAreaMotionNotify): fix jumping over high rows.
11619
11620 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11623         Ressler.
11624
11625 2002-04-16  Juergen Vigna  <jug@sad.it>
11626
11627         * text2.C (setCursor): set also the irow().
11628         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11629         (cursorUp):
11630         (cursorDown): support for locking an inset if the x_fix value goes
11631         inside it. That way I can transverse insets too with cursor up/down.
11632
11633         * lyxrow.h: added irow helper function same as other (i) functions.
11634
11635         * BufferView_pimpl.C (cursorPrevious):
11636         (cursorNext): fixed for insets!
11637
11638 2002-04-15  Juergen Vigna  <jug@sad.it>
11639
11640         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11641         position otherwise it is wrong in some cases.
11642
11643         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11644         inside the inset before the call.
11645
11646 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11647
11648         * buffer.[Ch] (getBibkeyList): make it const.
11649
11650 2002-04-12  Juergen Vigna  <jug@sad.it>
11651
11652         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11653
11654         * text2.C (getCursorX): new helper function
11655         (setCursor): compute also ix_
11656         (setCursorFromCoordinates): set also ix.
11657
11658         * lyxcursor.h: added ix_ and helper functions.
11659
11660         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11661
11662         * buffer.C (insertStringAsLines): dont break paragraph if the this
11663         paragraph is inside an inset which does not permit it!
11664
11665         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11666         also with no chars on this paragraph.
11667         (paintRowText): only paint stuff if it's inside the workarea!
11668
11669         * paragraph.C (breakParagraph): honor keepempty flag and break the
11670         paragraph always below not above.
11671
11672         * BufferView2.C (unlockInset): update the paragraph layout on inset
11673         unlock as we changed paragraph in such a case.
11674
11675         * lyxfind.C (LyXFind): clear the former selection if not found!
11676
11677         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11678         again called in insertChar().
11679
11680         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11681         an inset which uses the whole row!
11682         (rightMargin): ditto.
11683         (insertChar): force a rebreak if we inserted an inset!
11684
11685 2002-03-28  Herbert Voss  <voss@lyx.org>
11686
11687         * lyxlength.[Ch]: add inBP() to get the right PS-point
11688         units (BigPoint). With inPixels we have rounding errors
11689
11690 2002-04-11  Juergen Vigna  <jug@sad.it>
11691
11692         * text2.C (setCursorFromCoordinates): set iy to the right value.
11693         (setCursor): add check if row->previous exists!
11694
11695         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11696         an old float_type as this was the case in the old code!
11697
11698         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11699
11700         * BufferView2.C (showLockedInsetCursor): use iy
11701         (fitLockedInsetCursor): ditto
11702
11703         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11704         locked insets as there we have the right value now.
11705
11706         * lyxcursor.C: added iy_ variable and iy functions to set to the
11707         baseline of cursor-y of the locked inset.
11708
11709         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11710         (setCursor): fixed for insets which need a full row.
11711
11712         * text.C (rowLastPrintable): don't ignore the last space when before
11713         an inset which needs a full row.
11714         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11715         as last character of a row when before a inset which needs a full row.
11716
11717 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * version.C.in: update date
11720
11721         * text2.C (fullRebreak): try to always return true and see what
11722         happens...
11723
11724 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * MenuBackend.C (expand): use Floating::listName
11727
11728         * FloatList.C (FloatList): add listName argument to the built-in
11729         floats
11730
11731         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11732         text associated with the float.
11733
11734 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11737
11738 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * ShareContainer.h: add a couple of missing typenames.
11741
11742 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11743
11744         * lyxrc.C (getDescription): use _() correctly rather than N_().
11745
11746 2002-03-28  Herbert Voss  <voss@lyx.org>
11747
11748         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11749         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11750
11751 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11754         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11755
11756 2002-03-29  Juergen Vigna  <jug@sad.it>
11757
11758         * lyxfunc.C (dispatch): add a missing fitCursor call.
11759
11760         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11761         it was scrolled by a cursor move, so return the bool status.
11762
11763         * BufferView.C (fitCursor): return the bool flag also to the outside
11764         world as this is needed.
11765
11766         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11767
11768         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11769         call the edit() as it is not needed (and wrong) IMO.
11770         (workAreaButtonPress): set the screen_first variable before evt.
11771         unlock the inset as this may change screen_first and then we have
11772         a wrong y position for the click!
11773
11774 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11775
11776         * MenuBackend.C (expand): another translation that I missed
11777
11778 2002-03-28  Juergen Vigna  <jug@sad.it>
11779
11780         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11781
11782         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11783
11784 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11787
11788         * MenuBackend.C (expand): fix export/view/update when there is no
11789         document open.
11790
11791 2002-03-27  Herbert Voss  <voss@lyx.org>
11792
11793         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11794         and text%
11795
11796 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11797
11798         * bufferview_funcs.C (currentState): only show paragraph number
11799         for is DEVEL_VERSION is set.
11800
11801         * lyxfunc.C (dispatch): put warning in INFO channel
11802
11803         * MenuBackend.C (expand): translate the name of floats
11804
11805         * FloatList.C (FloatList): mark the float names for translation
11806
11807         * converter.C (convert): use LibScriptSearch
11808
11809 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * MenuBackend.C (defaults): fix default menu (we might as well get
11812         rid of it...)
11813
11814 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11817         directory.
11818
11819 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * lyxvc.C: reorder includes.
11822
11823 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11826           properly
11827
11828 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * CutAndPaste.C: change layouts earlier on paste
11831           to avoid crashing when calling getFont()
11832
11833 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11834
11835         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11836         irritating #error.
11837
11838 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * WorkArea.C: remove 'Pending' debug message.
11841
11842         * most files: ws cleanup
11843
11844         * buffer.[Ch]: ws changes
11845
11846         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11847
11848 2002-03-21  Juergen Vigna  <jug@sad.it>
11849
11850         * tabular.C (SetMultiColumn): collapse also the contents of the
11851         cells and set the last border right. Added a Buffer const * param.
11852
11853 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11856         linking or not.
11857
11858 2002-03-19  Juergen Vigna  <jug@sad.it>
11859
11860         * text2.C (clearSelection): reset also xsel_cache.
11861
11862         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11863         where it needs to be called (John tells us to do so too :)
11864         (selectionLost): reset sel_cache.
11865
11866         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11867
11868 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11869
11870         * text2.C (setCursorIntern): put debuging code in INSETS channel
11871
11872 2002-03-19  André Pönitz <poenitz@gmx.net>
11873
11874         * lyxfunc.C: tiny whitespace change
11875
11876 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * ToolbarDefaults.C (init):
11879         * LyXAction.C (init):
11880         * commandtags.h:
11881         * BufferView_pimpl.C (Dispatch):
11882         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11883
11884 2002-03-19  Allan Rae  <rae@lyx.org>
11885
11886         * exporter.C (Export): removeAutoInsets before doing anything else.
11887         While I've just introduced a dependency on BufferView this really is
11888         the best place to clean the buffer otherwise you need to cleanup in
11889         a dozen places before calling export or cleanup in a dozen functions
11890         that export calls.
11891
11892         * converter.C (runLaTeX):
11893         (scanLog): Better handling of removeAutoInsets and screen updates.
11894
11895         * lyxfunc.C (dispatch): small whitespace changes
11896
11897 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * WorkArea.C (C_WorkAreaEvent): return a value.
11900         (event_cb): return 1 if we handled the event, 0 otherwise.
11901
11902         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11903
11904 2002-03-18  Juergen Vigna  <jug@sad.it>
11905
11906         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11907         (GetAdditionalWidth): ditto.
11908         (RightLine): ditto.
11909         (LeftLine): ditto.
11910
11911         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11912         inset if we're there actually (probably not used right now but this
11913         is the direction to go for unifying code).
11914         (paste): disable code to clear the selection.
11915
11916         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11917         inside an InsetText and move the check further up as it is in the
11918         wrong place.
11919
11920         * text2.C (pasteSelection): set a selection over the pasted text.
11921
11922 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11923
11924         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11925         and libgraphics to build on Cygwin.
11926
11927 2002-03-15  Juergen Vigna  <jug@sad.it>
11928
11929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11930         inserting an Inset into the paragraph. I know this is not the best
11931         fix but we already use current_view in CutAndPaste so we will remove
11932         all of it's using at the same time.
11933
11934         * buffer.C (sgmlError): deactivated function till it is rewritten in
11935         the right mode, now it can create problems.
11936
11937         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11938         before accessing it.
11939
11940 2002-03-14  Juergen Vigna  <jug@sad.it>
11941
11942         * undo_funcs.C (textHandleUndo): do the right thing when updating
11943         the inset after the undo/redo.
11944
11945         * text2.C (setCursor): just some testcode for #44 not ready yet.
11946
11947         * undo_funcs.C (textHandleUndo): set the next() and previous()
11948         pointers of the paragraph to 0 before deleting otherwise we have
11949         problems with the Paragraph::[destructor].
11950
11951         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11952         on a paragraph insertion.
11953
11954 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * buffer.C (asciiParagraph): use += operator for char append to
11957         string.
11958
11959         * paragraph.C (getFontSettings): compare >= not just >
11960         (highestFontInRange): ditto
11961         (setFont): ditto
11962
11963 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * paragraph.C: change several algorithm to be more appripriate for
11966         the problem domain. This is lookip in FontList and in the InsetList.
11967
11968 2002-03-13  André Pönitz <poenitz@gmx.net>
11969
11970         * commandtags.h:
11971         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11972
11973 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * commandtags.h:
11976         * LyXAction.C:
11977         * lyxfunc.C:
11978         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11979
11980 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * Painter.C (display): anon helper function, adjust code for this
11983         change.
11984         (pixmap): remove function.
11985
11986         * Painter.h: remove private display variable.
11987
11988         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11989
11990 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * WorkArea.[Ch]: remove figinset_canvas cruft.
11993
11994 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11995
11996         * lyxtextclass.C (operator): add one item cache optimization.
11997
11998         * bufferlist.h: doxy changes
11999
12000         * bufferlist.C: ws changes
12001
12002         * DepTable.[Ch] (ext_exist): place const in the right spot.
12003
12004         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12005         call resizeInsets.
12006         (workAreaExpose): call resizeInsets when the with BufferView changes.
12007         (Dispatch): adjust for protectedBlank removal
12008         (specialChar): call updateInset if the insert went ok.
12009
12010         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12011         specialChar instead.
12012
12013         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12014
12015         * BufferView.h: doxy change
12016
12017         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12018
12019         * lyxtextclass.C (operator[]): remove non-const version
12020         (defaultLayout): remove non-const version
12021
12022 2002-03-12  Juergen Vigna  <jug@sad.it>
12023
12024         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12025         did resize the LyXText too.
12026
12027         * buffer.C (readLyXformat2): set layout information on newly allocated
12028         paragraphs.
12029
12030         * tabular.C (OldFormatRead): set layout information on the paragraph.
12031
12032 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12033
12034         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12035
12036 2002-03-11  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12039         plainly wrong.
12040         (resizeCurrentBuffer): force also the insets to resize themselfes.
12041         (moveCursorUpdate): fixed up for InsetText.
12042
12043 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * commandtags.h:
12046         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12047         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12048         value of Dialogs::tooltipsEnabled().
12049         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12050
12051 2002-03-08  Juergen Vigna  <jug@sad.it>
12052
12053         * BufferView_pimpl.C (updateInset): update inset inside inset also
12054         if it isn't inside theLockingInset().
12055
12056 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * buffer.C (asciiParagraph): redo some of the word and line length
12059         handling.
12060         (getLists): look for Caption instead of caption.
12061
12062 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * buffer.C (Buffer): initialize niceFile to true
12065         (makeLaTeXFile):
12066         (makeLinuxDocFile):
12067         (makeDocBookFile): make sure niceFile is true on exit
12068
12069 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12070
12071         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12072
12073 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * LyXSendto.C: remove.
12076         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12077         * lyx_gui.C: remove now-redundant comment.
12078         * ColorHandler.h: remove forward declaration of class WorkArea.
12079         * lyxfunc.C: remove #include "WorkArea.h".
12080
12081 2002-03-07  Juergen Vigna  <jug@sad.it>
12082
12083         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12084         got moved away with the DEPM and also set the inset_owner always
12085         right which before could have been omitted.
12086
12087 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12090         wanted layout is not found.
12091
12092 2002-03-07  Juergen Vigna  <jug@sad.it>
12093
12094         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12095
12096 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * paragraph.C (breakParagraph): use default layout not layout of
12099         prev paragraph.
12100         (Paragraph): clear ParagraphParameters.
12101
12102 2002-03-06  Juergen Vigna  <jug@sad.it>
12103
12104         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12105         otherwise it would not be a valid lenght. Fixed a special case in
12106         the minipage compatibility read where we end the document with a
12107         minipage.
12108
12109         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12110         was set as it could be 0 for InsetTexts first entry.
12111
12112 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12113
12114         * paragraph.C (writeFile): if layout is empty write out
12115         defaultLayoutName().
12116
12117         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12118         file without named layout we set layout to defaultLayoutName().
12119
12120 2002-03-06  Juergen Vigna  <jug@sad.it>
12121
12122         * CutAndPaste.C (copySelection): set layout for new paragraph.
12123
12124         * text.C (prepareToPrint): leave ERT inset left aligned
12125         (leftMargin): don't indent paragraphs inside ERT insets
12126
12127 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * paragraph.C (breakParagraph): dont call clear do the work manually
12130
12131         * paragraph.[Ch] (clear): remove function
12132
12133 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * paragraph.C (Paragraph): dont call clear, the work has already
12136         been done.
12137
12138         * lyxtextclass.C (operator): assert if n is empty
12139
12140         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12141         work manually instead.
12142
12143 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * BufferView_pimpl.C: protect selectionLost against text == 0
12146
12147 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * text.C (breakParagraph): fix a setting layout to '0' problem.
12150
12151 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12152
12153         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12154         final location of file, for the included files, and graphics.
12155
12156 2002-03-05  Juergen Vigna  <jug@sad.it>
12157
12158         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12159
12160 2002-03-04  Juergen Vigna  <jug@sad.it>
12161
12162         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12163
12164         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12165         last column of multicolumn cells.
12166         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12167
12168 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12169
12170         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12171         file if it doesn't go to a temporary file.
12172
12173         * buffer.C (sgmlOpenTag):
12174         (sgmlCloseTag):  remove extra newline insertion.
12175
12176 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * text.C (getRowNearY): comment out debug msg
12179
12180 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * text2.C: first -> first_y
12183
12184         * text.C (getRowNearY): add some attemts at a possible
12185         optimization, not working.
12186
12187         * tabular.[Ch]: add BufferParams to several function so that newly
12188         created paragraph can be initialized to he default layotu for the
12189         buffers textclass.
12190
12191         * tabular-old.C (ReadOld): add buf->params to call of Init
12192
12193         * screen.C: rename text->first to text->first_y
12194
12195         * paragraph.C (breakParagraph): always set layout in the broken
12196         paragraph
12197
12198         * lyxtextclass.C (Read): remove lowercase
12199         (hasLayout): ditto
12200         (operator): ditto
12201         (delete_layout): ditto
12202
12203         * lyxtext.h: rename first -> first_y
12204
12205         * lyxlayout.C (Read): remove lowercase
12206         (name): ditto
12207         (setName): ditto
12208         (obsoleted_by): ditto
12209
12210         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12211
12212         * buffer.C (insertErtContents): add params are to InsetERT
12213         (parseSingleLyXformat2Token): add code to check if a paragraphs
12214         layout really exist.
12215         (parseSingleLyXformat2Token): add params to several inset
12216         constructors
12217         (asciiParagraph): remove lowercase, do the layout comparisons with
12218         no_case
12219
12220         * BufferView_pimpl.C (cursorNext): first -> first_y
12221         (resizeCurrentBuffer): first -> first_y
12222         (updateScrollbar): first -> first_y
12223         (scrollCB): first -> first_y
12224         (workAreaMotionNotify): first -> first_y
12225         (workAreaButtonPress): first -> first_y
12226         (checkInsetHit): first -> first_y
12227         (cursorPrevious): first -> first_y
12228         (cursorNext): first -> first_y
12229         (Dispatch): add buffer_->params to severl inset contructors
12230
12231 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * lyxlayout.C (Read): remove some debug info that I forgot.
12234
12235         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12236         clean up the code slightly.
12237         (makeLinuxDocFile): ditto
12238         (makeDocBookFile): ditto
12239
12240         * text2.C: layout as string
12241
12242         * text.C: layout as string
12243
12244         * paragraph_pimpl.C: layout as string
12245
12246         * paragraph.[Ch]: layout as string
12247
12248         * lyxtextclasslist.[Ch]: layout as string
12249
12250         * lyxtextclass.[Ch]: layout as string
12251
12252         * lyxtext.h: layout as string
12253
12254         * lyxlayout.[Ch]: layout as string
12255
12256         * lyx_cb.C: layout as string
12257
12258         * bufferview_funcs.C: layout as string
12259
12260         * bufferparams.C: layout as string
12261
12262         * buffer.C: layout as string
12263
12264         * LyXView.[Ch]: layout as string
12265
12266         * LaTeXFeatures.[Ch]: layout as string
12267
12268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12269
12270         * BufferView_pimpl.C: change current_layout to string, remove
12271         lyx::layout_type.
12272         (Dispatch):
12273         (smartQuote):
12274         (insertInset):
12275         (workAreaButtonRelease): layout as string
12276
12277         * BufferView2.C (unlockInset): adjust
12278
12279         * vspace.C (asLatexCommand): use an explict temp variable.
12280
12281 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * Makefile.am: use FRONTEND_*
12284
12285 2002-03-01  Juergen Vigna  <jug@sad.it>
12286
12287         * tabular.C (SetWidthOfMulticolCell): changed to something better
12288         I hope but still work in progress.
12289         (recalculateMulticolumnsOfColumn): renamed function from
12290         recalculateMulticolCells as it is more appropriate now.
12291         (SetWidthOfCell): calculate multicols better.
12292
12293 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12294
12295         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12296
12297         * lyxfunc.C (processKeySym): print sequence also if it is
12298         `deleted' (complete)
12299
12300         * kbsequence.C (print): print sequence even if it is deleted
12301         (complete would be a better word, actually).
12302
12303         * lyxfunc.C (dispatch): print complete options after a prefix key
12304
12305         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12306
12307 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12308
12309         * text2.C (setCharFont): eliminate setCharFont code duplication.
12310
12311 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12314         LFUN_TABULAR_FEATURE (bug #177)
12315
12316 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12317
12318         * Makefile.am: remove figure.h
12319
12320 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12321
12322         * Bufferview_pimpl.C:
12323         * CutAndPasteC:
12324         * LaTeX.C:
12325         * LyXSendto.C:
12326         * buffer.C:
12327         * bufferlist.C:
12328         * converter.C:
12329         * language.C:
12330         * lyxfunc.C:
12331         * lyxvc.C:
12332         * paragraph.C:
12333         * text.C:
12334         * text2.C: remove #include "lyx_gui_misc.h".
12335
12336         * LaTeX.C: added #include <cstdio>
12337
12338 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12339
12340         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12341         that the paragraph following this one can have.
12342
12343         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12344
12345         * vspace.C (asLatexCommand): fix bogus gcc warning
12346
12347         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12348
12349 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12350
12351         * text2.C (setLayout): get rid of redundant code
12352
12353 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12354
12355         * text2.C (incDepth): make sure depth cannot be increased beyond
12356         reasonable values.
12357
12358 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12361         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12362
12363         * PainterBase.h (image):
12364         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12365         a LyXImage const *.
12366
12367 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * BufferView.C:
12370         * BufferView.h:
12371         * BufferView_pimpl.C:
12372         * BufferView_pimpl.h:
12373         * LaTeXFeatures.C:
12374         * LyXAction.C:
12375         * LyXView.C:
12376         * Makefile.am:
12377         * UpdateList.h:
12378         * UpdateList.C:
12379         * buffer.C:
12380         * figure.h:
12381         * figureForm.C:
12382         * figureForm.h:
12383         * figure_form.C:
12384         * figure_form.h:
12385         * lyx_cb.C:
12386         * lyx_gui.C:
12387         * lyx_gui_misc.C:
12388         * lyxfunc.C:
12389         * sp_base.h:
12390         * sp_ispell.h:
12391         * sp_pspell.h:
12392         * sp_spell.C: remove fig inset, and the crap house of
12393           cards that follows it
12394
12395 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * Makefile.am:
12398         * lyxserver.C:
12399         * os2_defines.h:
12400         * os2_errortable.h:
12401         * nt_defines.h: move .h into support/
12402
12403         * vms_defines.h: remove
12404
12405         * WorkArea.C: add space in debug output
12406
12407         * text2.C:
12408         * paragraph.C:
12409         * buffer.C: add WITH_WARNINGS
12410
12411         * vc-backend.h:
12412         * vc-backend.C:
12413         * bufferlist.C: s/retrive/retrieve/, add docs
12414
12415         * vspace.h:
12416         * vspace.C:
12417         * kbmap.h:
12418         * lyxlength.h:
12419         * lyxgluelength.h:
12420         * length_common.h:
12421         * chset.h:
12422         * chset.C: add docs
12423
12424         * lyxgui.C: add ID to X error handler
12425
12426         * lyxtestclass.c: fix typo
12427
12428 2002-02-26  Juergen Vigna  <jug@sad.it>
12429
12430         * tabular_funcs.C (write_attribute): changed so that some default
12431         attributes are not written at all.
12432         (getTokenValue): set default values before trying to read the
12433         value so we have the return value always set as default if we don't
12434         find the token we search for.
12435
12436         * tabular.C (Write): write bools as bools not as strings!
12437
12438 2002-02-22  Juergen Vigna  <jug@sad.it>
12439
12440         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12441         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12442
12443         * text.C (leftMargin): don't add an indent for paragraphs inside
12444         tabular cells (fix #208).
12445
12446 2002-02-21  José Matos  <jamatos@fep.up.pt>
12447
12448         * tabular.C (docBook): fixed support for long tables.
12449
12450 2002-02-20  Juergen Vigna  <jug@sad.it>
12451
12452         * text2.C (getFont): get the drawing font of the Inset if this
12453         paragraph is inside an inset (only important for InsetERT for now).
12454
12455         * buffer.C (insertErtContents): use new lanugage params in ERT
12456         constructor.
12457
12458         * CutAndPaste.C: commenting out seemingly uneeded code.
12459
12460 2002-02-19  Allan Rae  <rae@lyx.org>
12461
12462         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12463         Iterators might be simple to use but they also get invalidated.
12464         (removeAutoInsets): renamed saved cursor tracking variables and added
12465         some comments to clarify what everything does.
12466
12467 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * Chktex.C:
12470         * LaTeX.C:
12471         * LyXSendto.C:
12472         * converter.C:
12473         * lyx_cb.C:
12474         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12475         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12476
12477         * lyxfunc.C:
12478         * vc-backend.h: remove #include "support/syscall.h"
12479
12480         * LaTeX.C:
12481         * LyXSendto.C:
12482         * converter.C: rearrange #includes in Lars' approved fashion.
12483
12484         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12485         forward declare class Timeout in the header file.
12486
12487         * XFormsView.C: changes due to the above.
12488
12489         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12490         similar to LyXView.
12491
12492         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12493         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12494
12495 2002-02-18  José Matos  <jamatos@fep.up.pt>
12496
12497         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12498         insets contents.
12499
12500 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12501
12502         * a lot of small ws changes
12503         * add a lot of using std::XXX
12504         * use std construcs some places where approp.
12505         * use some exisint stuff from lyxfunctional where approp.
12506         * Make file changes to use partial linking (lets test this now...)
12507
12508 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12509
12510         * Chktex.C:
12511         * buffer.C:
12512         remove #include "support/syscontr.h" as it's redundant. Always has been.
12513
12514         * Chktex.C:
12515         * LaTeX.C:
12516         * LyXSendto.C:
12517         * converter.C:
12518         * lyx_cb.C:
12519         * vc-backend.C:
12520         change Systemcalls::System to Systemcalls::Wait and
12521         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12522         No change of functionality, just reflects the stripped down Systemcalls
12523         class.
12524
12525 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * debug.[Ch]: add a GRAPHICS type to the enum.
12528
12529 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12532
12533         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12534         there is an inset.
12535
12536 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12537
12538         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12539         match the changes below.
12540
12541         * text2.C (toggleInset): if there is not editable inset at cursor
12542         position, try to see if cursor is _inside_ a collapsable inset
12543         and close it.
12544
12545 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12548         document menu has a nice checkbox
12549
12550 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * lyxlength.C (asLatexString): change PW to output as percent of
12553         \textwidth.
12554
12555         * lengthcommon.C: change '%' to 't%'
12556
12557         * lyxfunc.C (dispatch): a few comments from Martin
12558
12559 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * WorkArea.h:
12562         * WorkArea.C:
12563         * BufferView_pimpl.h:
12564         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12565           the X selection.
12566
12567 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12568
12569         * vspace.C (inPixels): fix compiler warning
12570
12571 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12572
12573         * lyxfunc.C (getStatus): fix status message for disabled commands.
12574
12575 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * BufferView_pimpl.C: fix crash on close buffer
12578         during selection (#227)
12579
12580 2002-01-27  Herbert Voss  <voss@lyx.org>
12581
12582         * buffer.C: link old Figure to new graphic inset
12583
12584 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12585
12586         * FontLoader.C (getFontinfo): Change the latex font names in order
12587         to match the names of type1inst.
12588
12589 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12590
12591         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12592
12593         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12594         (extchanged): ditto
12595         (ext_exist): ditto
12596         (remove_files_with_extension): ditto
12597         (remove_file): ditto
12598         (write): ditto
12599
12600         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12601         document is smaller than the work area height. Do not initialize
12602         static variables to 0.
12603
12604 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12607
12608         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12609         LFUN_LAYOUT_PARAGRAPHS.
12610
12611         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12612         tabular. It is possible to provide a possible cell, which will
12613         typically be the actcell from the corresponding insettabular
12614
12615         * lyxfunc.C (getStatus): small cleanup; disable
12616         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12617         true
12618
12619 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12622
12623         * paragraph.C (startTeXParParams):
12624         (endTeXParParams): new methods. The LaTeX code to
12625         start/end paragraph formatting
12626         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12627         empty (fixes bug #200)
12628
12629         * vspace.C (inPixels): adapt to the change below
12630         (inPixels): [later] more cleanups (remove unused variables)
12631
12632         * lyxlength.C (inPixels): change to use a width and a height as
12633         parameter.
12634
12635 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12638         Replaced with \paperwidth
12639
12640         * DepTable.C (insert): add std:: qualifier
12641
12642 2002-01-18  Allan Rae  <rae@lyx.org>
12643
12644         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12645         updated also?
12646
12647         * text.C (drawInset): Turned out I didn't know enough about how
12648         rebreaking worked.  This fixes most of the redraw problems.  I see
12649         an occasional cursor trail when a line is broken now and the cursor
12650         placement can seem out by a few pixels also after a rebreak.
12651
12652 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * buffer.C (parseSingleLyXformat2Token): update because minipage
12655         width is now a LyXLength
12656
12657         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12658
12659         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12660         math insets
12661
12662 2002-01-17  Juergen Vigna  <jug@sad.it>
12663
12664         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12665
12666         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12667         is set correctly and the inset is updated correctly.
12668
12669 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12672         the beginning of the loop.
12673
12674 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * lyxrc.C: improve help for use_scalable_fonts
12677
12678 2002-01-17  Allan Rae  <rae@lyx.org>
12679
12680         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12681
12682 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12683
12684         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12685         make sure to set their inset_owner to the right value (bug #171)
12686
12687 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12688
12689         * DepTable.h
12690         * DepTable.C: Implement mtime checking to reduce time spent doing
12691         CRCs.
12692
12693 2002-01-16  Juergen Vigna  <jug@sad.it>
12694
12695         * tabular.C (GetAdditionalHeight): one of error fixed.
12696
12697         * lyxrc.C (output): small fix in writing use_pspell.
12698
12699 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * sp_base.h: #include LString.h
12702
12703 2002-01-16  Allan Rae  <rae@lyx.org>
12704
12705         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12706         Can someone check this please?
12707
12708         * text.C (drawInset): It was possible that p.row would be removed by
12709         breakAgainOneRow upsetting a few other settings.  There may be another
12710         small tweak possible by setting need_break_row = 0 when p.row has been
12711         removed but I don't know enough about the logic here.
12712
12713 2002-01-15  Allan Rae  <rae@lyx.org>
12714
12715         * text.C (insertChar): removed conditional truism.
12716
12717         * BufferView2.C (removeAutoInsets): More tweaks.
12718         cur_par_prev could be a stray pointer.  Check for trailing empty line
12719         in case last line was cur_par and only had an error inset on it.
12720
12721 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12724         absolute
12725
12726         * vc-backend.C (most methods):
12727         * exporter.C (Export):
12728         * converter.C (convert):
12729         (runLaTeX):
12730         * LyXSendto.C (SendtoApplyCB):
12731         * lyxfunc.C (dispatch):
12732         (menuNew):
12733         (open):
12734         (doImport):
12735         * lyx_cb.C (AutoSave):
12736         (InsertAsciiFile):
12737         * BufferView_pimpl.C (MenuInsertLyXFile):
12738         * buffer.C (runChktex): use Buffer::filePath().
12739
12740         * buffer.h: rename filename to filename_; rename filepath to
12741         filepath_ and make it private
12742         (filePath): new method
12743
12744         * buffer.C (writeFile): use fileName()
12745         (getLatexName):
12746
12747         * lyx_main.C (init): fix starting  of LyX when the binary is a
12748         link from so,ewhere else.
12749
12750         * minibuffer.C: include <cctype> for isprint
12751
12752 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12753
12754         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12755         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12756         name clash with InsetCollapsable's width function.
12757
12758 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * lastfiles.C: include <iterator>
12761
12762 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12763
12764         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12765         std::count.
12766
12767         * buffer.C (makeLaTeXFile): ditto.
12768         Also make loop operation more transparent.
12769
12770 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * ToolbarDefaults.C: remove trailing comma closing namespace.
12773
12774         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12775
12776         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12777         as in WorkArea.
12778
12779         * trans.C (Load): comment out unused variable, allowed.
12780
12781 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * minibuffer.[Ch] (append_char): new method to recieve input from the
12784         drop-down completion browser. If a key was pressed, then recieve this
12785         char and append it to the existing string.
12786         (peek_event): modify the positioning data passed to the completion
12787         browser so that it can be placed above the minibuffer rather than below.
12788 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * LyXAction.C (init): alloe error-next for readonly documents.
12791
12792         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12793         count.
12794
12795 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * bufferlist.C (readFile): create the buffer _after_ checking that
12798         the file exists.
12799
12800         * lyxfunc.C (verboseDispatch): fix handling of arguments
12801
12802         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12803
12804         * lyxrc.C: use string::erase() instead of initializing to "".
12805
12806
12807 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * BufferView_pimpl.h:
12810         * BufferView_pimpl.C:
12811         * WorkArea.h:
12812         * WorkArea.C:
12813         * text2.C: tell X when we have made a selection for copying
12814
12815 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12816
12817         * BufferView_pimpl.C (MenuInsertLyXFile):
12818         * lyxfunc.C (menuNew):
12819         (open):
12820         (doImport): add shortcuts to directory buttons
12821
12822         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12823         open a float)
12824
12825         * lyxfunc.C (setStatusMessage):
12826         (getStatusMessage): new methods
12827         (getStatus):use setStatusMessage instead of setErrorMessage
12828         (dispatch): when function is disabled, set error message here
12829         [instead of in getStatus previously]
12830
12831         * BufferView_pimpl.C (workAreaButtonRelease): update
12832         toolbar/menubar here too.
12833
12834 2002-01-13  Allan Rae  <rae@lyx.org>
12835
12836         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12837         Now seems indestructible.  Remaining task is to audit all other
12838         code affected by deleteEmptyParagraphMechanism.  One small quirk
12839         left is that an empty document with an error in the preamble can
12840         be made to report an error but no error box appears.  I don't know
12841         where it goes.
12842         (removeAutoInsets): Improved comments.
12843
12844 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * Thesaurus.h:
12847         * Thesaurus.C: update for Aiksaurus 0.14
12848
12849 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * text2.C (firstParagraph): removed member function, all uses
12852         replaces with ownerParagraph
12853         (redoParagraphs): here
12854         (updateInset): here
12855         (toggleAppendix): here
12856         * BufferView2.C (insertErrors): here
12857         (setCursorFromRow): here
12858
12859 2002-01-13  Allan Rae  <rae@lyx.org>
12860
12861         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12862         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12863         There is still a way to segfault this although you may have to do this
12864         multiple times: Have an InsetERT with an unknown command in it.
12865         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12866         <down-arrow>, <Enter> again, View->DVI, BANG!
12867
12868         * text2.C (setCursor):
12869         (deleteEmptyParagraphMechanism):
12870         * lyxtext.h (setCursor):
12871         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12872         Making use of the return value may help fix other bugs.
12873
12874 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12877
12878         * LyXView.C (updateMenubar): call MenuBar::update here
12879         (updateToolbar): but not here
12880         (showState): do not update toolbar/menubar
12881
12882         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12883         should need to care about that.
12884
12885         * lyxfunc.C (verboseDispatch): simplify a bit
12886         (getStatus): have a version which takes a pseudoaction, and
12887         another which requires a (kb_action,string).
12888
12889         * LyXAction.C (retrieveActionArg): make it work also when action
12890         is not a pseudo-action.
12891         (getActionName): simplify a bit
12892         (helpText):
12893
12894 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * lyxfunc.C (verboseDispatch): new families of methods with
12897         several ways to specify a command and a bool to indicate whether
12898         the command name and shortcut should be displayed in minibuffer
12899         (eventually, we could extend that to a finer bitmask like
12900         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12901         (dispatch): the pristine dispatch command which just, well,
12902         dispatchs! Note it still sets its result to minibuffer; I'm not
12903         sure we want that.
12904
12905         * lyxfunc.h: remove setHintMessage
12906
12907         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12908
12909 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * BufferView_pimpl.C (specialChar): delete new inset if we have
12912         not been able to insert it.
12913
12914         * kbmap.C: revert to using int instead of kb_action, since all we
12915         are dealing with is pseudo-actions.
12916
12917         * LyXAction.C (searchActionArg): change to return int instead of
12918         kb_action, since the result is a pseudoaction.
12919
12920 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * buffer.C (insertErtContents): Fix (partially) the font bug.
12923
12924 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12927         as the other one is broken on my machine!
12928
12929 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12930
12931         * commandtags.h:
12932         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12933
12934 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12935
12936         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12937         reflect their actual use. Provide compatibility code for older lyxrc
12938         files.
12939
12940         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12941         FL_NORMAL_STYLE.
12942         change names of popup font variables in line with the changes to lyxrc.C
12943
12944 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12945
12946         * buffer.C (asciiParagraph): avoid outputing a word twice after
12947         an inset.
12948
12949         * lyxrc.C (getDescription): document that document_path and
12950         template_path can be empty.
12951
12952 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * LaTeXFeatures.C (getMacros):
12955         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12956
12957         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12958
12959         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12960         getPackages.
12961         (getPackages): rename feature "floats" to "float". Use an array to
12962         iterate over 'simple' features (i.e. just a \usepackage). Add
12963         handling of "amsmath" (renamed from "amsstyle").
12964
12965 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12966
12967         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12968         features list.
12969
12970 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12971
12972         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12973         FuncStaus::FuncStatus & FuncStaus::some_method().
12974
12975 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12976
12977         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12978         of the func_satus stuff. Edited and massaged in various ways by
12979         JMarc.
12980
12981         * lyxfunc.C (getStatus): use FuncStatus
12982
12983 2002-01-08  Juergen Vigna  <jug@sad.it>
12984
12985         * text.C (nextBreakPoint): use function Inset::isChar().
12986
12987         * paragraph.C (TeXOnePar): use function
12988         Inset::forceDefaultParagraphs.
12989
12990         * buffer.C (latexParagraphs): use function
12991         Inset::forceDefaultParagraphs.
12992
12993 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * lyx_gui.C (init): set the style of the menu popups to
12996         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12997
12998 2002-01-07  Juergen Vigna  <jug@sad.it>
12999
13000         * text.C (setHeightOfRow): small fix
13001         (prepareToPrint): don't look at alignment if we don't have the place
13002         for doing it.
13003
13004 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * box.C: New file. Move the Box methods and functions out of box.h,
13007         following Lars' suggestion.
13008
13009 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13010
13011         * box.h: #include "support/LOstream.h", needed for inlined function.
13012
13013         * lyxtextclass.C:
13014         * lyxtextclasslist.C: added some using std declarations.
13015
13016 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * box.h: make signed dimensions to allow insets wider than
13019           the screen (bug #162)
13020
13021         * BufferView_pimpl.C: add some insetHit debug
13022
13023 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * vc-backend.C: add FIXME
13026
13027 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13028
13029         * lyxfunc.C (getStatus): enable code for showing math font status
13030         in toolbar/menu.
13031
13032 2002-01-07  Juergen Vigna  <jug@sad.it>
13033
13034         * text.C (nextBreakPoint): removed debug output not needed anymore.
13035
13036 2002-01-06  Juergen Vigna  <jug@sad.it>
13037
13038         * text.C (nextBreakPoint): fixed up this function we had this bug
13039         since ever but now hopefully we break row better.
13040         (insertChar): we have to check if an inset is the next char as it
13041         could now happen that a large inset is causing a break.
13042
13043 2002-01-05  Juergen Vigna  <jug@sad.it>
13044
13045         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13046         if it doesn't like to be drawed.
13047
13048 2002-01-04  Juergen Vigna  <jug@sad.it>
13049
13050         * BufferView2.C (lockInset): forgot to set a cursor.
13051
13052         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13053
13054 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13055
13056         * FormMathsPanel.C:
13057         * FormMathsPanel.h
13058         * MathsSymbols.C:
13059         * form_maths_panel.C:
13060         * form_maths_panel.h:
13061         * form_maths_panel.fd: implemented sub- and super- buttons in math
13062         panel.
13063
13064         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13065         (or ^ space) to be used as in TeX (req'd by André).
13066
13067         * lyxfunc.C: Allow ^ and _ again to be used both as
13068         super/subscript (mathed) and as themselves (in text).
13069
13070 2002-01-03  Allan Rae  <rae@lyx.org>
13071
13072         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13073         "LyX" or the filename of the current buffer if it has one.  This is a
13074         modified form of John Levon's patch.
13075
13076         * XFormsView.C (setWindowTitle): also set icon title.
13077
13078         * LyXView.h (setWindowTitle): signature changed.
13079         * XFormsView.h (setWindowTitle): ditto.
13080
13081 2002-01-02  Juergen Vigna  <jug@sad.it>
13082
13083         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13084
13085 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * screen.C (topCursorVisible): introduce a temp var for
13088         text->cursor.row(), handle the case where this row is null. (kindo
13089         hachish)
13090
13091         * text2.C (setCursor): add a couple of asserts.
13092
13093         * paragraph.h (inset_iterator): add -> operator
13094
13095         * paragraph.[Ch] (autoDeleteInsets): remove member function
13096
13097         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13098         cursor pos correctly and handle inset deletion by itself.
13099         (insertErrors): move iterator declaration out of for expression
13100
13101         * lyxtextclass.C: add <algorithm>
13102
13103         * Makefile.am: added the new files to sources, removed layout.C
13104
13105         * layout.C: removed file
13106
13107         * layout.h: remove LYX_DUMMY_LAYOUT
13108
13109         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13110         layout.
13111
13112         * lyxlayout.[Ch]:
13113         * lyxtextclass.[Ch]:
13114         * lyxtextclasslist.[Ch]: new files
13115
13116         * include order changes to a lot of files, also changes because of
13117         the six new files.
13118
13119 2001-12-27  Juergen Vigna  <jug@sad.it>
13120
13121         * buffer.C (asciiParagraph): more fixes.
13122
13123         * tabular.C (ascii): make ascii export support export of only the
13124         data separated by a column-delimiter.
13125         (ascii): better support for ascii export.
13126
13127         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13128
13129 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13130
13131         * tabular_funcs.C: use a "using std::getline" instead of the
13132         previous fix from Angus (necessary for cxx + lyxstring)
13133
13134 2001-12-24  Juergen Vigna  <jug@sad.it>
13135
13136         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13137
13138         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13139         problems. First check a minipage also if we have some ert-contents
13140         (not only on par->size(), second set the right depth of the paragraph
13141         on the relink to the root-paragraph-list!
13142
13143         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13144         which then did not anymore update the main paragraphs on undo/redo!
13145
13146 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13147
13148         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13149         code. Support all font-changing funcs (even those which are not in
13150         menu currently). Support for reporting font settings in
13151         mathed (disabled until Andre provides a function on mathed's side).
13152
13153         * func_status.h (toggle): small helper function to set toggle
13154         state on a flag.
13155
13156 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * tabular_funcs.C: getline -> std::getline
13159
13160 2001-12-21  Juergen Vigna  <jug@sad.it>
13161
13162         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13163         accessed and could be 0 (I couldn't generate this but it seems
13164         Michael could!).
13165
13166 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13169         * tabular_funcs.h: here and include iosfwd
13170
13171 2001-12-20  Juergen Vigna  <jug@sad.it>
13172
13173         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13174         inside inset but undo_par was.
13175
13176 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * Thesaurus.C: always include <config.h> in sources.
13179
13180         * Painter.h:
13181         * lyxlookup.h:
13182         * box.h: do not include <config.h> in header files
13183
13184         * text.C (paintLastRow): remove unused variable
13185
13186         * text.C (transformChar):
13187         (insertChar):
13188         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13189
13190         * Painter.C (text):
13191         * font.C (width): rewrite to use uppercase() instead of
13192         islower/toupper.
13193
13194         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13195
13196 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * lyxfind.C: clean up of find failure position change
13199
13200 2001-12-20  Juergen Vigna  <jug@sad.it>
13201
13202         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13203
13204         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13205         (TeXRow): added to LaTeX a single tabular row.
13206         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13207         (Latex): simplified and finally good LT-h/f support.
13208         (various_functions): just small adaptions for LT-h/f support.
13209
13210         * tabular_funcs.[hC]: added and moved here all not classfunctions
13211         of LyXTabular.
13212
13213 2001-12-19  Juergen Vigna  <jug@sad.it>
13214
13215         * tabular.[Ch]: better support for longtabular options (not finished
13216         yet!)
13217
13218 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * text.C (paintLastRow): use the label font instead of the font of
13221         the last character to compute the size of *_BOX. This makes more
13222         sense and avoids a crash with empty paragraphs.
13223         Use Painter::rectangle to draw EMPTY_BOX.
13224
13225 2001-12-19  Juergen Vigna  <jug@sad.it>
13226
13227         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13228         the paragraphs if the replaced paragraph is not the first one!
13229         Tried to delete not used paragraphs but does not work yet so for
13230         now it's inside #ifdef's and by default off!
13231
13232 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * MenuBackend.C: include "lyx_main.h" instead of declaring
13235         lastfiles (actually was declared as LastFiles* instead of a
13236         scoped_ptr).
13237
13238 2001-12-17  Juergen Vigna  <jug@sad.it>
13239
13240         * tabular.C (AppendColumn): applied John's fix
13241
13242 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * BufferView.h:
13245         * BufferView.C:
13246         * BufferView_pimpl.h:
13247         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13248
13249         * Makefile.am:
13250         * box.h: new start of class for above
13251
13252         * lyxfunc.C: ignore space-only minibuffer dispatches.
13253           Show the command name when it doesn't exist
13254
13255         * minibuffer.C: don't add empty lines to the history
13256
13257         * minibuffer.C: add a space on dropdown completion
13258
13259 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * text.C: fix line above/below drawing in insets
13262
13263 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * lyxlength.C (LyXLength): Initialize private variables.
13266
13267 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13270         when inserting error insets.
13271
13272 2001-12-13  Juergen Vigna  <jug@sad.it>
13273
13274         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13275         actually sometimes the before-paragraph.
13276         (setUndo): don't clear the redostack if we're not actually undoing!
13277
13278 2001-12-06  Juergen Vigna  <jug@sad.it>
13279
13280         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13281         and fixed redoing of main paragraph, so we can use it now ;)
13282
13283         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13284
13285 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13288         Juergen's request
13289
13290 2001-12-13  André Pönitz <poenitz@gmx.net>
13291
13292         * undostack.[Ch]:
13293         * undo_func.C: minor cleanup
13294
13295 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13298         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13299         font in urw-fonts package which is marked as -urw-fontspecific and
13300         does not work (incidentally, changing the encoding in the
13301         fonts.dir of this package to -adobe-fontspecific fixes the
13302         problem).
13303
13304         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13305         is a crash when undoing first paragraph (Juergen, please take a
13306         look). THis does not mean the undo fix is wrong, just that it
13307         uncovers problems.
13308
13309         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13310         the (Paragraph*) version when needed instead of duplicating the
13311         code.
13312
13313         * text.C (workWidth): use Inset::parOwner to find out where the
13314         inset has been inserted. This is a huge performance gain for large
13315         documents with lots of insets. If Inset::parOwner is not set, fall
13316         back on the brute force method
13317
13318         * paragraph_pimpl.C (insertInset):
13319         * paragraph.C (Paragraph):
13320         (cutIntoMinibuffer): set parOwner of insets when
13321         inserting/removing them
13322
13323         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13324
13325 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13326
13327         * commandtags.h:
13328         * LyXAction.C:
13329         * lyx_main.C:
13330         * lyxfunc.C:
13331         * mathed/formulabase.C:
13332         * mathed/math_cursor.[Ch]:
13333         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13334
13335
13336 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * lyxlength.[Ch] (operator!=): new function
13339
13340 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * text.C (workWidth): use Inset::parOwner to find out where the
13343         inset has been inserted. This is a huge performance gain for large
13344         documents with lots of insets. If Inset::parOwner is not set, fall
13345         back on the brute force method
13346
13347         * paragraph_pimpl.C (insertInset):
13348         * paragraph.C (Paragraph):
13349         (cutIntoMinibuffer): set parOwner of insets when
13350         inserting/removing them
13351
13352         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13353
13354 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13355
13356         * tabular-old.C (getTokenValue):
13357         * tabular.C (getTokenValue):
13358         (write_attribute): new versions for LyXLength
13359         (everywhere): adjust the use of widths
13360
13361         * tabular.h: change the type of widths from string to LyXLength
13362
13363 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13364
13365         * paragraph.C: fixed missing line number count when exporting
13366         Environments to LaTeX file
13367
13368         * buffer.C: added informational message for checking line numbers.
13369
13370 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13373         paragraph, do the 'double space' part, but not the 'empty
13374         paragraph' one.
13375
13376         * text.C (workWidth): small optimization
13377         (getLengthMarkerHeight): use minimal size for negative lengths.
13378
13379 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13380
13381         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13382
13383         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13384
13385 2001-12-11  André Pönitz <poenitz@gmx.net>
13386
13387         * FontLoader.C:
13388         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13389
13390 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * text2.C: keep selection on a setFont()
13393
13394 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * lyx_cb.C: another bv->text misuse, from insert label
13397
13398 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * kbsequence.h:
13401         * kbsequence.C: re-instate nmodifier mask
13402
13403 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * lyx_main.h: make lyxGUI private.
13406
13407 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13408
13409         * lyxfind.C: place the cursor correctly on failed search
13410
13411 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * text.C (getLengthMarkerHeight): for small heights, the arrows
13414         are not always on top/bottom of the text
13415         (drawLengthMarker): smaller arrows; take the left margin in
13416         account; draw also vfills.
13417         (paintFirstRow):
13418         (paintLastRow): remove special code for vfill and standard spaces,
13419         since everything is handled in drawLengthMarker now.
13420
13421 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * buffer.C (insertErtContents): try to handle font and language
13424         interaction a bit better.g
13425
13426         * ColorHandler.C (updateColor): change the hash to cover the whole
13427         LColor enum, ws cleanup
13428         (getGCLinepars): ditto
13429         (getGCLinepars): only lookup in the linecache once.
13430
13431 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * iterators.C (operator++): Make the iterator more robust
13434
13435         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13436         (John's patch)
13437         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13438
13439 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * lyxtext.h:
13442         * text.C: better added space drawing
13443
13444 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * LyXView.C:
13447         * BufferView2.C: fix layout combo update on inset unlock
13448
13449 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13450
13451         * Makefile.am: don't compile unused files
13452
13453 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * lyxfunc.C:
13456         * commandtags.h:
13457         * LyXAction.C: remove old LFUN_LAYOUTNO
13458
13459 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * paragraph_pimpl.h:
13462         * paragraph_pimpl.C: isTextAt() doesn't need font param
13463
13464 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * lyxlex.h:
13467         * lyxlex.C: little cleanup
13468
13469 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * BufferView_pimpl.C: fix insertAscii for insets
13472
13473 2001-12-05  Juergen Vigna  <jug@sad.it>
13474
13475         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13476         set the right font on the "multi" paragraph paste!
13477
13478 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * trans_decl.h:
13481         * trans_mgr.[Ch]:
13482         * trans.[Ch]:
13483         * lyxgluelength.C:
13484         * lyxlength.C: remove out-commented code.
13485
13486         * BufferView_pimpl:
13487         * CutAndPaste.C:
13488         * DepTable.C:
13489         * buffer.C:
13490         * chset.C:
13491         * lastfiles.C:
13492         * lyxlex.C:
13493         * lyxlex_pimpl.C:
13494         * lyxserver.C:
13495         * screen.C:
13496         * tabular-old.C:
13497         * tabular.C:
13498         * text.C:
13499         * trans_mgr.C:
13500         * vc-backend.C: change "while(" to "while ("
13501
13502         * lyxlength.[Ch]: add zero function to check if length is zero or
13503         not
13504         * lyxgluelength.C: use it
13505
13506 2001-12-05  Allan Rae  <rae@lyx.org>
13507
13508         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13509         Works for 2.95.3, from what I understand of Garst's reports this should
13510         work for other g++ versions.  We're screwed if the abs(int) definition
13511         changed between bugfix releases of gcc.
13512
13513 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * text.C: fix chapter label offset !
13516
13517 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * lyxtext.h:
13520         * text.C: fix hfill at end of line, clean up
13521
13522 2001-12-04  Juergen Vigna  <jug@sad.it>
13523
13524         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13525         that we force an update of the inset and it's owners if neccessary.
13526
13527 2001-12-03  Juergen Vigna  <jug@sad.it>
13528
13529         * text.C (rowLast): simplified code
13530
13531 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * lyxfunc.C: fix show options on timeout
13534
13535 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * screen.C (topCursorVisible): scroll half a page when the cursor
13538         reached top of bottom of screen
13539
13540 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * minibuffer.C: deactivate on loss of focus
13543
13544 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * vspace.[Ch] (operator!=): add operator.
13547
13548 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13549
13550         * BufferView_pimpl.C: refuse to open an inset when
13551         there's a selection.
13552
13553 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13554
13555         * BufferView_pimpl.C: allow to click on RHS of full row insets
13556
13557 2001-11-30  Juergen Vigna  <jug@sad.it>
13558
13559         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13560         insets for undo reasons.
13561
13562 2001-11-28  André Pönitz <poenitz@gmx.net>
13563
13564         * vspace.[Ch]: cosmetical changes
13565
13566 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * LyXAction.h:
13569         * LyXAction.C:
13570         * lyxfunc.h:
13571         * lyxfunc.C:
13572         * kbmap.h:
13573         * kbmap.C:
13574         * lyxrc.C:
13575         * kbsequence.h:
13576         * kbsequence.C: part re-write of old kb code
13577
13578         * Painter.C:
13579         * WorkArea.C: remove Lgb_bug_find_hack
13580
13581 2001-11-30  José Matos <jamatos@fep.up.pt>
13582
13583         * buffer.C (makeDocBookFile): add a comment to point a hack.
13584         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13585         Fixed a double write of labels.
13586
13587 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13588
13589         * LaTeX.C:
13590         * LaTeX.h Fixed bug in LaTeX class where it would not
13591         re-run latex if no depfiles were changed, but the .dvi was removed.
13592
13593 2001-11-28  André Pönitz <poenitz@gmx.net>
13594
13595         * all the files from the change on 2001/11/26:
13596         use lyx::layout_type instead of LyXTextClass::size_type
13597         use lyx::textclass_type instead of LyXTextClassList::size_type
13598
13599 2001-11-29  Juergen Vigna  <jug@sad.it>
13600
13601         * text.C: added support for paragraph::isFreeSpacing()
13602
13603         * buffer.C: same as above
13604
13605         * paragraph.h: inserted isFreeSpacing() function to enable
13606         FreeSpacing inside InsetERT.
13607
13608         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13609         of the paragraph's in the cut/copy buffer to 0!
13610
13611         * text2.C (removeRow): remove the assert as it can!
13612
13613         * lyxtext.h: added helper function firstRow returning firstrow and
13614         made firstrow private again.
13615
13616         * BufferView2.C (lockInset): don't relock if we're already locked!
13617
13618         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13619         the only paragraph.
13620         (removeRow): added Assert::(firstrow)
13621
13622         * debug.C: forgot to add INSETTEXT here.
13623
13624 2001-11-28  Juergen Vigna  <jug@sad.it>
13625
13626         * sp_spell.C (initialize): changed error text to more general
13627         spellchecker command use (not only ispell!)
13628
13629         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13630
13631         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13632
13633 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * vspace.C: initialise lyxgluelength on failure
13636
13637 2001-11-28  Allan Rae  <rae@lyx.org>
13638
13639         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13640         declaration & definition that looks like a function declaration.
13641
13642 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * BufferView2.C (copy):
13645         (copyEnvironment): do not clear the selection when doing a copy.
13646
13647         * text.C (paintFirstRow): compilation fix
13648
13649 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13650
13651         * tabular.C (Latex): correct line count when writing latex.
13652
13653 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * paragraph_pimpl.h:
13656         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13657           bug a bit
13658
13659 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13660
13661         * text.C:
13662         * LColor.h:
13663         * LColor.C: change vfillline->added_space
13664
13665         * text.C: add markers and text for added space
13666
13667         * vspace.C: fix comment
13668
13669 2001-11-28  André Pönitz <poenitz@gmx.net>
13670
13671         * paragraph.C: whitespace changes
13672         * all the other files from the change on 2001/11/26:
13673         change *::pos_type into lyx::pos_type
13674
13675 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13678         language of the document when inserting error insets.
13679
13680 2001-11-26  André Pönitz <poenitz@gmx.net>
13681
13682         * BufferView_pimpl.[Ch]:
13683         *       CutAndPaste.C:
13684         * buffer.[Ch]:
13685         * lyxcursor.[Ch]:
13686         * lyxfind.C:
13687         * lyxfunc.C:
13688         * lyxrow.[Ch]:
13689         * paragraph.[Ch]:
13690         * paragraph_pimpl.[Ch]:
13691         * sp_spell.C:
13692         * text.C:
13693         * text2.C: reduce header dependencies, introduce type for positions
13694
13695 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * <various>: change to use Alert.h
13698
13699 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13702         when encountering an unknown token.
13703         (readLyXformat2): Show an error message if there were unknown tokens.
13704
13705 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * BufferView2.C:
13708         * BufferView_pimpl.C:
13709         * buffer.C:
13710         * paragraph.h:
13711         * text.C:
13712         * text2.C: use par->isInset()
13713
13714 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * paragraph_pimpl.h:
13717         * paragraph_pimpl.C: cleanup
13718
13719 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * text2.C (removeRow):
13722         * text.C (setHeightOfRow): remove useless (and costly) call to
13723         getRow.
13724
13725 2001-11-20  Allan Rae  <rae@lyx.org>
13726
13727         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13728         Now need Inset*::checkInsertChar() to return true for appropriate
13729         cases so that the characters in the minibuffer will actually be
13730         inserted.
13731
13732 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * text.C: change the order of the includes.
13735         (workWidth): initialize it at once.
13736         (workWidth): make maxw unsigned
13737         (setHeightOfRow): remove unused variable (inset)
13738         (selectSelectedWord): remove unused variable (inset)
13739         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13740
13741 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13744         server is not running.
13745         (openConnection):
13746         (closeConnection): add debug info when server is disabled.
13747
13748         * ColorHandler.C (getGCForeground): send debug message to GUI
13749         channel.
13750
13751         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13752
13753         * kbmap.C (bind): modify because return conventions of
13754         kb_sequence::parse have changed.
13755
13756         * kbsequence.C (parse): only ignore spaces and not any stupid
13757         control character. This avoids tests like s[i] <= ' ', which are
13758         guaranteed to fail with 8bit characters and signed chars.
13759         Change return code to string::npos when there have been no error
13760         (0 was a bad idea when error is at first character)
13761
13762 2001-11-14  José Matos  <jamatos@fep.up.pt>
13763
13764         * buffer.h:
13765         * buffer.C (simpleDocBookOnePar): removed unused argument.
13766
13767 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13770         insets which are part of a word. Paragraph::isLetter takes care of
13771         that now. Use Paragraph::isInset to identify insets.
13772         (selectSelectedWord): do not test for hyphenation break.
13773
13774         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13775         that protected spaces are considered as spaces.
13776
13777         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13778         Inset::isLetter.
13779
13780 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13781
13782         * lyxserver.h:
13783         * lyxserver.C: fix it. and small cleanup.
13784
13785 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * BufferView_pimpl.C: use inline helpers
13788
13789         * LaTeXFeatures.h:
13790         * LaTeXFeatures.C: fix typos
13791
13792         * Spacing.h:
13793         * Spacing.C: move spacing_string into class
13794
13795         * ToolbarDefaults.C: move stuff into namespace anon
13796
13797         * layout.h: update enum
13798
13799         * lyxfunc.C: use better debug
13800
13801         * minibuffer.h: fix typo
13802
13803         * debug.h:
13804         * debug.C:
13805         * WorkArea.C: add and use Debug::WORKAREA
13806
13807         * lyxtext.h:
13808         * text.C:
13809         * text2.C: code re-organisation, inline helpers
13810
13811 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13812
13813         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13814         std::vector.empty().
13815
13816 2001-11-09  Allan Rae  <rae@lyx.org>
13817
13818         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13819         '\n's after tables.  Tabular and ERT inset work now makes this no
13820         longer necessary.
13821
13822 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13823
13824         * minibuffer.h:
13825         * minibuffer.C: fix crash, improve drop-down completion
13826
13827 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * lyxserver.h:
13830         * lyxserver.C: invalidate fd's when doing endPipe()
13831
13832 2001-11-08  José Matos  <jamatos@fep.up.pt>
13833
13834         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13835         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13836
13837         * paragraph.h:
13838         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13839
13840 2001-11-07  José Matos  <jamatos@fep.up.pt>
13841
13842         * buffer.h:
13843         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13844         const qualifier.
13845
13846         * buffer.C (sgmlOpenTag):
13847         * buffer.C (sgmlCloseTag): removed debug info.
13848
13849         * buffer.h (sgmlOpenTag):
13850         * buffer.h (sgmlCloseTag): made public.
13851
13852 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * buffer.C (saveParamsAsDefaults):
13855         * lyx_cb.C (MenuLayoutSave): remove
13856
13857         * LyXAction.C (init):
13858         * commandtags.h:
13859         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13860
13861 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * buffer.C (setPaperStuff): removed from here...
13864
13865         * bufferparams.C (setPaperStuff): ... and moved there.
13866
13867 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * minibuffer.h:
13870         * minibuffer.C:
13871         * XFormsView.C: add support for drop-down completion
13872
13873 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13876         commands.
13877
13878 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13879
13880         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13881         disabled.
13882
13883 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * lyx_main.C: change ref to known bugs
13886
13887 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13888
13889         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13890         to work around older babel problems.
13891
13892 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13893
13894         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13895
13896 2001-10-24  Juergen Vigna  <jug@sad.it>
13897
13898         * tabular-old.C (ReadOld): below variable changes reflected.
13899
13900         * tabular.[Ch]: added ltType struct for longtable header/footer
13901         defines and changed all instances where they are used. Added
13902         future support for double top/bottom rows.
13903
13904 2001-10-24  José Matos  <jamatos@fep.up.pt>
13905
13906         * buffer.h (docbookHandleCaption):
13907         * buffer.C (docbookHandleCaption): removed unused function.
13908         (makeDocBookFile): moved docbook supported version to v4.1.
13909
13910 2001-10-24  José Matos  <jamatos@fep.up.pt>
13911
13912         * tabular.h:
13913         * tabular.C (docbookRow): new function to export docbook code of a row.
13914         (DocBook): now honors the longtable flags.
13915
13916 2001-10-23  José Matos  <jamatos@fep.up.pt>
13917
13918         * LaTeXFeatures.h:
13919         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13920         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13921
13922         * buffer.C (makeLinuxDocFile):
13923         (makeDocBookFile): reworked the preamble, more clean, and with
13924         support for lyx defined entities. Changed the document declaration
13925         to be more XML friendly.
13926
13927         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13928         if we need to output XML that should be done with a filter.
13929
13930 2001-10-22  Juergen Vigna  <jug@sad.it>
13931
13932         * sp_pspell.h (class PSpell): add alive function needed in the
13933         controller to see if the spellchecker could be started.
13934
13935 2001-10-22  Juergen Vigna  <jug@sad.it>
13936
13937         * buffer.C (insertStringAsLines): modify the font for inserting
13938         chars in certain conditions by calling checkInsertChar(font).
13939
13940 2001-10-19  Juergen Vigna  <jug@sad.it>
13941
13942         * text.C (workWidth): use getRow instead of wrong algorithm.
13943         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13944
13945 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * lyxserver.h:
13948         * lyxserver.C:
13949         * lyx_main.h:
13950         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13951
13952 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * text.C (workWidth): do not search for the exact row when
13955         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13956         optimization for big documents.
13957
13958 2001-10-18  Juergen Vigna  <jug@sad.it>
13959
13960         * text.C (workWidth): new function with added Inset * parameter.
13961
13962 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13965
13966         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13967         change return type of getColumnNearX.
13968
13969
13970         * text.C (changeRegionCase): use uppercase/lowercase instead of
13971         toupper/tolower.
13972         (leftMargin):
13973         (rightMargin): simplify code by factoring out the uses of
13974         textclasslist.
13975         (labelFill):
13976         (numberOfHfills):
13977         (setHeightOfRow):
13978         (appendParagraph): use Paragraph::size_type
13979
13980 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * vspace.C (asLatexString): add a missing break
13983
13984 2001-10-15  Herbert Voss  <voss@perce.de>
13985
13986         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13987
13988 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13991         is not available.
13992
13993 2001-10-10  André Pönitz <poenitz@gmx.net>
13994
13995         * lyxfunc.C: removed greek_kb_flag.
13996
13997 2001-10-10  Herbert Voss  <voss@perce.de>
13998
13999         * lyx_main.C: delete global string help_lyxdir.
14000
14001 2001-10-09  Herbert Voss  <voss@perce.de>
14002
14003         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14004
14005         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14006
14007         * lyx_main.C: added global string help_lyxdir.
14008
14009         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14010
14011 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14012
14013         * lyxrc.C (set_font_norm_type): support iso8859-4
14014
14015 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14016
14017         * LaTeX.C (deplog): add another regex for MikTeX
14018
14019 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14020
14021         * lyxrc.C (set_font_norm_type): support iso8859-3
14022
14023 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14024
14025         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14026
14027         * LaTeXFeatures.C: remove special case of french and index
14028
14029         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14030         before \begin{document}). This solves several incompatibilities.
14031
14032 2001-10-03  Garst Reese  <reese@isn.net>
14033
14034         * lyx_cb.C: change CheckTex error msg.
14035
14036 2001-10-03  José Matos  <jamatos@fep.up.pt>
14037
14038         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14039
14040 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * .cvsignore: update
14043
14044         * lyx_main.C (commandLineVersionInfo): use new style version info.
14045
14046         * buffer.C (writeFile):
14047         (makeLaTeXFile):
14048         (makeLinuxDocFile):
14049         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14050
14051         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14052
14053         * version.h: update to use stuff in version.C
14054
14055         * version.C.in: new file. Contains version information determined
14056         at compile time. This is a merging of version.h and
14057         version_info.h.in.
14058
14059 2001-10-03  Juergen Vigna  <jug@sad.it>
14060
14061         * BufferView_pimpl.C (update): don't change "dirty" status in
14062         updateInset call.
14063
14064 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14065
14066         * WorkArea.C (c-tor): re-position version string slightly.
14067
14068 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14071         revert to previous code.
14072
14073         WorkArea.[Ch]: (show, destroySplash): methods removed.
14074
14075         WorkArea.C: rework code so that it's an amalgam of the codes before and
14076         after the splash screen was moved to WorkArea.
14077
14078 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14079
14080         * lyxrc.C (read):
14081         * vspace.C (inPixels):
14082         (lyx_advance):
14083         * kbmap.C (bind):
14084         * buffer.C (insertStringAsLines):
14085         (asciiParagraph): fix types to be large enough
14086
14087         * lyxlex_pimpl.h: change member status from short to int
14088
14089         * layout.h: fix type of endlabeltype
14090
14091         * kbmap.C (bind):
14092         * kbsequence.C (parse): change return type to string::size_type
14093
14094         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14095         variable
14096
14097         * Bullet.C (bulletSize):
14098         (bulletEntry): do not use short ints as parameters
14099
14100         * BufferView2.C (insertLyXFile): change a char to an int.
14101
14102         * WorkArea.C (WorkArea): remove unneeded floats in computation
14103
14104 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14107
14108         * paragraph.C (asString): Do not ignore newline/hfill chars when
14109         copying to the clipboard.
14110
14111 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14114         after a multi-line inset.
14115
14116 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * paragraph.C (validate): Set NeedLyXFootnoteCode
14119
14120 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14123         and decrease-error to decrease.
14124
14125 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14128         it more readable (should be equivalent)
14129
14130 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14131
14132         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14133
14134 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14137         of a cursor (row, etc.) after a character has been deleted
14138         (deleteEmptyParagraphMechanism): call the method above on _all_
14139         cursors held by the LyXText when a double space has been
14140         detected/deleted.
14141
14142 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14145         pixmap.
14146         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14147
14148         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14149         background. Use greyOut() and the new show() methods to toggle between
14150         the foreground and background. Add code to remove the splash after
14151         its initial showing.
14152
14153         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14154         (create_forms): no longer call Dialogs::showSplash.
14155
14156 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * .cvsignore: add version_info.h
14159
14160 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14161
14162         * version_info.h.in: new file
14163
14164         * Makefile.am: add version_info.h.in
14165
14166         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14167         version_info.h instead of VERSION_INFO
14168
14169 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14172         The ERT inset now returns string().
14173
14174 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14175
14176         * lyxtext.h, text.C (selectNextWord): renamed as
14177         selectNextWordToSpellcheck.
14178
14179         * text.C (selectNextWordToSpellcheck): Modified to not select
14180         words inside an ERT inset.
14181
14182 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * lyx_cb.C (MenuLayoutSave): change a bit the question
14185
14186         * sp_base.h: include <sys/types.h>
14187
14188 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14189
14190         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14191
14192 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14193
14194         * several files: fix typos in user-visible strings
14195
14196 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * text2.C (pasteSelection): do not set the selection, since it
14199         will be cleared later. Actually, the intent was to fix the way the
14200         selection was set, but I figured rmoving the code was just as good.
14201
14202 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * FontLoader.C (available): Check if font is available without
14205         loading the font.
14206
14207 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14208
14209         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14210
14211 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14212
14213         * lyxrc.[Ch]: added display_graphics variable and associated code.
14214
14215 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * bufferparams.C (hasClassDefaults): new method. Returns true if
14218         the buffer parameters correspond to known class defaults
14219
14220 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14221
14222         * XFormsView.C (show): set minimum size to the main window.
14223
14224 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * text2.C (copySelection):
14227         (cutSelection):
14228         * lyxfind.C (LyXReplace):
14229         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14230         LyXText::selectionAsString.
14231
14232         * paragraph.C (asString): add "label" argument to the second form
14233
14234         * text2.C (selectionAsString): add "label" argument and pass it to
14235         Paragraph::asString.
14236
14237 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * lyx_main.C (commandLineHelp): remove version information
14240
14241 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14242
14243         * lyx_main.C: add -version commandline option
14244
14245 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * paragraph.h: make the optional constructor arg required instead.
14248         some modifications to other files because of this.
14249
14250         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14251
14252         * lyxserver.C (C_LyXComm_callback): make it static
14253
14254         * lyx_main.C (error_handler): make it static
14255
14256         * lyx_gui.C (LyX_XErrHandler): make it static
14257
14258         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14259
14260         * WorkArea.C: make the extern "C" methods static.
14261
14262         * Makefile.am (lyx_LDADD): simplify
14263
14264 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14265
14266         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14267         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14268
14269         * LyXAction.C (init):
14270         * lyxfunc.C (dispatch): associated code removal.
14271
14272 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * lyxfont.h (isSymbolFont): shut off warning
14275
14276         * text.C (setHeightOfRow):
14277         (getVisibleRow): fix crash with empty paragraphs which have a
14278         bottom line
14279
14280 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14281
14282         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14283         code.
14284
14285 2001-09-04  José Matos  <jamatos@fep.up.pt>
14286         * buffer.C
14287         * buffer.h
14288         * tabular.C (docbook): rename docBook method to docbook.
14289
14290 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14291
14292         * Makefile.am: add dependencies to main.o.
14293
14294 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14295
14296         * FontLoader.C (available): Return false if !lyxrc.use_gui
14297
14298 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14299
14300         * FontInfo.C (query):
14301         * converter.C (view):
14302         * importer.C (Import):
14303         * exporter.C (Export): Can not -> cannot.
14304
14305 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * BufferView_pimpl.C: allow to create index inset even if
14308           string is empty
14309
14310 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14311
14312         * buffer.C (getLists): replace boost::tie code with an explicit pair
14313         as boost::tie can break some compilers.
14314
14315         * iterators.h: Added a std:: declaration to the return type of
14316         ParIterator::size.
14317
14318 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14321           case.
14322
14323 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * iterators.[Ch]: New files. Provide paragraph iterators.
14326
14327         * buffer.C (changeLanguage): Use paragraph iterators.
14328         (isMultiLingual): ditto
14329
14330         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14331
14332 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14333
14334         * FontLoader.C: Support for cmr font.
14335
14336 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14339         (available): New method.
14340
14341         * FontInfo.C (getFontname): Use scalable fonts even when
14342         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14343         found.
14344
14345 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14346
14347         * converter.C (Formats::view): reverted! Incorrect fix.
14348
14349 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * converter.C (Formats::view): only output the -paper option
14352         if the dvi viewer is xdvi, thereby fixing bug #233429.
14353
14354 2001-08-23  Herbert Voss  <voss@perce>
14355
14356         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14357
14358 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14359
14360         * Spacing.h (Spacing): Set space to Default on in the default
14361         constructor.
14362
14363 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * vc-backend.h (RCS::versionString): add RCS to version
14366         (CVS::versionString): add CVS to version
14367
14368         * vc-backend.C (scanMaster): do not add CVS to version.
14369         (scanMaster): do not add RCS to version
14370
14371         * lyxvc.C (versionString): new method
14372
14373         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14374
14375 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * Spacing.C (set): initialize fval
14378
14379 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14380
14381         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14382         " or \.
14383
14384 2001-08-16  Juergen Vigna  <jug@sad.it>
14385
14386         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14387
14388 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * BufferView_pimpl.C:
14391         * figureForm.C:
14392         * lyxtext.h:
14393         * text2.C: setParagraph takes linespacing now
14394
14395 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14396
14397         * LyxAction.C: add internal LFUN_CITATION_INSERT
14398
14399         * LyXView.C: actually apply fix
14400
14401         * bufferlist.C: fix open non-existent file
14402
14403         * lyxfind.C: fix indentation
14404
14405         * lyxfunc.C: remove unneeded assert, fix typo
14406
14407 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14408
14409         * MenuBackend.C: use "Floatname List"
14410
14411 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14412
14413         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14414         when converting LaTeX layout to insetERT.
14415         Generate a non-collapsed float when reading old float
14416
14417 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14418
14419         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14420         ERT insets.
14421
14422 2001-08-13  Juergen Vigna  <jug@sad.it>
14423
14424         * text.C (fill): return 0 instead of 20 as this seems to be the more
14425         correct value.
14426
14427 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14428
14429         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14430         lyxrc.font_norm.
14431
14432 2001-08-13  Juergen Vigna  <jug@sad.it>
14433
14434         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14435         casesensitive off.
14436         (SearchBackward): comment out the unlocking of the inset_owner this
14437         should not be needed!
14438
14439 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14440
14441         * Many files: Remove inherit_language, and add latex_language
14442
14443         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14444         collapsible insets.
14445
14446 2001-08-10  Juergen Vigna  <jug@sad.it>
14447
14448         * text.C (prepareToPrint): fixed hfill-width in draw!
14449
14450         * BufferView2.C (selectLastWord): save the selection cursor as this
14451         now is cleared in the function LyXText::clearSelection!
14452
14453 2001-08-08  Juergen Vigna  <jug@sad.it>
14454
14455         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14456         BACKSPACE type functions.
14457
14458         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14459         is only cutted from the document but not put in the cut-buffer, where
14460         still the old stuff should be.
14461
14462         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14463
14464         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14465
14466         * tabular.C (SetWidthOfCell): fixed special case where the width
14467         was not updated!
14468         (LeftLine): handle '|' in align_special.
14469         (RightLine): ditto
14470         (LeftAlreadyDrawed): ditto
14471         (SetWidthOfCell): ditto
14472
14473 2001-08-07  Juergen Vigna  <jug@sad.it>
14474
14475         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14476
14477 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14480         * lyxlex.[hC]: ditto
14481
14482 2001-08-06  Juergen Vigna  <jug@sad.it>
14483
14484         * text.C (getVisibleRow): fix up row clearing a bit.
14485
14486 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * minibuffer.C: make sure the X server sees the changes in the input.
14489
14490 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14491
14492         * paragraph.C (getFont): split into...
14493         (getLabelFont): this
14494         (getLayoutFont): and this
14495         * paragraph_pimpl.C (realizeFont): calling this
14496
14497         * text2.C (getFont): split into...
14498         (getLayoutFont): this
14499         (getLabelFont): and this
14500         (realizeFont): all three calling this
14501
14502         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14503         files where used.
14504
14505 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14508
14509 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14510
14511         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14512         layouts from the Quote inset insertion.
14513
14514 2001-08-03  Juergen Vigna  <jug@sad.it>
14515
14516         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14517
14518         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14519         only if status not is already CHANGED_IN_DRAW (second level).
14520
14521         * text.C (draw): don't set the need_break_row when inside an
14522         InsetText LyXText.
14523
14524 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * buffer.C (parseSingleLyXformat2Token): handle more latex
14527         conversion cases.
14528
14529         * bufferview_funcs.[hC]: change function names to
14530         begin with small char, adjust other files.
14531
14532 2001-08-02  André Pönitz <poenitz@gmx.net>
14533
14534         * lyxfunc.C:
14535         BufferView_pimpl.C: remove broken special code for math-greek
14536
14537 2001-08-02  Juergen Vigna  <jug@sad.it>
14538
14539         * BufferView_pimpl.C (update): redone this function so that we
14540         update the text again if there was a CHANGE_IN_DRAW.
14541
14542         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14543         (drawFromTo): added a new internal bool which is used by draw() and
14544         redraw() function.
14545         (general): some cursor drawing problems fixed.
14546
14547 2001-08-01  Juergen Vigna  <jug@sad.it>
14548
14549         * lyxfind.C (LyXFind): fixed
14550         (SearchForward): ditto
14551         (SearchBackward): ditto
14552
14553         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14554         spurius drawing of the cursor in the main area.
14555
14556         * text2.C (status): small fix which could lead to a segfault!
14557         (clearSelection): remove unneeded BufferView param.
14558
14559 2001-08-01  André Pönitz <poenitz@gmx.net>
14560
14561         * lyxfunc.C: small change due to changed mathed interface
14562
14563 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14566
14567 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14568
14569         * lyxfunc.c: fail gracefully if file doesn't exist
14570
14571         * LyXSendto.C:
14572         * buffer.C:
14573         * lyxfunc.C:
14574         * BufferView_pimpl.C: IsDirWriteable() proto changed
14575
14576         * LyXView.C: fix updateWindowTitle() to store the last title
14577
14578 2001-07-31  Juergen Vigna  <jug@sad.it>
14579
14580         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14581         the font (wrong since using of Paragraph::highestFontInRange).
14582
14583         * paragraph.C (highestFontInRange): added a default_size parameter.
14584
14585         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14586         (setHeightOfRow): reformat
14587
14588 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * converter.[hC] + affected files: move to (inital-char)lowercase
14591         function names.
14592
14593         * ParagraphParameters.C (ParagraphParameters): remove commented code
14594
14595         * PainterBase.[Ch]: remove commented code
14596
14597         * LaTeXFeatures.h: add "bool floats" for float.sty
14598
14599         * LaTeXFeatures.C (LaTeXFeatures): init floats
14600         (require): handle float
14601         (getPackages): do it with floats
14602
14603 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * BufferView_pimpl.C (Dispatch): improve handling of
14606         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14607
14608         * commandtags.h: #include lyxfont.h here temporarily to avoid
14609         keybinding bug.
14610
14611         * bufferlist.h: include LString.h here.
14612
14613 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * text2.C (getStringToIndex): new method.
14616
14617 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14618
14619         * *: Reduced header file dependencies all over.
14620
14621 2001-07-30  Baruch Even  <baruch@lyx.org>
14622
14623         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14624
14625 2001-07-29  Baruch Even  <baruch@lyx.org>
14626
14627         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14628
14629 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * ParameterStruct.h (endif): add a default constructor to make
14632         sure that all variables is initialized.
14633
14634         * ParagraphParameters.C (ParagraphParameters): adjust
14635
14636 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14639         index; also, check that there is something to index, and that it
14640         does not span over several paragraphs.
14641         (doubleClick): use WHOLE_WORD_STRICT for double click.
14642
14643         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14644
14645         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14646         scheme.
14647
14648 2001-07-26  Baruch Even  <baruch@lyx.org>
14649
14650         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14651         an InsetFig figure, backwards compatible reading of old figure code.
14652
14653 2001-07-27  Juergen Vigna  <jug@sad.it>
14654
14655         * text2.C: font.realize function adaption.
14656
14657         * text.C (draw): add a warnings lyxerr text if needed.
14658
14659         * layout.C: font.realize function adaption.
14660
14661         * language.C: add inherit_language and implement it's handlings
14662
14663         * bufferview_funcs.C (StyleReset): remove language parameter from
14664         font creation (should be language_inherit now).
14665
14666         * bufferparams.C (writeFile): handle ignore_language.
14667
14668         * paragraph.C (getFontSettings): the language has to be resolved
14669         otherwise we have problems in LyXFont!
14670
14671         * lyxfont.C (lyxWriteChanges): added document_language parameter
14672         (update): removed unneeded language parameter
14673
14674         * paragraph.C (validate): fixed wrong output of color-package when
14675         using interface colors for certain fonts in certain environments,
14676         which should not seen as that on the final output.
14677
14678 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14679
14680         * BufferView_pimpl.C:
14681         * Thesaurus.h:
14682         * Thesaurus.C:
14683         * Makefile.am:
14684         * commandtags.h:
14685         * LyXAction.C: add thesaurus support
14686
14687         * lyxfind.h:
14688         * lyxfind.C: add "once" parameter, for thesaurus, to not
14689           move to the next match
14690
14691 2001-07-26  Juergen Vigna  <jug@sad.it>
14692
14693         * lyxfont.C (realize): honor ignore_language too!
14694         (resolved): ditto.
14695
14696         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14697
14698         * text.C (draw): one place more for ignore_language to not draw
14699         itself!
14700
14701 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14702
14703         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14704
14705 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14706
14707         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14708         the minipage conversion problem.
14709
14710 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14713         insert an inset.
14714
14715 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * BufferView.h: don't forward declare WorkArea
14718
14719         * BufferView.C: don't include WorkArea.h
14720
14721 2001-07-25  André Pönitz <poenitz@gmx.net>
14722
14723         * commandtags.h:
14724         * LyXAction.C:
14725         * lyxfunc.C:  new LFUN 'math-space'
14726
14727         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14728
14729 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14730
14731         * text2.C (toggleInset): call open/close
14732
14733 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14734
14735         * lyxfunc.C (dispatch): add debug for the disabled case
14736
14737         * font.C (buttonText): make similar to rectText
14738
14739         * buffer.C (readInset): comment out parsing of insetlist and
14740         insttheorem
14741
14742         * PainterBase.C (rectText): small correction
14743
14744         * BufferView_pimpl.C: comment out insettheorem and insetlist
14745         * LyXAction.C: ditto
14746         * commandtags.h: ditto
14747
14748 2001-07-24  Juergen Vigna  <jug@sad.it>
14749
14750         * text.C (draw): honor the ignore_language.
14751
14752         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14753
14754 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14757         char inset.
14758
14759 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14760
14761         * lyxtext.h: remove unused (and unimplemented) methods
14762
14763 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14764
14765         * text.C (getVisibleRow): honor background color
14766
14767         * PainterBase.h:
14768         * Painter.h: remove default color argument for fillRectangle
14769
14770         * text.C (backgroundColor): new method
14771
14772 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * text.C (getVisibleRow): adjust
14775
14776         * font.[Ch] (rectText): new method, metrics
14777         (buttonText): new method, metrics
14778
14779         * PainterBase.[hC]: make rectText and buttonText always draw and take
14780         fewer paramteres.
14781
14782 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14783
14784         * ToolbarDefaults.C (read):
14785         * MenuBackend.C (read): allow escaping in all strings
14786
14787         * BufferView_pimpl.C (insertAndEditInset): new method.
14788         (Dispatch): use insertAndEditInset whenever appropriate.
14789
14790         * BufferView_pimpl.C (insertNote): removed
14791
14792         * BufferView_pimpl.C (smartQuote): new method, moved from
14793         BufferView; if an insetquote cannot be inserted, insert a '"'
14794         character instead.
14795
14796         * BufferView2.C: remove insertCorrectQuote();
14797
14798         * lyxfunc.C (getStatus): Add support for all remaingin
14799         inset-insert lfuns.
14800
14801         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14802
14803         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14804         command (necessary to pass " as parameter of self-insert.
14805
14806         * text.C (selectWordWhenUnderCursor):
14807         (selectWord): add word_location parameter
14808         (selectWordWhenUnderCursor): same + remove special code for word
14809         boundary.
14810         (selectNextWord): use kind() to guess type of insetspecialchar,
14811         not latex().
14812
14813         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14814         (insertErtContents): create ert insets as collapsed.
14815         (readInset): better compatibility code for Info inset.
14816
14817 2001-07-20  Juergen Vigna  <jug@sad.it>
14818
14819         * lyxfunc.C (dispatch): use always LyXFind now!
14820
14821         * text2.C (init): add a reinit flag so that the LyXText can be
14822         reinited instead of deleted and reallocated (used in InsetText).
14823
14824         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14825
14826         * text.C: ditto
14827
14828         * text2.C: ditto
14829
14830 2001-07-18  Juergen Vigna  <jug@sad.it>
14831
14832         * text.C (selectNextWord): handle insets inside inset by calling
14833         always the bv->text functions so that we can go up the_locking_inset!
14834
14835         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14836         in strange locations when inside an inset!
14837
14838         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14839         handling to include insets.
14840
14841         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14842
14843 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * LyXAction.C (init):
14846         * commandtags.h:
14847         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14848         LIGATURE_BREAK, since the name is so stupid.
14849
14850 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14851
14852         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14853         InsetInfos.
14854
14855         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14856
14857         * sp_form.[Ch]: remove.
14858
14859         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14860
14861         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14862         InsetInfo.
14863
14864         * src/buffer.C (readInset): ditto.
14865
14866 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14867
14868         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14869         menuSeparator(), endOfSentenceDot(), ldots() and
14870         hyphenationPoint(), which are therefore removed.
14871         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14872
14873         * LyXAction.C (init):
14874         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14875
14876         * paragraph.C (getWord): removed.
14877
14878         * BufferView_pimpl.C (Dispatch): use last word or selection for
14879         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14880
14881         * lyx_main.C (queryUserLyXDir): do not ask before creating
14882         user_dir, except if it has been named explicitely.
14883
14884 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14885
14886         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14887         a document of zero size.
14888
14889 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14890
14891         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14892         approriately in the c-tor and in require().
14893         (getPackages): output the appropriate LaTeX for natbib support.
14894
14895         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14896         variables "use_natbib" and "use_numerical_citations" when reading the
14897         LyX file.
14898         (readInset): read the various natbib cite commands.
14899         (validate): white-space change.
14900
14901         * bufferparams.[Ch]: new variables "bool use_natbib" and
14902         "bool use_numerical_citations".
14903         (writeFile): output them in the LyX file.
14904
14905 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14906
14907         * lyxfunc.C (getStatus): add support for all the inset insertion
14908         commands.
14909
14910         * text2.C (insertInset):
14911         * paragraph.C (insetAllowed):
14912         * BufferView_pimpl.C (insertInset): update to take in account the
14913         renaming of insertInsetAllowed
14914
14915         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14916
14917         * text2.C (getInset): new method. returns inset at cursor position.
14918
14919         * BufferView_pimpl.C (Dispatch): changes because of this.
14920
14921         * LyXAction.C (init): rename open-stuff to inset-toggle.
14922
14923         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14924
14925         * text2.C (toggleInset): renamed from openStuff; use
14926         Inset::open().
14927
14928 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14929
14930         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14931
14932         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14933
14934 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * buffer.C (readLyXformat2): Add filename to the error dialog
14937
14938 2001-07-18  Juergen Vigna  <jug@sad.it>
14939
14940         * tabular.C (GetCellNumber): put an assert here instead of the check!
14941
14942 2001-07-17  Juergen Vigna  <jug@sad.it>
14943
14944         * BufferView_pimpl.C (toggleSelection): adapted too.
14945
14946         * text.C (selectNextWord): adapted for use with insets.
14947         (selectSelectedWord): ditto
14948
14949 2001-07-17  Juergen Vigna  <jug@sad.it>
14950
14951         * sp_spell.C (PSpell): fix initialitation order.
14952
14953 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * paragraph.C: spacing
14956
14957 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14958
14959         * sp_spell.C: repair language selection for pspell
14960
14961 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * lyxfunc.h: change more methods to begin with lower char.
14964
14965 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14968         for unknown layouts.
14969
14970 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * buffer.C (readLyXformat2): Generate an error dialog if there are
14973         unknown layouts.
14974
14975 2001-07-16  Juergen Vigna  <jug@sad.it>
14976
14977         * sp_spell.C: always compile ISpell part.
14978
14979         * lyxrc.C: added use_pspell entry and it's handling.
14980
14981 2001-07-13  Juergen Vigna  <jug@sad.it>
14982
14983         * sp_spell.C: removed double includes.
14984
14985 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14986
14987         Consistent use of Lsstream.h:
14988         * Lsstream.h: added using std::stringstream for consistencies sake.
14989
14990         * buffer.C: removed using std::stringstream
14991
14992         * lyxfont.C (stateText):
14993         * paragraph.C (asString):
14994         * text.C (selectNextWord, selectSelectedWord):
14995         * text2.C (setCounter):
14996         * vspace.C (asString, asLatexString):
14997         std::ostringstream -> ostringstream.
14998
14999 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15000
15001         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15002         * commandtags.h: add LFUN_HELP_ABOUTLYX
15003         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15004
15005 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15006
15007         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15008         cursorToggle()
15009         * lyx_gui_misc.C: remove spellchecker
15010         * lyxfunc.C: showSpellchecker
15011         * sp_base.h: added
15012         * sp_ispell.h: added
15013         * sp_pspell.h: added
15014         * sp_spell.C: added
15015         * sp_form.[Ch]: removed
15016         * spellchecker.[Ch]: removed
15017
15018 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15019
15020         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15021         is set.
15022         (simpleTeXSpecialChars): Simply print the input character without
15023         any special translation if pass_thru is set.
15024
15025         * layout.h: Added bool pass_thru to layout class for being able to
15026         implement pass through of a paragraph for Literate Programming.
15027
15028         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15029         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15030         * layout.C (Read): add "passthru" to list of layout tags and add
15031         code to set the pass_thru boolean when it is read.
15032
15033 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * trans_decl.h: remove allowed from KmodInfo
15036
15037         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15038         remove allowed code
15039         (Load): adjust
15040
15041         * paragraph_pimpl.C (erase): use boost::prior
15042
15043         * Painter.C (text): use data() instead of c_str() when length is
15044         also provided.
15045         * WorkArea.C (putClipboard): ditto
15046         * font.h (width): ditto
15047
15048         * BufferView2.C: use it-> instead of (*it). for iterators
15049         * texrow.C: ditto
15050         * paragraph_pimpl.C: ditto
15051         * paragraph.C: ditto
15052         * minibuffer.C: ditto
15053         * language.C: ditto
15054         * kbmap.C: ditto
15055         * encoding.C: ditto
15056         * counters.C: ditto
15057         * converter.C: ditto
15058         * chset.C: ditto
15059         * Variables.C: ditto
15060         * TextCache.C: ditto
15061         * MenuBackend.C: ditto
15062         * LyXAction.C: ditto
15063         * LColor.C: ditto
15064         * FloatList.C: ditto
15065         * DepTable.C: ditto
15066         * ColorHandler.C (LyXColorHandler): ditto
15067
15068 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15071
15072         * text2.C (openStuff): reintroduce this method (which had been
15073         nuked in NEW_INSETS frenzy).
15074
15075         * lyxfunc.C (Dispatch): when an action has not been handled, use
15076         its name in the error message, not its number.
15077
15078         * paragraph.C (inInset): change method name to begin with lowercase.
15079
15080         * undo_funcs.C:
15081         * text2.C: updates because of this.
15082
15083 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15084
15085         * ToolbarDefaults.C (add): add spaces in error message
15086
15087 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15090         (readLyXformat2): rename return_par to first_par, use lyxlex's
15091         pushToken and remove the manual push handling.
15092         (parseSingleLyXformat2Token): add another ert comp. variable:
15093         in_tabular, rename return_par to first_par. handle newlines better
15094
15095 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15096
15097         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15098
15099 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * text2.C (getParFromID): removed
15102
15103         * buffer.C (getParFromID): new method moved form lyxtext.
15104         * BufferView2.C (insertErrors): adjust
15105         (setCursorFromRow): adjust
15106         * BufferView_pimpl.C (restorePosition): adjust
15107         * lyxfunc.C (Dispatch): adjust
15108         * undo_funcs.C (textUndo): adjust
15109         (textRedo): adjust
15110         (textHandleUndo): adjust
15111         (textHandleUndo): adjust
15112
15113 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * buffer.C: up' the LYX_FORMAT
15116
15117         * lyxfont.h: turn NO_LATEX on as default
15118
15119         * buffer.C (insertErtContents): new methods of tex style compability.
15120         (parseSingleLyXformat2Token): use it several places.
15121         * tabular.C (OldFormatRead): and here
15122
15123 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15124
15125         * text2.C: remove some commented code.
15126         reindent file.
15127
15128         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15129         * trans.C: changes because of the above.
15130
15131 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * text2.C (setCounter): Fix counters bug with bibliography layout.
15134
15135 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15138         own member functions
15139         (simpleTeXSpecialChars): ditto
15140
15141 2001-07-06  Juergen Vigna  <jug@sad.it>
15142
15143         * a lot of files: changed the access to LyXText::status and the
15144         call of undo-functions.
15145
15146         * undo.[Ch]: added a inset_id to the undo informations.
15147
15148         * undo_funcs.[Ch]: added and moved here all undo functions.
15149
15150         * lyxtext.h: give the status enum a weight, made status_ a private
15151         variable and made accessor functions for it, removed the whole bunch
15152         of undo-functions as they are now in their own file, make some
15153         functions publically available. Added function ownerParagraph with
15154         int parameter.
15155
15156         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15157         made InInset() a const function, added getParFromID() function.
15158
15159         * buffer.[Ch]: added const version for inset_iterator functions,
15160         added getInsetFromID() function.
15161
15162         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15163         changed undo functions for new version.
15164
15165 2001-07-05  Juergen Vigna  <jug@sad.it>
15166
15167         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15168         unknow mechanism does not call the proper constructor but only this
15169         one also if I request the other!?
15170
15171 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15174
15175         * text2.C (LyXText): use initialization lists.
15176
15177         * lyxtext.h (Selection): initialize set_ and mark_
15178         (init): remove method
15179
15180 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15183
15184 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * screen.[Ch]: change method names to begin with lowercase
15187
15188         * BufferView_pimpl.C (updateScrollbar): simplify further and
15189         hopefully make it a bit faster.
15190
15191 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15194         calling directly xforms functions.
15195
15196         * Painter.C (Painter):
15197         * lyx_cb.C (MenuWrite):
15198         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15199         fl_display.
15200
15201         * lyx_gui.C: remove bogus guiruntime extern declaration.
15202
15203 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15206         in NEW_INSETS
15207         (redoDrawingOfParagraph): ditto
15208         (redoParagraphs): ditto
15209         (cutSelection): don't create a object for CutAndPaste use the
15210         static method directly
15211         (pasteSelection): ditto
15212
15213         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15214         LyXview (+ rename)
15215
15216 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * modifications to some other files because of this.
15219
15220         * Makefile.am (lyx_SOURCES): add XFormsView
15221
15222         * XFormsView.[Ch]: new files
15223
15224         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15225         the main window. Move the gui dependent stuff to XFormsView
15226
15227 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * tabular.C (GetCellInset): update cur_cell also in the row/col
15230         version of this function.
15231
15232         * lyxfunc.C: no need to include figure_form.h here.
15233
15234         * FontLoader.h:
15235         * lyxfunc.h:
15236         * lyxscreen.h:
15237         * text2.C:
15238         * lyxvc.C: no need to include forms.h here.
15239
15240 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15243
15244         * lyxfunc.C (Dispatch):
15245         * Spacing.C (set):
15246         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15247         constructor argument.
15248
15249 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * paragraph.C (Paragraph): dont't clear, and just set layout.
15252         (makeSameLayout): use params's copy contructor.
15253
15254         * ParagraphParameters.[Ch] (makeSame): delete method
15255
15256 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * Variables.[Ch]: fix indentation, rename set to isSet
15259
15260 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * lyxfunc.C (Dispatch): fix typo
15263
15264 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15265
15266         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15267         upper_bound.
15268
15269         * bufferlist.C: include assert.h for emergencyWrite().
15270
15271 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15274           give up at last (bug #425202) !
15275
15276 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * lyx_gui_misc.C:
15279         * sp_form.h:
15280         * sp_form.C:
15281         * spellchecker.h:
15282         * spellchecker.C: strip spellchecker options and bring up
15283           preferences tab instead
15284
15285 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15288         the istringstream constructor
15289
15290 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * paragraph.C (getLayout): fix return value
15293
15294         * paragraph.h: do not declare getLayout as inline.
15295
15296         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15297
15298 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * lyxcursor.h (operator<): new func
15301         (operator>): new func
15302         (operator>=): new func
15303         (operator<=): new func
15304
15305         * text.C (changeCase): use selection.start and selection.end
15306         (changeRegionCase): require from to be <= to. Require par to be a
15307         valid paragraph.
15308
15309         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15310
15311 2001-06-27  Juergen Vigna  <jug@sad.it>
15312
15313         * text.C (cursorLeftOneWord): changed to return the cursor and added
15314         overlay with BufferView * parameter which calls this one.
15315         (getWord): added
15316         (selectWord): use new getWord function.
15317         (changeCase): renamed from changeWordCase as and extended to work
15318         also on selections.
15319
15320         * lyxtext.h: added enum word_location
15321
15322         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15323         changeCase as this operates now also on selections.
15324
15325 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15326
15327         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15328
15329         * many files: send debug output to Debug::INFO instead of
15330         Debug::ANY.
15331
15332         * converter.C (View):
15333         (Convert):
15334         (Move): send debug output to Debug::FILES instead of console.
15335
15336 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15337
15338         * lyxfunc.C (getStatus): use func_status
15339
15340         * func_status.h: new header, describing the results of
15341         LyXFunc::getStatus;
15342
15343         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15344         LFUN_MATH_HALIGN.
15345
15346 2001-06-25  The LyX Project  <jug@sad.it>
15347
15348         * buffer.C (sgmlOpenTag):
15349         (sgmlCloseTag):
15350         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15351
15352 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15353
15354         * text2.C: remove some dead code
15355
15356         * tabular.C (GetCellInset): store the last cell checked (gotten)
15357
15358         * tabular.h: add the helper for the speedup
15359
15360         * lyxtext.h: remove some dead code
15361
15362 2001-06-26  The LyX Project  <Asger>
15363
15364         * paragraph.C: Change export to LaTeX of alignment to
15365         \begin{center} and family for better roundtrip work with reLyX.
15366
15367         * Tune the math drawing a bit.
15368
15369 2001-06-25  The LyX Project  <Asger>
15370
15371         * LColor.C (LColor): New color for math background. New color
15372         for buttons.
15373
15374 2001-06-25  The LyX Project  <jug@sad.it>
15375
15376         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15377
15378         * lyxfunc.C (Open):
15379         * bufferlist.C (newFile): do not restrict to files ending with
15380         .lyx
15381
15382         * BufferView_pimpl.C (MenuInsertLyXFile):
15383
15384 2001-06-24  The LyX Project  <jug@sad.it>
15385
15386         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15387         of compare_no_case
15388
15389 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * lyxtext.h: rename most methods to begin with a small char.
15392         Lots of changes because of this.
15393
15394         * paragraph.C (Paragraph): do not call fitToSize
15395         (erase): call Pimpl::erase
15396         (insertChar): call Pimpl::insertChar
15397         (insertInset): call Pipl::insertInset
15398         (breakParagraph): do not call fitToSize
15399         (breakParagraphConservative): do not call fitToSize
15400         (fitToSize): remove method
15401
15402         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15403
15404 2001-06-24  The LyX Project  <Asger>
15405
15406         * Fix Qt compilation^2
15407
15408 2001-06-24  The LyX Project  <jug@sad.it>
15409
15410         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15411         depthHook(getDepth()-1).
15412
15413         * paragraph.h:
15414         * ParagraphParameters.h:
15415         * ParameterStruct.h: change type of depth to unsigned int ==
15416         depth_type. Many adaptations to other files before of that.
15417
15418 2001-06-24  The LyX Project  <Asger>
15419
15420         * Fix Qt compilation.
15421
15422 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * paragraph.h: renamed several methods to begin with small letter.
15425         several changes to many parts of the code because of this.
15426
15427 2001-06-23  The LyX Project  <jug@sad.it>
15428
15429         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15430         rewritten to discard all double spaces when KeepEmpty is off
15431         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15432         to only handle newlines but not fiddle with spaces and friends.
15433
15434         * lyxfunc.C (MenuNew): when doing 'new from template', use
15435         template_path as default directory
15436
15437 2001-06-23  The LyX Project  <Asger>
15438
15439         * Clean-up of header file includes all over
15440         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15441
15442 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15443
15444         * paragraph.h: renamed from lyxparagraph.h
15445
15446 2001-06-23  Asger  <lyx@violet.home.sad.it>
15447
15448         * Buffer.h: Removed Buffer::resize
15449         * BufferList.h: Removed BufferList::resize
15450         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15451         the document lazily when we change the width, or the font settings.
15452
15453 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15454
15455         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15456
15457 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15458
15459         * buffer.h: remove out of date comment
15460
15461 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15462
15463         * lyxscreen.h:
15464         * screen.C: fix "theoretical" GC leak
15465
15466 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * LaTeX.C (scanAuxFile):
15469         (deplog): remove trailing \r when reading stream (useful under
15470         win32)
15471
15472 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15473
15474         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15475         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15476         and BufferView::theLockingInset(Inset*), so should use them and not
15477         access bv_->text->the_locking_inset directly.
15478
15479         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15480
15481 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15482
15483         * Makefile.am:
15484         * tex-defs.h: remove old unused file
15485
15486 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15487
15488         * BufferView_pimpl.C: fix typo, remove minibuffer message
15489           when buffer has loaded
15490
15491 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * lyxfunc.C (Dispatch): use stringstream
15494         (MenuNew): use stringstream
15495         (Open): use stringstream
15496
15497         * importer.C (Import): use stringstream
15498
15499         * bufferview_funcs.C (CurrentState): use stringstream
15500
15501         * LaTeX.C (run): use stringstream
15502
15503         * BufferView_pimpl.C (savePosition): use stringstream
15504         (restorePosition): use stringstream
15505         (MenuInsertLyXFile): use stringstream
15506
15507 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15508
15509         * BufferView.C:
15510         * Bullet.C:
15511         * ColorHandler.C:
15512         * FontInfo.C:
15513         * FontLoader.C:
15514         * LColor.C:
15515         * LaTeXFeatures.C:
15516         * Painter.C:
15517         * gettext.C:
15518         * lyx_gui_misc.C:
15519         * lyxserver.C:
15520         * vspace.C: removed // -*- C++ -*- as first line.
15521
15522         * lyxfind.h:
15523         * version.h: added // -*- C++ -*- as first line.
15524
15525 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15528
15529         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15530         of string
15531
15532 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15533
15534         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15535         of floats.
15536
15537 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * gettext.C: include LString.h even when --disable-nls is on.
15540
15541 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15542
15543         * converter.h (Get): changed argument type from int to
15544         FormatList::size_type to avoid unnecessary conversion.
15545
15546         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15547         before using it.
15548
15549 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * gettext.h: include LString.h even when --disable-nls is on.
15552
15553 2001-06-07  Juergen Vigna  <jug@sad.it>
15554
15555         * text.C (BreakAgain): subst spaces with tabs.
15556
15557         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15558         (resizeInsetsLyXText): set force on resizeLyXText.
15559
15560 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * gettext.h (gettext_init):
15563         (locale_init): use a real definition instead of a macro
15564
15565 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * Bufferview_pimpl.C:
15568         * LColor.h:
15569         * LColor.C: further lcolor tidies
15570
15571 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15572
15573         * BufferView_pimpl.C (updateScrollbar): simplify.
15574
15575         * BufferView2.C: don't include insets/insetinfo.h, change
15576         prototype for insertInset and call the Pimpl version. let
15577         updateInset call Pimpl version.
15578
15579         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15580         gotoInset to BufferView::Pimpl
15581
15582 2001-06-01  Juergen Vigna  <jug@sad.it>
15583
15584         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15585         inside a LockingInset (is the update needed at all?).
15586
15587 2001-05-31  Juergen Vigna  <jug@sad.it>
15588
15589         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15590         here not the old one otherwise how should we compare it afterwards
15591         if it's the same!
15592
15593 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * lyxfont.C:
15596         * tabular.C:
15597         * tabular-old.C:
15598         * FontInfo.C: bring C functions into global namespace when
15599         necessary
15600
15601 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * LString.h: make sure config.h has been loaded before LString.h.
15604
15605         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15606         (one for each char read by EatLine!).
15607
15608         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15609         variables.
15610
15611 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15612
15613         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15614         to the same as the par we break from
15615
15616 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15619
15620         * MenuBackend.C (expand): also create menu entries for wide
15621         versions of the floats.
15622
15623         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15624
15625         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15626
15627         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15628         frontends/Makefile.am
15629
15630         * text2.C: adjust
15631         * text.C: adjust
15632
15633
15634         * tabular.C (getTokenValue): add std::
15635
15636         * tabular-old.C (getTokenValue): add std::
15637         (getTokenValue): ditto
15638         (getTokenValue): ditto
15639
15640         * screen.C (ToggleSelection): adjust
15641
15642         * lyxtext.h: put selection cursors inside a Selection struct.
15643
15644         * lyxfunc.C (moveCursorUpdate): adjust
15645
15646         * lyxfont.C (latexWriteStartChanges): add std::
15647
15648         * lyxfind.C: adjust
15649
15650         * font.h: delete with(char const *, LyXFont const &)
15651
15652         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15653
15654         * FontInfo.C (getFontname): add std::
15655
15656         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15657         (workAreaButtonPress): adjust
15658         (tripleClick): adjust
15659         (update): adjust
15660         (moveCursorUpdate): adjust
15661         (Dispatch): adjust
15662
15663         * BufferView2.C (gotoInset): adjust
15664
15665 2001-05-30  Juergen Vigna  <jug@sad.it>
15666
15667         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15668         to check pspell I add this as default as I now have new pspell
15669         libraries and they seem to use this.
15670
15671 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15672
15673         * text2.C (CutSelection): make the cursor valid before the call to
15674         ClearSelection.
15675
15676 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15679         relied on 0 terminated strings and other horrors. Bug found due to
15680         the new assert in lyxstring!
15681
15682         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15683         KP_ keys.
15684
15685 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15688         to latinkeys.bind.
15689
15690         * lyxfunc.C (processKeySym): change method of getting to the
15691         self-insert char.
15692
15693         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15694         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15695         * BufferView_pimpl.[Ch]: here as private methods.
15696
15697 2001-05-28  Juergen Vigna  <jug@sad.it>
15698
15699         * text.C (SetHeightOfRow): added the update() call again as it is
15700         needed to initialize inset dimensions!
15701
15702 2001-05-16  Juergen Vigna  <jug@sad.it>
15703
15704         * text2.C (SetCharFont): Add new function with BufferView * and
15705         bool toggleall parameters for setting insets internal fonts.
15706         (SetFont): Freeze the undo as we may change fonts in Insets and
15707         all this change should be inside only one Undo!
15708
15709         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15710         setting font's in insets as for them we have the SetFont function!
15711
15712 2001-05-15  Juergen Vigna  <jug@sad.it>
15713
15714         * text2.C (ClearSelection): to be sure we REALLY don't have any
15715         selection anymore!
15716
15717         * tabular.C (TeXCellPreamble): fixed the left border problem for
15718         multicolumn cells.
15719
15720 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15721
15722         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15723         dependancy file
15724
15725 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15728         LFUN_BREAKPARAGRAPH.
15729
15730         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15731         help test to "internal only", similar for LFUN_INSERT_URL
15732
15733         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15734         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15735         auto_region_delete and deadkeys.
15736
15737 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15738
15739         * LColor.h:
15740         * LColor.C: remove some dead entries, tidy a little
15741
15742 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15745         commented code.
15746         (Dispatch): implement LFUN_ESCAPE
15747
15748         * commandtags.h: add LFUN_ESCAPE
15749
15750         * LyXAction.C (init): add entry for LFUN_ESCAPE
15751
15752         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15753         Remove commented code.
15754         (insertNote): moved here
15755         (open_new_inset): moved here
15756
15757         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15758         BufferView_pimpl
15759
15760 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * kbmap.C (findbinding): clean it up and make it work correctly.
15763
15764         * lyx_main.C (init): do not pass argc and argv as parameters
15765
15766 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15767
15768         * buffer.C: fix path for OS/2 & Win32
15769
15770         * lyx_gui.C:
15771         * lyx_main:
15772         * lyx_main.C: Added os:: class.
15773
15774         * os2_defines.h: update
15775
15776 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15779         better by trying again with reduced state.
15780
15781 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * lyxrc.C (read): print error about invalid key sequence only when
15784         debugging (because not all latinX keysyms are known to some X
15785         servers)
15786
15787         * kbsequence.C (getiso): add a few std:: qualifiers
15788         (getiso): comment out extra return statement.
15789
15790 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15791
15792         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15793         handling.
15794         (Dispatch): enhance the accent inset a bit. (not perfect)
15795
15796 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15797
15798         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15799
15800 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * bufferlist.C (emergencyWrite): fix assert() call
15803
15804 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15805
15806         * text.C (InsertChar): Added trivial patch to only send the "you
15807         can not do multiple spaces this way" message once during a
15808         session.
15809
15810 2001-05-08  Baruch Even  <baruch@lyx.org>
15811
15812         * Makefile.am: Changed order of libraries to get LyX to link properly
15813         with the gnome frontend.
15814
15815 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15816
15817         * LaTeXFeatures.h: add a std:: qualifier
15818
15819 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * paragraph.C (String): use stringstream
15822
15823 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * paragraph.C (writeFile): remove footflag arg
15826
15827         * buffer.C (makeLaTeXFile): use stringstream
15828         (latexParagraphs): remove footnot gurba
15829
15830         * LaTeXFeatures.C (getPackages): use stringstream
15831         (getMacros): likewise
15832         (getTClassPreamble): likewise
15833         (getFloatDefinitions): new method
15834
15835         * paragraph.C (writeFile): reindent
15836         (Erase): reindent
15837
15838         * WorkArea.h: revert the xpos + etc changes.
15839
15840         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15841
15842         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15843
15844         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15845         (pasteSelection): likewise
15846         * text2.C (CreateUndo): likewise
15847
15848 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15849
15850         * minibuffer.C (peek_event): temporarily reduce the functionality
15851         of the minibuffer (to allow args on lfuns)
15852
15853         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15854         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15855
15856         * buffer.C (readInset): add compability reading of old float
15857         lists, add reading of new style float list.
15858         (readInset): avoid reevaluation of inscmd.getCmdName()
15859         (getLists): reindent
15860
15861         * MenuBackend.C (MenuItem): implement parsing of
15862         md_floatlistinsert and md_floatinsert.
15863         (expand::LastFiles): move initalizaton of iterators out of loop,
15864         avoid reevaluation.
15865         (expand::Documents): introduce typdedef vector<string> Strings,
15866         and use it.
15867         (expand::ExportFormats): introduce typedef vector<Format const *>
15868         Formats, and use it.
15869         (expand): implement FloatListInsert and FloatInsert.
15870
15871         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15872         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15873         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15874
15875         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15876         handling.
15877         (Dispatch::LFUN_FLOAT_LIST): implement
15878
15879 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15880
15881         * LaTeX.C (run): Fix problem with --export code.
15882
15883 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15884
15885         * BufferView.[Ch] (workarea): removed.
15886         (getClipboard) new method; wrapper for workarea()->getClipboard()
15887
15888         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15889         bug.
15890
15891         * WorkArea.h (width, height, xpos, ypos): These methods all
15892         returned the dimensions of the work_area sub-area of WorkArea,
15893         resulting in a position error if the WorkArea were resized. Now
15894         return the dimensions of the entire WorkArea.
15895
15896         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15897
15898 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * LaTeX.C (deplog): correct the syntax of regex reg1
15901
15902 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * undo.C: remove !NEW_INSETS cruft
15905
15906 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * text2.C: remove !NEW_INSETS cruft
15909
15910         * text.C: remove !NEW_INSETS cruft
15911
15912         * tabular.C: remove !NEW_INSETS cruft
15913
15914         * spellchecker.C: remove !NEW_INSETS cruft
15915
15916         * lyxtext.h: remove !NEW_INSETS cruft
15917
15918         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15919
15920         * lyxfunc.C: remove !NEW_INSETS cruft
15921
15922         * lyxfind.C: remove !NEW_INSETS cruft
15923
15924         * lyx_cb.C: remove !NEW_INSETS cruft
15925
15926         * figureForm.C: remove  !NEW_INSETS cruft
15927
15928         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15929
15930         * buffer.[Ch]: remove !NEW_INSETS cruft
15931
15932         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15933
15934         * CutAndPaste.C: remove !NEW_INSETS cruft
15935
15936         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15937
15938         * BufferView2.C: remove !NEW_INSETS cruft
15939
15940         * BufferView.h: remove !NEW_INSETS cruft
15941
15942 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * Lsstream.h: include LString.h before the sstream headers to
15945         fix problem with gcc 2.95.3 and lyxstring
15946
15947 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * lyx_main.C: add using directives when needed for C functions
15950         declared in std:: namespace.
15951
15952 2001-04-27  Juergen Vigna  <jug@sad.it>
15953
15954         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15955         (SetHeightOfRow): comment out the update call should not be needed!
15956
15957 2001-04-13  Juergen Vigna  <jug@sad.it>
15958
15959         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15960         (LyXTabular): tried to minimize operator= operations (and realized
15961         hopfully Lars wish).
15962
15963 2001-04-27  Juergen Vigna  <jug@sad.it>
15964
15965         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15966
15967 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15970
15971         * buffer.C (readInset): hack to make listof algorithm work
15972
15973         * BufferView_pimpl.C: hack to make listof algorithm work
15974
15975 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * LyXAction.C: removed all !NEW_INSETS cruft
15978         (init): moved lfun_item in method
15979
15980         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15981
15982 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15983
15984         * BufferView2.C (theLockingInset): white space.
15985
15986 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15987
15988         * minibuffer.C: include <iostream>
15989
15990         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15991
15992         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15993
15994         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15995
15996         * text.[Ch] (TransposeChars): new method
15997
15998 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * call message directly through LyXView instead of through LyXFunc
16001         * BufferView2.C: adjust
16002         * BufferView_pimpl.C: adjust
16003         * FontLoader.C: adjust
16004         * buffer.C: adjust
16005         * bufferview_funcs.C: adjust
16006         * converter.C: adjust
16007         * figureForm.C: adjust
16008         * importer.C: adjust
16009         * lyx_cb.C: adjust
16010         * lyx_gui_misc.C: adjust
16011         * lyxfunc.C: adjust
16012         * lyxvc.C: adjust
16013         * text2.C: adjust
16014         + more files in subdirs
16015
16016         * lyxparagraph.h (size): move up int file
16017         (GetLayout): ditto
16018
16019         * adjust all uses of Assert to lyx::Assert.
16020
16021         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16022         lyxfunctional in namespace lyx
16023         * layout.C (hasLayout): ditto
16024         (GetLayout): ditto
16025         (GetLayout): ditto
16026         (delete_layout): ditto
16027         (NumberOfClass): ditto
16028         * converter.C (GetFormat): ditto
16029         (GetNumber): ditto
16030         (Add): ditto
16031         (Delete): ditto
16032         (SetViewer): ditto
16033         * bufferlist.C (getFileNames): ditto
16034         (emergencyWriteAll): ditto
16035         (exists): ditto
16036         (getBuffer): ditto
16037         * MenuBackend.C (hasSubmenu): ditto
16038         (hasMenu): ditto
16039         (getMenu): ditto
16040         * BufferView_pimpl.C (getInsetByCode): ditto
16041
16042 2001-04-18  Juergen Vigna  <jug@sad.it>
16043
16044         * vspace.C (asLatexString): fixed the 100% problem.
16045
16046 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16047
16048         * lyxfunc.C (Dispatch):
16049         * minibuffer.C:
16050         * minibuffer.h: add a few std:: qualifiers
16051
16052 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * minibuffer.[Ch]: reimplement so that commands is initiated and
16055         run from lyxfunc, simplified som handling, and made the completion
16056         and history code for complete. wip.
16057
16058         * lyxfunc.C (processKeySym): call message
16059         (miniDispatch): new temporary method
16060         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16061         (LFUN_MESSAGE): implement
16062         (LFUN_MESSAGE_PUSH): implement
16063         (LFUN_MESSAGE_POP): implement
16064         (initMiniBuffer): the initial/defualt minibuffer message.
16065
16066         * lyxfont.[Ch]: inline some more getters
16067
16068         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16069
16070         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16071
16072         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16073         (AutoSave): use LFUN_MESSAGE
16074         (Reconfigure): ditto
16075
16076         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16077
16078         * figureForm.C: use LFUN_MESSAGE
16079
16080         * converter.C (runLaTeX): use LFUN_MESSAGE
16081
16082         * bufferview_funcs.C: use LFUN_MESSAGE
16083         (Melt): ditto
16084         (changeDepth): ditto
16085
16086         * bufferparams.h: use boost::
16087
16088         * bufferlist.h: inherit privately from noncopyable
16089
16090         * bufferlist.C (loadLyXFile): remove some commented code.
16091
16092         * buffer.C (runChktex): use LFUN_MESSAGE
16093
16094         * ShareContainer.h: inherit privately from noncopyable
16095
16096         * ParagraphParameters.[hC] (depth): inline it.
16097
16098         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16099         methods.
16100         (message): new method
16101         (messagePush): ditto
16102         (messagePop): ditto
16103         (show): init minibuffer
16104         (showState): direct call
16105
16106         * LaTeX.[Ch]: inherit privately from noncopyable
16107         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16108         instead of WriteStatus.
16109
16110         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16111
16112         * BufferView_pimpl.C (buffer): don't init minibuffer
16113         (workAreaButtonPress): use LFUN_MESSAGE
16114         (workAreaButtonRelease): ditto
16115         (savePosition): ditto
16116         (restorePosition): ditto
16117         (MenuInsertLyXFile): ditto
16118         (workAreaExpose): don't init minibuffer
16119         (update): remove commented code, simplify
16120
16121         * BufferView2.C (openStuff): use LFUN_MESSAGE
16122         (toggleFloat): ditto
16123         (menuUndo): ditto
16124         (menuRedo): ditto
16125         (copyEnvironment): ditto
16126         (pasteEnvironment): ditto
16127         (copy): ditto
16128         (cut): ditto
16129         (paste): ditto
16130         (gotoInset): ditto
16131         (updateInset): remove some commented code
16132
16133         * lastfiles.h: inherit privately from noncopyable
16134         * layout.h: ditto
16135         * lyx_gui.h: ditto
16136         * lyx_main.h: ditto
16137         * lyxlex.h: ditto
16138         * lyxlex_pimpl.h: ditto
16139
16140         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16141         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16142         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16143
16144         * LyXAction.h: inherit privately from noncopyable, add methods
16145         func_begin, func_end, returning iterators to the func map.
16146
16147         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16148         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16149         (func_begin): new method
16150         (func_end): new method
16151
16152         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16153         and not)
16154         (copySelection): ditto
16155         (pasteSelection): ditto
16156
16157         * BufferView.C: whitespace change
16158         * BufferView.h: inherit privately from noncopyable
16159
16160 2001-04-16  Allan Rae  <rae@lyx.org>
16161
16162         * tabular-old.C (l_getline):
16163         * spellchecker.C (sc_check_word):
16164         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16165         an unrecognised preprocessor directive.  So ensure they're wrapped.
16166
16167 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16168
16169         * src/exporter.C (Export): Give an error message when path to file
16170         contains spaces.
16171
16172 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16173
16174         * LaTeX.C (deplog): Always check that foundfile exists.
16175
16176 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16177
16178         * lyx_main.h:
16179         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16180
16181 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * tabular.[Ch] (getLabelList): implement new method
16184
16185         * minibuffer.h: comment ouf setTiimer
16186
16187         * minibuffer.C (ExecutingCB): constify res
16188         (peek_event): constify s
16189         (Set): constify ntext
16190         (Init): constify nicename
16191
16192         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16193
16194         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16195         (savePosition): use two params to Minibuffer::Set
16196         (restorePosition): ditto
16197
16198 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16199
16200         * lyx_main.C: include language.h
16201
16202         * Makefile.am (lyx_main.o): add language.h
16203
16204 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * exporter.C:
16207         * paragraph.C:
16208         * screen.C:
16209         * tabular.C:
16210         * CutAndPaste.C: include gettext.h
16211
16212         * lyxfont.h: remove old hack with ON and OFF.
16213
16214         * lyxparagraph.h:
16215         * lyxfont.h: do not include language.h...
16216
16217         * BufferView2.C:
16218         * LaTeXFeatures.C:
16219         * Painter.C:
16220         * bufferview_funcs.C:
16221         * font.C:
16222         * lyxfont.C:
16223         * text.C:
16224         * text2.C:
16225         * trans_mgr.C:
16226         * paragraph.C: ... but do it here instead
16227
16228 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16229
16230         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16231
16232         * tabular.C: small reformat
16233
16234         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16235         NEW_INSETS version
16236         (GetChar): ditto
16237         (BreakParagraph): ditto
16238         (SetOnlyLayout): ditto
16239         (SetLayout): ditto
16240
16241         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16242         with one arg less.
16243
16244         * lastfiles.C: removed most using decl, add std:: where needed
16245
16246         * buffer.C: ws changes
16247
16248         * MenuBackend.C (class compare_format): put into anon namespace
16249         (expand): constify label, names, action, action2
16250         (expand):
16251
16252         * text.C (SingleWidth): constify font
16253         (IsBoundary): constify rtl2
16254         (GetVisibleRow): constify ww
16255
16256         * LaTeX.C (deplog): constify logfile
16257
16258         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16259         start_x, end_x
16260         (workAreaExpose): constify widthChange, heightChange
16261
16262         * lyxrow.C (par): moved
16263         (height): moved
16264         (next): moved
16265         * lyxrow.h: as inlines here
16266
16267         * lyxfont.h (shape): moved from lyxfont.C
16268         (emph): moved from lyxfont.C
16269
16270         * lyxfont.C (LyXFont): use initialization list for all
16271         constructors
16272         (shape): move to lyxfont.h as inline
16273         (emph): move to lyxfont.h as inline
16274
16275
16276 2001-04-04  Juergen Vigna  <jug@sad.it>
16277
16278         * vspace.C: had to include stdio.h for use of sscanf
16279
16280 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16281
16282         * BufferView.h:
16283         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16284         independent of xforms.
16285
16286 2001-04-02  Juergen Vigna  <jug@sad.it>
16287
16288         * spellchecker.C: fixed namespace placing!
16289
16290 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16291
16292         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16293         the LyXParagraph * is 0.
16294
16295 2001-03-29  Juergen Vigna  <jug@sad.it>
16296
16297         * vspace.C: added support for %, c%, p%, l%.
16298         (stringFromUnit): added helper function.
16299         (asLatexString): changed to give right results for the %-values.
16300
16301         * buffer.C: convert the widthp in a width%.
16302
16303 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16304
16305         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16306         figureForm.[Ch].
16307
16308         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16309         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16310
16311         * lyx_cb.[Ch]: see above.
16312
16313         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16314         form1.[Ch].
16315
16316         * form1.[Ch]:
16317         * lyx.[Ch]: replaced by figure_form.[Ch].
16318
16319         * lyx_gui.C:
16320         * lyx_gui_misc.C:
16321         * lyxfunc.C: changed headers associated with above changes.
16322
16323 2001-03-27  Juergen Vigna  <jug@sad.it>
16324
16325         * BufferView_pimpl.C: set the temporary cursor right!
16326
16327 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16328
16329         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16330
16331 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16332
16333         * LString.h: removed "using std::getline"!
16334
16335         * BufferView_pimpl.C (Dispatch): changes due to changes in
16336         InsetInclude::Params.
16337
16338         * buffer.C (tag_name): removed redundant break statements as they were
16339         producing lots of warnings with my compiler.
16340
16341 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16342
16343         * LString.h: add "using std::getline" when using the real <string>.
16344
16345 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16346
16347         * buffer.C: removed bitset usage.
16348         PAR_TAG moved to an anonymous name space.
16349         (tag_name): new funtion, also in the anonymous namespace.
16350         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16351         (makeDocBookFile): clean code. Completed transition from string arrays
16352         to string vectors.
16353         (SimpleDocBookOnePar): code clean.
16354
16355 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16356
16357         * tabular.C: add some comments.
16358
16359 2001-03-22  Juergen Vigna  <jug@sad.it>
16360
16361         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16362         compatibility read a bit and fixed bug with minipage in different
16363         depth.
16364
16365 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16366
16367         * buffer.C (pop_tag): removed.
16368         (push_tag): removed.
16369         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16370         array replaced with vector. Added support for CDATA sections.
16371         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16372         at any nest level.
16373         (makeDocBookFile): XML conformant declaration of CDATA section,
16374         fixed bug related to <emphasis> in the first paragraph char.
16375         (sgmlOpenTag): exclude empty tags.
16376         (sgmlCloseTag): ditto.
16377
16378         * buffer.h (pop_tag): removed.
16379         (push_tag): removed.
16380
16381 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16382
16383         * language.h (Languages): added size_type and size().
16384
16385 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16388         response on compability reading of minipages. One probliem is that
16389         the old usage of minipages was «flertydig»
16390
16391         * several files here and in subdirs: don't use static at file
16392         scope use anon namespaces instead.
16393
16394 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16395
16396         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16397         LaTeX output. This is necessary for Literate document
16398         processing.
16399
16400 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16401
16402         * buffer.C: insert hfill when needed.
16403
16404         * tabular.C (l_getline): use string::erase, small whitespace change.
16405
16406         * BufferView_pimpl.C: try the anon namespace.
16407         * WorkArea.C: ditto
16408
16409 2001-03-16  Juergen Vigna  <jug@sad.it>
16410
16411         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16412         otherwise it won't open options-dialogs.
16413
16414         * buffer.C: honor pextraWidth(p) on converting minipages.
16415
16416         * tabular.C (l_getline): changed the functions to strip trailing \r.
16417
16418 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16419
16420         * BufferView_pimpl.C:
16421         * minibuffer..C: added "using SigC::slot" declaration.
16422
16423 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16424
16425         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16426
16427         * text2.C: ditto
16428
16429         * text.C: ditto
16430
16431         * paragraph.C: ditto
16432
16433         * lyxtext.h: NO_PEXTRA
16434
16435         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16436
16437         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16438         * ParameterStruct.h: ditto
16439         * ParagraphParameters.h: ditto
16440         * lyxparagraph.h: ditto
16441
16442 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16443
16444         * buffer.C: add compability for minipage alignment.
16445         (latexParagraphs): remove unwanted pextra check.
16446
16447         * several files: remove CXX_WORKING_NAMESPACES
16448
16449         * buffer.C (pop_tag): tie is in namespace boost
16450
16451         * BufferView.h: noncopyable is in namespace boost
16452         * lyxlex.h: ditto
16453         * lyx_main.h: ditto
16454         * lyx_gui.h: ditto
16455         * layout.h: ditto
16456         * lastfiles.h: ditto
16457         * bufferlist.h: ditto
16458         * ShareContainer.h: ditto
16459         * LyXView.h: ditto
16460         * LyXAction.h: ditto
16461         * LaTeX.h: ditto
16462
16463 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16464
16465         * Merging changes from BRANCH_MVC back into HEAD.
16466
16467         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16468
16469 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16470
16471         * BufferView_pimpl.C: change from intl.C
16472
16473         * combox.h:
16474         * combox.C:
16475         * Makefile.am: move combox.*
16476
16477         * form1.h:
16478         * form1.C:
16479         * lyx_gui.C:
16480         * intl.h:
16481         * intl.C: remove dialog (covered by prefs)
16482
16483 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16484
16485         * lyxfunc.C (Dispatch): removed redundant break statement.
16486
16487 2001-03-14  Juergen Vigna  <jug@sad.it>
16488
16489         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16490
16491 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16492
16493         * buffer.C: add hack to fix compability reading of minipages.
16494
16495 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16496
16497         * buffer.C (getLists): Cleanup.
16498
16499 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16500
16501         * lyxfont.C (update): don't honor toggleall on font size.
16502
16503 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16504
16505         * bmtable.c:
16506         * bmtable.h:
16507         * Makefile.am: moved to frontends/xforms/
16508
16509         * lyx_gui_misc.C:
16510         * lyxfunc.C:
16511         * BufferView_pimpl.C: changes for moved mathpanel
16512
16513 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16514
16515         * gettext.h: fix gettext_init() in --disable-nls
16516
16517 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16518
16519         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16520
16521 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * lyx.C:
16524         * lyx.h: strip external form
16525
16526 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16527
16528         * BufferView_pimpl.C: add comment, destroySplash()
16529
16530 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16531
16532         * BufferView_pimpl.C:
16533         * LyXAction.C:
16534         * buffer.C:
16535         * commandtags.h:
16536         * lyxfunc.C: use re-worked insetinclude
16537
16538 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16539
16540         * buffer.C: add using std::stringstream.
16541
16542         * lyx_cb.C: readd using std::ios.
16543
16544         * buffer.C: add using std::map.
16545
16546         * BufferView_pimpl.C: add using std::vector.
16547
16548         * ShareContainer.h: add std:: to swap.
16549
16550         * buffer.h: add some typedefs
16551         * buffer.C (getLists): use them
16552         (getLists): renamed from getTocList.
16553         add a counter for the different float types and use it in the
16554         generated string.
16555         (getLists): use the same counter for the NEW_INSETS and the "non"
16556         NEW_INSETS
16557
16558         * lyx_cb.h: remove unused items, includes, using etc.
16559
16560         * ShareContainer.h: remove some commented code, add more comments
16561         and "documentation".
16562
16563 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16564
16565         * buffer.C (getTocList): make the list also when NEW_INSETS is
16566         defined.
16567
16568         * buffer.h: remove TocType
16569
16570         * buffer.C (getTocList): change to return a map<string,
16571         vector<TocItem> >, implement for dynamic number of list.
16572
16573         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16574         * text2.C (PasteSelection): adjust
16575         * CutAndPaste.C (pasteSelection): adjust
16576
16577         * FloatList.C (FloatList): update from the new_insets branch.
16578         * Floating.[Ch]: ditto
16579         * LaTeXFeatures.C: ditto
16580         * buffer.C: ditto
16581         * lyxlex_pimpl.C: ditto
16582
16583         * paragraph.C (Last): remove when NEW_INSETS is defined.
16584
16585         * other file: changes because of the above.
16586
16587 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16588
16589         * lyxparagraph.h: rename next to next_, previous to previous_,
16590         make them private for NEW_INSETS. Rename Next() to next(),
16591         Previous() to previous().
16592
16593         * other files: changes because of the above.
16594
16595 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * BufferView.h:
16598         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16599         problem.
16600
16601 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * main.C (main): pass lyx_localedir to gettext_init().
16604
16605         * gettext.h: remove locale_init and gettext_init macros
16606
16607         * gettext.C (locale_init): new function
16608         (gettext_init): new function
16609
16610         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16611         setlocale().
16612
16613 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16614
16615         * Moved credits to frontends:
16616         * credits.[Ch]: removed
16617         * credits_form.[Ch]: removed
16618         * lyx_gui_misc.C: remove credits stuff
16619         * Makefile.am:
16620
16621 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16622
16623         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16624
16625         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16626         unneeded destructor.
16627
16628         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16629         a standalone pointer again.
16630
16631         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16632
16633 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16634
16635         * Makefile.am:
16636         * filedlg.h:
16637         * filedlg.C:
16638         * LyXAction.C:
16639         * ToolbarDefaults.C:
16640         * bufferlist.C:
16641         * commandtags.h:
16642         * form1.C:
16643         * form1.h:
16644         * lyx_cb.C:
16645         * lyx_cb.h:
16646         * lyxfunc.h:
16647         * lyxfunc.C:
16648         * BufferView_pimpl.C: use new file dialog in GUII
16649
16650         * lyx_cb.h:
16651         * lyx_cb.C: remove LayoutsCB to Toolbar
16652
16653 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16654
16655         * ShareContainer.h (get): add std:: qualifier
16656
16657 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16658
16659         * ShareContainer.h: define a proper ShareContainer::value_type
16660         type (and use typename to please compaq cxx)
16661
16662 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16663
16664         * lyxparagraph.h: move serveral local vars to
16665         ParameterStruct/ParagraphParameters., use ShareContainer in
16666         FontTable., make vars in FontTable private and add getter and
16667         setter.
16668
16669         * paragraph.C: changes because of the above.
16670
16671         * lyxfont.h: remove copy constructor and copy assignment. (the
16672         default ones is ok), move number inside FontBits. move inlines to
16673         lyxfont.C
16674
16675         * lyxfont.C: add number to initializaton of statics, move several
16676         inlines here. constify several local vars. some whitespace
16677         cleanup. Dont hide outerscope variables.
16678
16679         * Spacing.h: add two new constructors to match the set methods.
16680
16681         * ShareContainer.h: new file, will perhaps be moved to support
16682
16683         * ParameterStruct.h: new file
16684
16685         * ParagraphParameters.h: new file
16686
16687         * ParagraphParameters.C: new file
16688
16689         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16690         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16691
16692         * BufferView_pimpl.C: ParagraphParameter changes.
16693         * buffer.C: Likewise.
16694         * bufferview_funcs.C: Likewise.
16695         * text.C: Likewise.
16696         * text2.C: Likewise.
16697
16698 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16699
16700         * lyxfind.C (LyXReplace): do not redefine default argument in
16701         implementation.
16702         (IsStringInText): ditto
16703         (SearchForward): ditto
16704         (SearchBackward): ditto
16705
16706 2001-03-06  Juergen Vigna  <jug@sad.it>
16707
16708         * lyxfind.C (IsStringInText): put parentes around expressions.
16709
16710 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16711
16712         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16713
16714 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16715
16716         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16717
16718         * stl_string_fwd.h: add comment
16719
16720         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16721
16722         * tabular.h:
16723         * tabular.C: remove unused DocBook methods
16724
16725         * intl.C:
16726         * language.C:
16727         * paragraph.C:
16728         * buffer.C:
16729         killed DO_USE_DEFAULT_LANGUAGE
16730
16731 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * lyx_gui.C: do not include language.h.
16734
16735         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16736         arguments in function implementation.
16737
16738 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16739
16740         * BufferView_pimpl.C: add <ctime>
16741
16742 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16743
16744         * BufferView_pimpl.C: add using std::find_if
16745
16746 2001-02-27  José Matos  <jamatos@fep.up.pt>
16747
16748         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16749         by OnlyPath.
16750
16751 2001-02-11  José Matos  <jamatos@fep.up.pt>
16752
16753         * buffer.C (makeDocBookFile): command styles now have a parameter as
16754         "title" by default.
16755
16756 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16757
16758         * layout_forms.[Ch]: removed
16759         * lyx_cb.[Ch]: out character
16760         * lyx_gui.C: out character
16761         * lyx_gui_misc.C: out character
16762         * bufferview_funcs.C: : out character,
16763         added toggleall as parameter in ToggleAndShow
16764
16765 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16768
16769         * text2.C (SetCurrentFont): Disable number property at boundary.
16770
16771 2001-02-26  Juergen Vigna  <jug@sad.it>
16772
16773         * lyxfunc.C (getStatus): added a string argument override function so
16774         that this is correctly called from LyXFunc::Dispatch if it contains a
16775         do_not_use_argument which is used!
16776         (Dispatch): added check for "custom" export and call appropriate func.
16777
16778 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16779
16780         * lyxrc.C: Add language_command_local, language_use_babel and
16781         language_global_options.
16782
16783         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16784
16785         * buffer.C (makeLaTeXFile): Use language_use_babel and
16786         language_global_options.
16787
16788 2001-02-23  Juergen Vigna  <jug@sad.it>
16789
16790         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16791         which works with LyXText and putted it inside BufferView. Here now we
16792         only call for that part the BufferView::Dispatch() function.
16793
16794         * BufferView.C (Dispatch): added.
16795
16796         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16797         functions which needs to use a LyXText over from LyXFunc.
16798         (MenuInsertLyXFile): added
16799         (getInsetByCode): added
16800         (moveCursorUpdate): added
16801         (static TEXT): added
16802
16803 2001-02-22  Juergen Vigna  <jug@sad.it>
16804
16805         * BufferView_pimpl.C (update): call a status update to see if LyXText
16806         needs it.
16807
16808 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16809
16810         * vc-backend.C (revert): implement for CVS
16811         (getLog): implement for CVS
16812
16813 2001-02-20  Juergen Vigna  <jug@sad.it>
16814
16815         * text2.C (ClearSelection): added BufferView param for inset_owner call
16816
16817         * lyxfunc.C (TEXT): added this function and use it instead of
16818         directly owner->view()-text of getLyXText().
16819
16820 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16821
16822         * src/layout_forms.C: out preamble
16823         * src/layout_forms.h: out preamble
16824         * src/lyx_cb.C: out preamble
16825         * src/lyx_cb.h: out preamble
16826         * src/lyx_gui.C: out preamble
16827         * src/lyx_gui_misc.C: out preamble
16828         * src/lyxfunc.C: connect with guii preamble
16829
16830 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16831
16832         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16833
16834 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16835
16836         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16837         whether to run bibtex.
16838
16839 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16840
16841         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16842
16843 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16844
16845         * Makefile.am (lyx_SOURCES): removed bibforms.h
16846
16847         * vspace.h: doxygen
16848
16849         * text.C (GetVisibleRow): make several local vars const
16850
16851         * tabular.C: small cleanup.
16852
16853         * lyxserver.C (callback): use compare instead of strncmp
16854
16855         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16856         inlines to after class or to paragraph.C
16857
16858         * lyxfont.h: remove friend operator!=
16859
16860         * converter.h: move friend bool operator< to non friend and after
16861         class def.
16862
16863         * combox.h: small cleanup
16864
16865         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16866         to inlines after class def.
16867
16868         * buffer.C (pop_tag): use string operations instead of strcmp
16869
16870         * bmtable.c: doxygen, small cleanup
16871
16872         * LaTeX.h: remove friend operator==
16873
16874 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16875
16876         * screen.C:
16877         * lyxrc.[Ch]:
16878         * lyxfunc.C:
16879         * lyxfont.[Ch]:
16880         * lyx_cb.C:
16881         * intl.[Ch]:
16882         * commandtags.h:
16883         * buffer.C:
16884         * WorkArea.[Ch]:
16885         * LyXAction.C:
16886         * BufferView_pimpl.C:
16887         * BufferView.[Ch]: remove cruft
16888
16889 2001-02-14  Juergen Vigna  <jug@sad.it>
16890
16891         * lyxfunc.C: removed #if 0 unused code
16892
16893         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16894
16895         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16896
16897         * text2.C (SetSelection): added a BufferView * parameter
16898
16899 2001-02-13  Juergen Vigna  <jug@sad.it>
16900
16901         * lyxfunc.C (Dispatch): fixed protected blank problem.
16902         * BufferView2.C (protectedBlank): added LyxText * parameter.
16903
16904         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16905         (AppendColumn): same as above for column_info.
16906
16907         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16908         (moveCursorUpdate): use a LyXText param for support of InsetText.
16909
16910         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16911         (tripleClick): ditto
16912
16913         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16914
16915         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16916
16917         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16918
16919         * text2.C (SetSelection): set correct update status if inset_owner
16920         (ToggleFree): ditto
16921
16922 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16923
16924         * tabular.C: remove some commented code.
16925
16926 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16927
16928         * BufferView_pimpl.C: call hideSplash()
16929
16930         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16931
16932         * include_form.h:
16933         * bibforms.h: remove
16934
16935         * lyxfunc.C:
16936         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16937           add LFUN_CHILD_CREATE
16938
16939         * counters.h: fix tiny typo
16940
16941         * lyx_cb.C:
16942         * lyx.h:
16943         * lyx_gui.C:
16944         * lyx.C: move splash to frontends/xforms/
16945
16946         * lyx_gui_misc.C: move Include and Bibform to frontends
16947
16948         * lyxvc.h: clarify comment
16949
16950         * vspace.C: tiny housekeeping
16951
16952 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16953
16954         * text.C (PrepareToPrint): RTL Fix.
16955
16956         * paragraph.C (GetUChar): New method.
16957         (String):  Use GetUChar.
16958
16959         * buffer.C (asciiParagraph): Use GetUChar.
16960
16961 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16962
16963         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16964
16965 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16966
16967         * buffer.h:
16968         * buffer.C: rename to getLogName(), handle
16969           build log / latex log nicely
16970
16971 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * MenuBackend.C:
16974         * MenuBackend.h: remove support for reference menuitem type.
16975
16976 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16977
16978         * BufferView_pimpl.C: housekeeping
16979         * BufferView_pimpl.h:
16980         * LyXView.h:
16981         * Makefile.am:
16982         * Timeout.C:
16983         * Timeout.h:
16984         * minibuffer.h: move Timeout GUI-I
16985
16986 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16987
16988         * lyxrc.C (read): Update converters data-structures.
16989
16990 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16991
16992         * LaTeX.h (operator!=): add operator != for Aux_Info
16993
16994 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16995
16996         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16997
16998         * LaTeXLog.C: deleted, useful code moved to Buffer
16999
17000         * buffer.h:
17001         * buffer.C: new function getLatexLogName()
17002
17003         * lyx_gui_misc.C:
17004         * lyx_gui.C:
17005         * lyxvc.C:
17006         * lyxvc.h:
17007         * lyxfunc.C: use frontends for LaTeX and VC logs
17008
17009 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17010
17011         * LaTeX.h: yet another std:: that Allan forgot.
17012
17013         * Variables.C (set): renamed from isset(), because this clashes
17014         with some HP-UX macros (grr).
17015
17016 2001-02-06  Allan Rae  <rae@lyx.org>
17017
17018         * LaTeX.h: Another bug fix.  Missing std:: this time.
17019
17020 2001-02-04  Allan Rae  <rae@lyx.org>
17021
17022         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17023         floats problem. I've left it commented out because it's not quite
17024         correct.  It should also test that the current object is a table or
17025         figure inset.  But I haven't gotten around to figuring out how to do
17026         that.  I *think* it'll be something like: "table" == inset.type()
17027
17028         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17029         bool.
17030
17031 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17032
17033         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17034         all the citation/databases/styles in the auxilary file.
17035         (run): Rerun latex if there was a babel language error.
17036
17037 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17038
17039         * text.C (Backspace): Preserve the font when changing newline char
17040         with a space.
17041         (BreakParagraph): If the cursor is before a space, delete the space.
17042
17043         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17044
17045 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17046
17047         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17048         new argument (code).
17049         (ChangeCitationsIfUnique): New method.
17050
17051         * paragraph.C (GetPositionOfInset): Handle bibkey.
17052
17053 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17054
17055         * BufferView_pimpl.h: change type of Position::par_pos to
17056         LyXParagraph::size_type.
17057
17058 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17059
17060         * BufferView_pimpl.C (savePosition, restorePosition): Write
17061         messages to minibuffer.
17062
17063 2001-01-28  José Matos  <jamatos@fep.up.pt>
17064
17065         * buffer.C (makeDocBookFile): adds support for document language.
17066         A silly restriction on the name of LatexCommand types where removed.
17067         Added support for CDATA sections, allows to chars unescaped, used
17068         among others in code, to avoid escape < and >.
17069
17070 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17071
17072         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17073         saved positions instrad of a stack. Furthermore, a position is
17074         stored using paragraph id/paragraph position.
17075
17076         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17077         Remove LFUN_REF_BACK.
17078
17079 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17080
17081         * converter.C (dvipdfm_options): New method.
17082
17083 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17084
17085         * vspace.C (isValidLength): Fix for empty input string.
17086
17087 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17088
17089         * LyXAction.C (init): change description of LFUN_FIGURE to
17090         "Insert Graphics"
17091
17092 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * LaTeX.C: add using directive
17095
17096 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17097
17098         * MenuBackend.C (expand): Fix the sorting of the formats.
17099
17100 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17101
17102         * lyx_main.C: tiny error message fix
17103
17104 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17105
17106         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17107         calling fl_initialize(). This fixes the problem with ',' as
17108         decimal separator in text files.
17109
17110 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17111
17112         * trans.C (process): Fix the keymap bug.
17113
17114 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17115
17116         * LaTeX.C (scanAuxFiles): New method. Provides support for
17117         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17118         (scanLogFile) Scan for "run BibTeX" messages.
17119
17120         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17121         OT1 font encoding. Also, load the aecompl package if the ae
17122         package is loaded.
17123
17124         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17125
17126 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * texrow.C (increasePos): turn two error messages into debug
17129         messages.
17130
17131 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * LaTeX.C (scanAux): Handle the \@input macro.
17134         (runBibTeX): Use scanAux().
17135
17136         * language.C (latex_options_): New field.
17137
17138         * LaTeXFeatures.C (getMacros): Add language macros.
17139
17140         * buffer.C (makeLaTeXFile): Small fix.
17141
17142 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17143
17144         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17145
17146         * text2.C: add a using directive.
17147
17148 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17149
17150         * BufferView2.C:
17151         * lyx_gui_misc.h:
17152         * lyxfr1.C:
17153         * lyxfunc.C: kill LyXBell.
17154
17155 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17156
17157         * text.C (IsBoundary): Remove the error message
17158
17159         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17160
17161         * lyxrc.C (setDefaults): Correct initialization value for
17162         font_norm_type.
17163
17164 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17165
17166         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17167         gotoError().
17168
17169         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17170         and GotoNextNote().
17171
17172         * src/LyXAction.C: Added reference-next.
17173
17174         * text.C (InsertChar): Use contains instead of strchr.
17175
17176         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17177
17178 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17179
17180         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17181         alignment commands (when needed).
17182
17183         * text.C (InsertChar): Add ':' to number separator chars.