]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
82cf1c2b80eb4c65c0b92e29892c1fbb3eadb498
[lyx.git] / src / ChangeLog
1 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: increment file format to 232.
4         * LaTeXFeatures.C: add bibtopic package.
5         * bufferparams.[Ch]: param \use_bibtopic.
6         
7         * lyxrc.[Ch]: add lyxrc bibtex_command
8         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
9         
10         * buffer.C: increment file format to 231.
11
12 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
13
14         * dociterator.C: implement forwardPar
15         * iterators.[Ch]: remove, replaced by
16         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
17         * BufferView.C:
18         * BufferView_pimpl.C:
19         * CutAndPaste.C:
20         * buffer.C:
21         * bufferview_funcs.C:
22         * cursor.C:
23         * lyxfind.C
24         * lyxfunc.C
25         * paragraph_funcs.C
26         * toc.C:  
27         * Makefile.am: adjust
28
29 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * CutAndPaste.C (pasteSelection): fix 2 crashes
32         (eraseSelection): fix a crash
33         * paragraph_funcs.C: remove a warning
34
35 2004-03-28  Angus Leeming  <leeming@lyx.org>
36
37         * lfuns.h:
38         * LyXAction.C (init): new LFUN_PRINT.
39
40         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
41
42 2004-03-27  Angus Leeming  <leeming@lyx.org>
43
44         * lfuns.h:
45         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
46
47         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
48
49 2004-03-27  Angus Leeming  <leeming@lyx.org>
50
51         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
52         insetlist always contains non-null pointers to insets.
53
54 2004-03-26  Angus Leeming  <leeming@lyx.org>
55
56         * src/BufferView_pimpl.C:
57         * src/CutAndPaste.C:
58         * src/buffer.C:
59         * src/iterators.C:
60         * src/output_plaintext.C:
61         * src/outputparams.h:
62         * src/paragraph_funcs.C:
63         * src/rowpainter.C:
64         * src/text.C:
65         * src/text2.C:
66         * src/frontends/controllers/ControlErrorList.C:
67         * src/frontends/gtk/FileDialogPrivate.C:
68         * src/frontends/gtk/GPainter.C:
69         * src/frontends/gtk/GToolbar.C:
70         * src/frontends/qt2/QRef.C:
71         * src/mathed/math_scriptinset.C: squash compiler warnings.
72
73 2004-03-26  Angus Leeming  <leeming@lyx.org>
74
75         * ispell.C (LaunchIspell::start):
76         * lyx_cb.C (AutoSaveBuffer::start):
77         invoke run(DontWait) rather than runNonBlocking().
78
79 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
82
83 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * kbsequence.C (print): adjust
86
87         * kbmap.C (printKeySym): rename and change signature
88         (printKey): use LyXKeySym::print()
89
90 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * undo.C: add using std::advance to compile for stlport
93
94 2004-03-24  Angus Leeming  <leeming@lyx.org>
95
96         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
97         it leads to a crash when no buffer is present.
98
99 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100             Martin Vermeer  <martin.vermeer@hut.fi>
101
102         * lyxfunc.C (dispatch): 
103         * bufferparams.C (readToken): use the new LColor::setColor 
104
105         * LColor.[Ch] (setColor): new version that takes two strings as
106         argument and creates a new color entry if necessary
107
108 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
109
110         * buffer.C (makeLaTeXFile): if the main latex file that is
111         processed is usually a subdocument of some master, then pretend
112         for a while that it is actually the master
113
114 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
115
116         * buffer.C (getLabelList):
117         (getBibkeyList): use getMasterBuffer()
118         (getMasterBuffer): new method. Returns the main document in the
119         case where one is using included documents.
120
121 2004-03-25  André Pönitz  <poenitz@gmx.net>
122
123         * Makefile.am:
124         * iterators.[Ch]:
125         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
126
127         * ParagraphList_fwd.h: change ParagraphList to a std::vector
128
129         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
130         text*.C over here. Rename namespace CutAndPaste to lyx::cap
131
132         * ParameterStruct.h: merge with ParagraphParameters
133
134         * lyxtext.h: remove LyXText::parOffset() and getPar()
135
136         * text3.C: Remove all 'manual' update calls. We do now one per user
137         interaction which is completely sufficient.
138
139         * Bidi.C:
140         * BufferView.[Ch]:
141         * BufferView_pimpl.C:
142         * FontIterator.[Ch]:
143         * MenuBackend.C:
144         * ParagraphParameters.[Ch]:
145         * buffer.C:
146         * buffer.h:
147         * bufferlist.C:
148         * cursor.[Ch]:
149         * cursor_slice.[Ch]:
150         * dociterator.[Ch]:
151         * errorlist.[Ch]:
152         * factory.C:
153         * lfuns.h:
154         * lyxfind.C:
155         * lyxfunc.C:
156         * output_docbook.[Ch]:
157         * output_latex.[Ch]:
158         * output_linuxdoc.[Ch]:
159         * output_plaintext.[Ch]:
160         * paragraph.[Ch]:
161         * paragraph_funcs.[Ch]:
162         * paragraph_pimpl.[Ch]:
163         * rowpainter.C:
164         * tabular.[Ch]:
165         * text.C:
166         * text2.C:
167         * toc.C:
168         * undo.[Ch]: adjust
169
170         * frontends/controllers/ControlDocument.C:
171         * frontends/controllers/ControlErrorList.C:
172         * frontends/controllers/ControlSpellchecker.C:
173         * insets/inset.C:
174         * insets/inset.h:
175         * insets/insetbase.h:
176         * insets/insetbibitem.C:
177         * insets/insetbox.C:
178         * insets/insetbranch.C:
179         * insets/insetcaption.C:
180         * insets/insetcharstyle.C:
181         * insets/insetcharstyle.h:
182         * insets/insetcollapsable.C:
183         * insets/insetcollapsable.h:
184         * insets/insetert.C:
185         * insets/insetfloat.C:
186         * insets/insetfoot.C:
187         * insets/insetmarginal.C:
188         * insets/insetnote.C:
189         * insets/insetoptarg.C:
190         * insets/insettabular.C:
191         * insets/insettext.C:
192         * insets/insettext.h:
193         * insets/insetwrap.C:
194         * mathed/math_mboxinset.C:
195         * mathed/math_nestinset.C:
196         * mathed/math_scriptinset.C:
197         * mathed/math_scriptinset.h:
198         * support/types.h:
199
200 2004-03-24  Angus Leeming  <leeming@lyx.org>
201
202         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
203         deal with any child processes that have finished but are waiting to
204         communicate this fact to the rest of LyX.
205
206 2004-03-24  Angus Leeming  <leeming@lyx.org>
207
208         64-bit compile fixes.
209
210         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
211         (c-tor): pass lyx::pos_types rather than ints.
212
213         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
214         lyx::pos_type.
215
216         * text.C (Delete): compile fix.
217         (getPar): ensure that function declaration is the same as that in
218         the header file.
219
220 2004-03-23  Angus Leeming  <leeming@lyx.org>
221
222         * ispell.C (LaunchIspell):
223         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
224         a boost::shred_ptr rather than a std::auto_ptr.
225
226 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * lyxfunc.C (getStatus): handle read-only buffers correctly;
229         handle LFUN_FILE_INSERT_*
230
231         * lyxrc.C (setDefaults, getDescription, output, read):
232         * lyxrc.h: remove ps_command
233
234 2004-03-22  Angus Leeming  <leeming@lyx.org>
235
236         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
237         Ensure that error_handler is processed once only and that all data
238         is saved before attempting to output any warning messages.
239
240         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
241
242 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * tabular.C (TeXRow): crash fix (from Kayvan and André)
245
246 2004-03-19  André Pönitz  <poenitz@gmx.net>
247
248         * cursor.[Ch] (reset): take main text inset as argument
249
250         * BufferView: adjust
251         * BufferView_pimpl.C: adjust
252
253         * paragraph.[Ch]: fix completely broken operator=()
254
255 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * LColor.C (getFromLyXName): make sure that the color name is used
258         as lowercase.
259
260 2004-03-17  Angus Leeming  <leeming@lyx.org>
261
262         * lfuns.h:
263         * LyXAction.C (init): remove LFUN_FORKS_KILL.
264
265         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
266         dialog and to kill a forked process.
267
268 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
269
270         * text2.C (setCursorFromCoordinates): fix font problem
271
272 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
273
274         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
275         bogus "rebuild cursor" code
276
277 2004-03-11  André Pönitz  <poenitz@gmx.net>
278
279         * buffer.[Ch]: use InsetText instead of LyXText as container for
280         the main lyx text.
281
282         * dociterator.[Ch]: drop the BufferView * member which is not needed
283         anymore after the change to buffer.C
284
285         * paragraph_funcs.C:
286         * text.C:
287         * text2.C:
288         * BufferView.[Ch]:
289         * BufferView_pimpl.[Ch]:
290         * cursor.[Ch]:
291         * cursor_slice.[Ch]: adjust
292
293         * text3.C: fix bug in mathDispatch
294
295 2004-03-08  André Pönitz  <poenitz@gmx.net>
296
297         * undo.[Ch]: use 'StableDocumentIterator' as base for
298         the Undo struct.
299
300 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * LaTeXFeatures.C:
303         * bufferparams.[Ch]: add jurabib support and param.
304
305         * LaTeX.C: add FIXME/comment.
306
307 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * buffer.C: increment file format to 230.
310
311 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * cursor.C (dispatch): avoid infinite loops
314
315 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
316
317         * rowpainter.C (paintSelection): fix x coordinates
318
319 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
320
321         * text.C (rowBreakPoint): fix breaking before displayed insets
322
323 2004-03-01  André Pönitz  <poenitz@gmx.net>
324
325         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
326
327         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
328
329         * Makefile.am:
330         * BufferView.C:
331         * BufferView_pimpl.C:
332         * buffer.C:
333         * lyxfind.C:
334         * lyxfunc.C:
335         * text.C:
336         * text2.C:
337         * text3.C: adjust
338
339 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * lyxtext.h:
342         * text.C:
343         * text2.C:
344         * rowpainter.C:
345         * BufferView_pimpl.C: rename textwidth -> maxwidth,
346         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
347
348 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
349
350         * Bidi.[Ch] (computeTables): const correctness
351         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
352         fill_hfill, fill_label_hfill and x from Row
353         * lyxtext.h: prepareToPrint returns a RowMetrics
354         * rowPainter.C: adjust
355         * text.C (prepareToPrint): use width, not textWidth. adjust
356         (redoParagraphInternal, cursorX): adjust
357         * text2.C (getColumnNearX): adjust
358         (init): put a default value to the top LyXText::width
359
360 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
363
364 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * lyxtext.h: add FontIterator class
367
368         * text.C (FontIterator, operator*, operator->, operator++): add
369         (rowBreakPoint, setRowWidth): adjust (fixing a
370         rebreaking bug)
371
372 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * BufferView_pimpl.C (workAreaDispatch): allow also
375         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
376
377 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
378
379         * text.C (rowBreakPoint): fix a bug showing with very large insets
380
381 2004-02-25  André Pönitz  <poenitz@gmx.net>
382
383         * text3.C:
384         * cursor.[Ch]: move some mathed specific code to mathed
385
386 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
389         use_tempdir in preferences
390         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
391         tempfile creation
392         * lyx_main.C: ensure that tempdir is valid
393         * lyxlex.h: correct typo
394         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
395         * paragraph.[Ch] (isMultiLingual): make const
396         * cursor.[Ch] (openable): make const
397
398 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
399
400         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
401
402 2004-02-20  André Pönitz  <poenitz@gmx.net>
403
404         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
405
406         * cursor.[Ch]: prepare for localized getStatus()
407
408         * lyxtext.h:
409         * tabular.C:
410         * text.C:
411         * text2.C:
412         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
413
414 2004-02-20  André Pönitz  <poenitz@gmx.net>
415
416         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
417
418 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * text2.C (setCursorFromCoordinates): switch to absolute coords
421         (cursorUp): adjust
422         (cursorDown): adjust
423         * text3.C (dispatch): adjust
424
425 2004-02-16  André Pönitz  <poenitz@gmx.net>
426
427         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
428           insets/ChangeLog)
429
430         * cursor_slice.[Ch]: remove unneeded acessor function
431
432         * lyxtext.h: rename rtl() to isRTL()
433
434         * rowpainter.C:
435         * tabular.C:
436         * text.C:
437         * text2.C:
438         * text3.C: adjust
439
440 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * rowpainter.C (paintSelection): coord fix
443
444 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
445
446         * Spacing.C: compile fix
447
448 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * cursor.C (dispatch): restore current_ before returning
451
452 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * text2.C (cursorUp, cursorDown): fix coords
455         (moveUp): fix crash
456
457 2004-02-12  André Pönitz  <poenitz@gmx.net>
458
459         * lyxtext.h:
460         * text.C:
461         * text2.C:
462         * text3.C: add LCursor & parameter to most cursor movement functions
463           remove usage of LyXText::cursorRow() and cursorPar()
464
465         * cursor.[Ch]: add textRow() needed members
466
467         * BufferView.C:
468         * BufferView_pimpl.C:
469         * paragraph.[Ch]:
470         * BufferView.C:
471         * BufferView_pimpl.C: adjust
472
473 2004-02-11  André Pönitz  <poenitz@gmx.net>
474
475         * lyxfunc.C:
476         * BufferView.[Ch]:
477         * BufferView_pimpl.C: shift undo/redo handling
478
479         * cursor.[Ch]: fix mathed crash
480
481         * lyxfind.C:
482         * lyxtext.h: move selectionAsText to LCursor
483
484         * output_latex.C:
485         * paragraph.C:
486         * text.C:
487         * text2.C:
488         * text3.C: adjust
489
490         * rowpainter.C: fix excessive drawing
491
492 2004-02-06  André Pönitz  <poenitz@gmx.net>
493
494         * BufferView.[Ch]:
495         * BufferView_pimpl.[Ch]:
496         * text3.C: move some text specific LFUN handling
497
498 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * text3.C (checkInsetHit): adjust coords
501         * text2.C (getColumnNearX): adjust coords
502         (edit): adjust coords
503         * text.C (getRowNearY): add two asserts
504
505 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * converter.C:
508         * format.C: add using std::distance to compile on gcc 2.95/stlport
509
510 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
513
514 2004-02-04  André Pönitz  <poenitz@gmx.net>
515
516         * BufferView.[Ch] (insertInset):
517         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
518
519         * text2.C:
520         * text3.C: adjust
521
522 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
525         on the default clause of the switch
526         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
527         wasn't catched by LCursor::dispatch
528
529 2004-02-03  André Pönitz  <poenitz@gmx.net>
530
531         * BufferView.C:
532         * cursor.[Ch]: some additional asserts
533
534         * undo.[Ch]: remove LyXText dependency in interface
535
536         * lyxfunc.C: adjust
537
538         * lyxtext.h (firstPar, lastPar): remove dead functions
539
540         * text.C:
541         * text2.C:
542         * text3.C:
543         * paragraph.[Ch]: adjust
544
545 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * lyxfind.C (find): fix argument order in call to ::find
548
549 2004-02-02  André Pönitz  <poenitz@gmx.net>
550
551         * cursor.[Ch]: remove direct access to anchor
552
553         * text.C: remove findText() hack
554
555 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * iterators.[Ch] (lockPath): remove in favour of...
558         * BufferView.[Ch] (setCursor): this addition
559         * BufferView.C (putSelectionAt): adjust
560         * undo.C (performUndoOrRedo): adjust
561         * lyxfunc.C (dispatch): adjust
562
563 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * iterators.C (lockPath): add a missing slice
566         * undo.C (performUndoOrRedo): remove redundant positioning code
567
568 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * vc-backend.C (scanMaster): ";" -> ';'
571
572 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
573
574         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
575         std::binary_function
576
577         * lyxtextclass.C (compare_name): rename to...
578         (LayoutNamesEqual): ...this
579
580         * lyxlex_pimpl.C (compare_tags): inherit from
581         std::binary_function, put back into anon namespace
582
583         * lyxfind.C (MatchString): inherig from std::binary_function
584         (findChange): use empty() istead of !size()
585
586         * format.C (FormatNamesEqual): new functor
587         (getFormat): use it
588         (getNumber): use it
589         (add): use it
590         (erase): use it
591         (setViewer): use it
592
593         * converter.C (compare_Converter): rename to...
594         (ConverterEqual): ...this, and fixup a bit.
595         (getConverter): use it, and make function const
596         (getNumber): use it, and make function const
597         (add): use it
598         (erase): use it:
599
600         * bufferlist.C: add using boost::bind
601
602         * MenuBackend.C (MenuNamesEqual): new functor
603         (hasMenu): use it, and make function const
604         (hasSubmenu): use nested bind to get rid of compare_memfun.
605
606 2004-01-30  André Pönitz  <poenitz@gmx.net>
607
608         * BufferView_pimpl.C:
609         * cursor.C:
610         * cursor.h:
611         * cursor_slice.[Ch]:
612         * lyxfunc.C:
613         * lyxtext.h:
614         * paragraph_funcs.C:
615         * paragraph_funcs.h:
616         * rowpainter.C:
617         * text.C:
618         * text2.C:
619         * text3.C: move some of the edit(x,y) handling to the insets
620         some coordinate changes.
621
622 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
623
624         * text.C: add using statements for std::advance and std::distance
625
626         * paragraph.C: add using statement for std::distance
627
628         * lyxfind.C: add using statement for std::advance
629
630         * cursor.C (region): remove std:: from swap
631         (openable): use nucleus in stead of operator->
632
633         * BufferView.C: add using statements for std::distance and std::swap
634
635 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
636
637         * iterators.C: Remove the pimple, move the needed structures to
638         the header file. Create accessor for the positions stack.
639         (asPosIterator): remove function
640
641         * PosIterator.C (PosIterator): move constructors to top of file
642         (PosIterator): reimplement the constructor taking a ParIterator in
643         terms of setFrom.
644         (setFrom): new function
645         (operator!=): inline it
646
647 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
648
649         * lyxfind.C (replaceAll): use std::advance
650
651         * iterators.h: inherit from std::iterator.
652
653         * PosIterator.C (advance, distance): remove
654         * PosIterator.h: interit from std::iterator.
655
656 2004-01-26  André Pönitz  <poenitz@gmx.net>
657
658         * BufferView.[Ch]:
659         * BufferView_pimpl.[Ch]:
660         * InsetList.[Ch]:
661         * PosIterator.[Ch]:
662         * buffer.h:
663         * bufferview_funcs.C:
664         * cursor.[Ch]:
665         * cursor_slice.h:
666         * factory.[Ch]:
667         * iterators.[Ch]:
668         * lyxfind.C:
669         * lyxfunc.C:
670         * lyxtext.h:
671         * output_docbook.C:
672         * output_latex.C:
673         * output_linuxdoc.C:
674         * output_plaintext.C:
675         * paragraph.[Ch]:
676         * paragraph_funcs.[Ch]:
677         * paragraph_pimpl.[Ch]:
678         * rowpainter.C:
679         * tabular.C:
680         * tabular.h:
681         * text.C:
682         * text2.C:
683         * text3.C: more IU:  dumps most of the rest of the mathcursor
684     implementation into cursor.[Ch]; "globalize" a bit of it.
685
686 2004-01-25  Angus Leeming  <leeming@lyx.org>
687
688         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
689
690 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
691
692         * LaTeXFeatures.h: add nice_ and nice() const
693         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
694
695 2004-01-20  André Pönitz  <poenitz@gmx.net>
696
697         * BufferView.[Ch]:
698         * BufferView_pimpl.C:
699         * PosIterator.C:
700         * bufferview_funcs.C:
701         * cursor.[Ch]:
702         * cursor_slice.[Ch]:
703         * factory.C:
704         * iterators.C:
705         * lyx_cb.C:
706         * lyxfind.C:
707         * lyxfunc.C:
708         * lyxtext.h:
709         * rowpainter.C:
710         * text.C:
711         * text2.C:
712         * text3.C:
713         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
714           LCursor and mathcursor parts to LCursor and InsetBase.
715
716 2004-01-15  André Pönitz  <poenitz@gmx.net>
717
718         * cursor_slice.[Ch]: add a few covienience functions
719
720         * funcrequest.[Ch]: remove BufferView * member
721
722         * BufferView_pimpl.C:
723         * cursor.C:
724         * factory.[Ch]:
725         * lyxfind.[Ch]:
726         * lyxfunc.C:
727         * lyxtext.h:
728         * text3.C:
729         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
730
731 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
732
733         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
734         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
735
736 2004-01-13  André Pönitz  <poenitz@gmx.net>
737
738         * textcursor.[Ch]:
739         * lyxtext.h: hide cursor and selection anchor behind accessor function
740
741         * BufferView.C:
742         * BufferView_pimpl.[Ch]:
743         * PosIterator.C:
744         * bufferview_funcs.C:
745         * cursor.h:
746         * lyxfind.C:
747         * lyxfunc.C:
748         * text.C:
749         * text2.C:
750         * text3.C:
751         * undo.C: adjust
752
753         * cursor.h:
754         * cursor_slice.[Ch]: some integer type changes for inset unification
755
756         * lyxcursor.[hC]: remove, it's CursorSlice now.
757
758         * Makefile.am:
759         * BufferView_pimpl.[Ch]:
760         * bufferview_funcs.C:
761         * cursor_slice.C:
762         * lyxtext.h:
763         * text.C:
764         * text2.C:
765         * text3.C:
766         * textcursor.[Ch]: adjust
767
768 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * text2.C (undoSpan): add and use
771         * text.C (breakParagraph): use undoSpan (fix bug 578)
772         * lyxtext.h: adjust
773
774 2004-01-08  Angus Leeming  <leeming@lyx.org>
775
776         * BufferView_pimpl.C (MenuInsertLyXFile):
777         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
778         * lyxfunc.C (menuNew, open, doImport):
779         FileFilterList change to the FileDialog open and save functions.
780
781 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
782
783         * ShareContainer.h: make isEqual and isUnique adaptable
784
785         * CutAndPaste.C: make resetOwnerAndChanges adaptable
786
787 2004-01-07  Angus Leeming  <leeming@lyx.org>
788
789         * LyXAction.C:
790         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
791
792         * BufferView_pimpl.C (dispatch): act on these LFUNs.
793
794         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
795         functions replacing find, replace and replaceAll.
796
797         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
798         LFUN_WORDFIND(FORWARD|BACKWARD).
799
800 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
801
802         * text.C (breakParagraph): remove an outdated #warning
803
804 2004-01-07  André Pönitz  <poenitz@gmx.net>
805
806         * lyxfind.C: somewhat clearer logic
807
808         * text.C: prevent crash in cursorX on unitialized row cache
809
810 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
811
812         * lyxcursor.[Ch] (operator>): add
813         * textcursor.C (selStart, selEnd): use std::min and std::max
814
815 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * Chktex.C: include boost/format.hpp
818
819 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
820
821         * InsetList.C: replace functor MathcIt with adaptable functor
822         InsetTablePosLess
823         (insetIterator): modify accordingly
824
825         * BranchList.h: move the BranchNamesEqual functor here from...
826         * BranchList.C: ... to here
827
828         * BranchList.C: new BranchListEqual fuctor, use it. Remove
829         SameName and match.
830         (add): replace a finding loop with std::find_if.
831
832 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * output_docbook.C: moving LatexParam functionality into
835         .layout files
836
837 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
838
839         * buffer.C: increment format to 229.
840
841 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
842
843         * LaTeXFeatures.C:
844         * lyx_sty.[Ch]: remove minipageindent_def
845
846         * LyXAction.C:
847         * factory.C:
848         * lfuns.h:
849         * lyxfunc.C:
850         * text3.C: remove LFUN_INSET_MINIPAGE
851
852 2003-12-28  Angus Leeming  <leeming@lyx.org>
853
854         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
855
856 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * text2.C (setParagraph): fix off-by-one crash
859
860 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * output_docbook.C: header stuff for AGU
863
864 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
865
866         * text2.C (redoCursor): remove
867         * text.C:
868         * text3.C:
869         * BufferView_pimpl.C: remove calls to redoCursor and
870         setCursor(cursor.par(), cursor.pos()) all around
871
872 2003-12-15  Angus Leeming  <leeming@lyx.org>
873
874         * buffer.C: up the format to 228.
875
876 2003-12-15  André Pönitz  <poenitz@gmx.net>
877
878         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
879         slices
880
881         * Makefile.am:
882
883         * BufferView_pimpl.C:
884         * cursor.[Ch]:
885         * lyxcursor.[Ch]:
886         * rowpainter.[Ch]:
887         * lyxtext.h:
888         * text.C:
889         * text2.C:
890         * text3.C: adjust
891
892 2003-12-15  Angus Leeming  <leeming@lyx.org>
893
894         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
895         than getFromGUIName to manipulate the color.
896
897 2003-12-14  Angus Leeming  <leeming@lyx.org>
898
899         * BranchList.[Ch]: minimize the API.
900         (Branch::getBranch, getColor): now return a 'const &'.
901         (Branch::setSelected) now returns a bool set to true if the
902         selection status changes.
903         (BranchList::clear, size, getColor, setColor, setSelected,
904         allBranches, allSelected, separator): removed.
905         (BranchList::find): new functions, returning the Branch with
906         the given name.
907         (BranchList::add, remove): return a bool indicating that
908         the operation was successful.
909
910         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
911         new InsetBranch::isBranchSlected member function.
912
913         * LColor.[Ch]: mimimize the API.
914         (fill): renamed as addColor and made private.
915         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
916         versions of these functions taking a string arg have been removed.
917
918         * bufferparams.C (readToken):
919         * lyxfunc.C (dispatch):
920         * lyxrc.C (read): changes due to the altered BranchList and
921         LColor APIs.
922
923         * factory.C (createInset, readInset): changes due to altered
924         InsetBranch c-tor.
925
926 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
927
928         * factory.C:
929         * lyxfunc.C: remove insetminipage. "minipage-insert"
930         now produces a frameless minipage box inset.
931
932 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * textcursor.[Ch] (selStart,selEnd): add new methods
935         remove selection::start, end, use LyXCursor::operator<
936         * lyxcursor.[Ch] (operator<): add
937         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
938         * BufferView.[Ch] (unsetXSel): add
939         * text2.C (clearSelection): use unsetXSel,adjust
940         * text.C: adjust
941         * text3.C: adjust
942         * rowpainter.C: adjust
943         * bufferview_funcs.C (put_selection_at): adjust
944
945 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * BufferView_pimpl.C: small coord. correction
948
949 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
952         dragging over the splash screen.
953
954 2003-12-11  Angus Leeming  <leeming@lyx.org>
955
956         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
957         as it is now handled in LyXText::dispatch.
958
959         * text3.C (doInsertInset): remove a level of nesting.
960
961 2003-12-11  Angus Leeming  <leeming@lyx.org>
962
963         * factory.C (createInset): changes due to the changed interface to
964         InsetCommandMailer::string2params.
965
966 2003-12-10  Angus Leeming  <leeming@lyx.org>
967
968         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
969         'dialog-show-new-inset <inset name>'
970
971 2003-12-10  Angus Leeming  <leeming@lyx.org>
972
973         * buffer.C: up the format to 227.
974
975         * factory.C: the box inset is now identified simply by 'Box'.
976
977 2003-12-10  Angus Leeming  <leeming@lyx.org>
978
979         * buffer.C: up the format to 226.
980
981         * factory.C: the note inset is now identified simply by 'Note'.
982
983 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
984
985         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
986         when a pit is enough. Standarize a couple of loops.
987
988 2003-12-05  Angus Leeming  <leeming@lyx.org>
989
990         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
991         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
992         data to the re-worked "log" dialog.
993
994 2003-12-03  André Pönitz  <poenitz@gmx.net>
995
996         * PosIterator.C:
997         * iterators.C:
998         * lyxtext.h:
999         * output_latex.C:
1000         * paragraph_funcs.C:
1001         * text.C:
1002         * text2.C: use Inset::getText instead of Inset::getParagraph
1003
1004 2003-12-03  André Pönitz  <poenitz@gmx.net>
1005
1006         * buffer.[Ch]:
1007         * lyxtext.h:
1008         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1009         InsetText::read() as LyXText::read()
1010
1011 2003-12-02  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1014         type. Add a comment in the implementation that the function uses
1015         the stream's bad() function rather than fail() as the std::streams
1016         would do.
1017
1018 2003-12-02  André Pönitz  <poenitz@gmx.net>
1019
1020         * lyxlex.[Ch]: make interface more similar to std::stream
1021
1022         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1023
1024 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1027
1028 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1029
1030         * vspace.[Ch]: remove VSpace::NONE
1031
1032 2003-12-01  André Pönitz  <poenitz@gmx.net>
1033
1034         * buffer.[Ch]:
1035         * lyxtext.h: move ParagraphList member to LyXText
1036         rename LyXText::ownerParagraphs to LyXText::paragraph
1037
1038         * CutAndPaste.C:
1039         * bufferview_funcs.C:
1040         * iterators.[Ch]:
1041         * lyx_cb.C:
1042         * paragraph.C:
1043         * rowpainter.C:
1044         * tabular.C:
1045         * text.C:
1046         * text2.C:
1047         * text3.C: adjust
1048
1049         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1050
1051         * undo.C: fix cursor positioning
1052
1053 2003-12-01  John Levon  <levon@movementarian.org>
1054
1055         * BufferView_pimpl.C: fix a crash on exit with
1056         a buffer open
1057
1058 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1059
1060         * BranchList.C: fix setSelected() method.
1061
1062 2003-11-28  André Pönitz  <poenitz@gmx.net>
1063
1064         * ParagraphParameters.[Ch]:
1065         * ParameterStruct.h: remove space above/below from Paragraph to
1066          InsetVSpace
1067
1068         * BufferView_pimpl.C:
1069         * factory.C:
1070         * lyxfunc.C:
1071         * lyxtext.h:
1072         * output_latex.C:
1073         * paragraph.C:
1074         * paragraph_funcs.C:
1075         * rowpainter.[Ch]:
1076         * text.C:
1077         * text2.C:
1078         * text3.C: adjust
1079
1080 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * factory.C: Syntax change for CharStyles
1083
1084 2003-11-28  André Pönitz  <poenitz@gmx.net>
1085
1086         * BufferView.[Ch]:
1087         * BufferView.[Ch]:
1088         * buffer.[Ch]:
1089         * buffer.[Ch]: move LyXText member
1090
1091 2003-11-28  André Pönitz  <poenitz@gmx.net>
1092
1093         * BufferView.[Ch]: make LyXText * text a private member
1094
1095         * BufferView_pimpl.C:
1096         * cursor.C:
1097         * iterators.C:
1098         * lyx_cb.C:
1099         * lyxfind.C:
1100         * lyxtext.h:
1101         * rowpainter.[Ch]:
1102         * text.C:
1103         * text2.C:
1104         * undo.C: adjust
1105
1106         * output_plaintext.C: cleanup
1107
1108 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * buffer.C:
1111         * lyxtextclass.[Ch]: parametrize SGML document header
1112
1113 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * converter.[Ch]:
1116         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1117         getFlavor().
1118
1119 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1120
1121         * text2.C (setFont): rework using PosIterator (no more recursive)
1122         (setCharFont): no more needed
1123         (setLayout): no more selection cursors fiddling (done by redoCursor)
1124         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1125         destroy remaining ones)
1126
1127 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1130         * lyxtext.h: ditto
1131         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1132         selection cursors
1133         * lyxfunc.C: adjust
1134         * text3.C: adjust + re-allow multi par depth changes
1135         * textcursor.C: simplify a bit
1136
1137 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1138
1139         * src/buffer.C:
1140         * src/lyxlayout.C:
1141         * src/lyxlayout.h:
1142         * src/lyxtext.h:
1143         * src/output_docbook.C:
1144         * src/output_latex.C:
1145         * src/paragraph.C:
1146         * src/paragraph.h:
1147         * src/sgml.C:
1148         * src/sgml.h:
1149         * src/text2.C: Introducing a number of tags parametrizing various
1150         XML formats that we may want to support
1151
1152 2003-11-25  André Pönitz  <poenitz@gmx.net>
1153
1154         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1155
1156         * lyxtext.h (leftMargin/rightMargin): simplify interface
1157
1158         * rowpainter.C:
1159         * text.C:
1160         * text2.C:
1161         * text3.C: adjust
1162
1163 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1166         master file to any child files. Fixes bug 546.
1167
1168 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1169
1170         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1171
1172 2003-11-24  André Pönitz  <poenitz@gmx.net>
1173
1174         * rowpainter.C: simplification
1175
1176         * text2.C (updateCounters): remove call to redoParagraph on
1177         changed labels as this is far too expensive.
1178
1179 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * converter.C (convert): fix a crash: this function gets
1182         called with buffer == 0 from importer code.
1183
1184 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * text3.C (cursorPrevious): make sure that we do not compare
1187         iterators form different containers.
1188         (cursorNext): ditto
1189
1190         * rowpainter.C (paintSelection): make sure that we do not compare
1191         iterators from different containers.
1192
1193         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1194         iterators from different ParagraphList containers.
1195         [NEXT] ditto
1196
1197         * text2.C (LyXText): change order of initialization slightly
1198         (operator=): new function. copy all variables except cache_par_
1199         (moveUp): make sure that we do not compare iterators from
1200         different ParagraphList constainers.
1201         (moveDown): ditto
1202
1203         * text.C (firstPar): new function
1204         (lastPar): new function
1205         (endPar): new function
1206
1207         * lyxtext.h: move things around and group public functions, public
1208         variables, private functions, private variables
1209
1210 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1211
1212         * factory.C: change call to InsetERT constructor to avoid
1213         additional invocation of method status
1214         * text2.C (toggleInset): remove redundant update() call
1215         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1216         instead of a Bufferview pointer
1217
1218 2003-11-21  André Pönitz  <poenitz@gmx.net>
1219
1220         * rowpainter.C: simplification
1221
1222 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1223
1224         * text3.C (dispatch): make possible to extend a word/row selection
1225         with the mouse
1226
1227 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * lyxtext.h: x0_,y0_ -> xo_,yo_
1230         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1231         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1232         * rowpainter.C (paintRows): paint full paragraphs
1233
1234 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1237         screen coordinates)
1238
1239 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1240
1241         * lyxtext.h: add x0_, y0_
1242         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1243         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1244
1245 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * text2.C (setCursorIntern): move the x_target update here *
1248         * text3.C: change some bv() to true/false in calls to
1249         cursorUp/Down/Right/Left
1250         * cursor.C: use helper function.
1251
1252 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1255         * paragraph_funcs.[Ch]: correct comment
1256         * rowpainter.C: do not paint selections away from bv->cursor()
1257         Fix a long standing selection painting bug.
1258         * text3.C: generalize mouse-selection code to LyXTexts other that
1259         top one
1260         * textcursor.C: do not use y coords if we can use par offsets
1261
1262 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1265         cursor position after e.g. inset insert)
1266
1267 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1268
1269         * lyxfind.C (replace): adjust to locking removal + some
1270         code simplification
1271
1272 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1275         of the path
1276
1277 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * lyxlayout.[Ch]:
1280         * output_docbook.C: XML sanitation: new layout
1281         parameters InnerTag and CommandDepth
1282
1283 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1284
1285         * BufferView_pimpl.C:
1286         * factory.C:
1287         * text3.C: Fix the insertion and modification of button-style
1288         insets
1289
1290 2003-11-13  André Pönitz  <poenitz@gmx.net>
1291
1292         * InsetList.[Ch]: remove deleteLyXText
1293
1294         * paragraph.[Ch]: cache beginOfBody position
1295
1296         * Bidi.C:
1297         * text.C:
1298         * text2.C:
1299         * text3.C: remove superfluous update() calls
1300
1301         * vspace.C: cleanup
1302
1303 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1306         * BufferView.C (fitLockedInsetCursor): remove
1307         * cursor.[Ch] (getDim): add
1308         * text.C (getRowNearY): add faster version
1309         * text3.C: remove some update calls
1310
1311 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1312
1313         * LaTeXFeatures.C:
1314         * LyXAction.C:
1315         * MenuBackend.C:
1316         * MenuBackend.h:
1317         * dispatchresult.h:
1318         * factory.C:
1319         * lfuns.h:
1320         * lyxfunc.C:
1321         * lyxtextclass.C:
1322         * lyxtextclass.h:
1323         * text3.C: The Character Style /XML short element patch.
1324
1325 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1326
1327         * text3.C:
1328         * factory.C: Small step to solving 'unable to insert some insets'
1329         problem
1330
1331 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * cursor.[Ch] (updatePos): new function for updating the y
1334         position of the tip inset
1335         * bufferview_funcs.C (put_selection_at):
1336         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1337
1338 2003-11-11  André Pönitz  <poenitz@gmx.net>
1339
1340         * text.C: remove big comment on invalid Paragraph pointers as it is
1341         not valid anymore
1342
1343 2003-11-11  André Pönitz  <poenitz@gmx.net>
1344
1345         * text_funcs.[Ch]: merge with ...
1346
1347         * text.C: ... this
1348
1349         * lyxtext.h:
1350         * text2.C:
1351         * text3.C: adjust
1352
1353         * Makefile.am: remove text_funcs.[Ch]
1354
1355 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1356
1357         * cursor.C (getPos): return absolute cached y coord
1358
1359         * BufferView_pimpl.C (fitCursor): new simplistic code
1360         (workAreaDispatch): add a fitCursor call
1361
1362 2003-11-10  André Pönitz  <poenitz@gmx.net>
1363
1364         * BufferView.[Ch]:
1365         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1366
1367 2003-11-10  André Pönitz  <poenitz@gmx.net>
1368
1369         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1370         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1371         indicate that the cursor needs to leave an inset
1372
1373         * lyxtext.h: remove inset locking
1374
1375         * cursor.[Ch]: re-implement functionality provided by inset locking
1376
1377         * BufferView.[Ch]:
1378         * BufferView_pimpl.[Ch]:
1379         * LyXAction.C:
1380         * bufferview_funcs.[Ch]:
1381         * factory.C:
1382         * funcrequest.[Ch]:
1383         * iterators.C:
1384         * lyx_cb.C:
1385         * lyxfind.C:
1386         * lyxfunc.C:
1387         * text.C:
1388         * text2.C:
1389         * text3.C:
1390         * undo.C: adjust
1391
1392 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1393
1394         * PosIterator.[Ch]: replace the stack with a vector, add inset
1395         accesor
1396         * iterators.[C]: adjust
1397
1398 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1399
1400         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1401         replaced
1402         * paragraph_funcs.C (readParToken): put the correct id in the
1403         error item, not the id of the top paragraph
1404
1405 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1406
1407         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1408         * bufferview_funcs.C (put_selection_at): use the above
1409
1410 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1411
1412         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1413
1414 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * output_linuxdoc.h:
1417         * output_plaintext.h:
1418         * output.h:
1419         * output_docbook.h: add #include statements
1420
1421 2003-11-05  José Matos  <jamatos@lyx.org>
1422
1423         * output_docbook.[Ch]:
1424         * output_latex.[Ch]:
1425         * output_linuxdoc.[Ch]:
1426         * output_plaintext.[Ch]: New files for output formats.
1427         * output.[Ch]: New file for helper functions.
1428
1429         * buffer.[Ch]:
1430         * paragraph_funcs.[Ch]: output functions moved to new files.
1431
1432         * outputparams.h: rename of latexrunparams.h
1433
1434         * LaTeX.[Ch]:
1435         * buffer.[Ch]:
1436         * bufferlist.[Ch]:
1437         * converter.[Ch]:
1438         * exporter.C:
1439         * paragraph.[Ch]:
1440         * paragraph_funcs.[Ch]:
1441         * paragraph_pimpl.[Ch]:
1442         * tabular.[Ch]: rename ascii to plaintext
1443         and LatexRunParams to OutputParams.
1444
1445 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1446
1447         * iterators.[Ch] (text): require bv argument
1448         * undo.C (recordUndo):
1449         * lyxfunc.C (dispatch):
1450         * bufferview_funcs.C (put_selection_at): adjust
1451
1452 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1453
1454         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1455
1456 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1459         nestings
1460
1461 2003-11-04  André Pönitz  <poenitz@gmx.net>
1462
1463         * cursor.[Ch]: restructure
1464
1465         * BufferView.[Ch]:
1466         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1467
1468         * iterators.[Ch] (asCursor): remove
1469
1470         * lfuns.h: remove LFUN_INSET_EDIT
1471
1472         * lyxfunc.C:
1473         * tabular.C:
1474         * text.C:
1475         * text2.C:
1476         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1477
1478 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1479
1480         * lyxfind.[Ch]: complete overhaul
1481         * BufferView_pimpl.C:
1482         * lyxfunc.C: adjust
1483         * paragraph.[Ch] (insert): add
1484
1485 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1486
1487         * BufferView.[Ch]:
1488         * lyxtext.h:
1489         * text.C: remove dead spellcheck code
1490
1491 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1492
1493         * dispatchresult.h: add a val setter
1494
1495         * cursor.C (dispatch): use a tempvar for data_[i]
1496
1497 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1498
1499         * PosIterator.[Ch]: compile fix
1500
1501 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1502
1503         * text.C (cursorPar): deactivate the cursor cache
1504
1505 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1506
1507         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1508
1509 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1510
1511         * text3.C (dispatch): adjust for new DisptchResult semantics.
1512
1513         * lyxfunc.C (dispatch): handle update when return from
1514         Cursor::dispatch, adjust for new DispatchResult semantics.
1515
1516         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1517         DispatchResult(true) mean to not update. Add class functions for
1518         setting dispatched and update, as well as reading.
1519
1520         * cursor.C (dispatch): don't handle update here
1521
1522 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1523
1524         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1525         * trans_mgr.C: adjust
1526
1527         * paragraph_funcs.C (readParToken): exception safety
1528
1529         * lyxvc.h: store the vcs pointer in a scoped_ptr
1530         * lyxvc.C: adjust
1531
1532         * lyxsocket.C (serverCallback): exception safety
1533
1534         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1535
1536         * ispell.C (clone): make it return a auto_ptr
1537
1538         * factory.C (createInset): exception safety
1539         (readInset): exception safety
1540
1541         * bufferlist.C (newBuffer): exception safety
1542
1543         * Thesaurus.C (Thesaurus): use initialization for aik_
1544
1545         * MenuBackend.C (expandToc): exception safety.
1546
1547 2003-11-03  André Pönitz  <poenitz@gmx.net>
1548
1549         * buffer.C:
1550         * buffer.h:
1551         * bufferview_funcs.C: remove getInsetFromId()
1552
1553         * lyxcursor.[Ch]:
1554         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1555
1556         * lyxfunc.C:
1557         * text2.C:
1558         * text3.C: adjust
1559
1560 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1561
1562         * PosIterator.C (distance, advance): new
1563         * bufferview_funcs.[Ch] (put_selection_at): new
1564         * iterators.[Ch] (lockPath): new
1565
1566 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1567
1568         * iterators.[Ch] (asPosIterator): added
1569         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1570         * PosIterator.[Ch]: added
1571
1572 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1573
1574         * text3.C:
1575         * lyxfunc.C:
1576         * cursor.C (dispatch):
1577         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1578
1579         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1580         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1581         contructor, add a class function dispatched. Remove operator>=
1582
1583 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1584
1585         * debug.C: only use the default constructor for debugstream
1586         (lyxerr) here.
1587
1588         * main.C (main): include debug.h and setup the lyxerr streambuf
1589         here.
1590
1591 2003-10-31  José Matos  <jamatos@lyx.org>
1592
1593         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1594
1595         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1596         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1597         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1598         * paragraph_pimpl.C (simpleTeXSpecialC):
1599         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1600         add LatexRunParams argument.
1601
1602         * exporter.C (Export): change call accordingly.
1603
1604         * latexrunparams.h: add new member to take care of the other backends.
1605 2003-10-30  José Matos  <jamatos@lyx.org>
1606
1607         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1608         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1609         factorise code for paragraph output.
1610         * buffer.[Ch]:
1611         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1612         move functions.
1613
1614 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1615
1616         * text3.C (dispatch):
1617         * lyxfunc.C (dispatch):
1618         * cursor.C (dispatch):
1619         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1620
1621         * dispatchresult.h: make the dispatch_result_t ctor explicit
1622
1623 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1624
1625         * sgml.[Ch]:
1626         * buffer.C: small refactoring of docbook stuff
1627
1628 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1631         meaning.
1632
1633 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1634
1635         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1636         operator dispatch_result_t, and operators for == != and >=
1637
1638         * cursor.C (dispatch): adjust for operator dispatch_result_t
1639         removal. comment out call to update
1640
1641         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1642
1643 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1644
1645         * text3.C:
1646         * text2.C:
1647         * text.C:
1648         * lyxtext.h:
1649         * lyxfunc.C:
1650         * cursor.C:
1651         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1652         (dispatch):
1653
1654         * dispatchresult.h: new file, DispatchResult broken out of
1655         insets/insetbase.h
1656
1657         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1658
1659 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * text.C (rowBreakPoint): put a hack inside #if 0
1662
1663 2003-10-28  André Pönitz  <poenitz@gmx.net>
1664
1665         * lyxtext.h:
1666         * metricsinfo.C:
1667         * paragraph_funcs.C:
1668         * rowpainter.C:
1669         * text.C:
1670         * text2.C: general cleanup (lots of small stuff)
1671
1672 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1673
1674         * text2.C (cursorEnd): simple fix to the "end key goes to one
1675         before the end on last row" bug
1676
1677 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * text.C (backspace): fix the "zombie characters"
1680
1681 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1682
1683         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1684
1685 2003-10-27  André Pönitz  <poenitz@gmx.net>
1686
1687         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1688
1689         * factory.C: handle new InsetPagebreak, InsetLine
1690
1691         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1692         and move handling into new InsetPagebreak, InsetLine
1693
1694         * BufferView_pimpl.C:
1695         * LyXAction.C:
1696         * ParagraphParameters.C:
1697         * ParameterStruct.h:
1698         * lyxfunc.C:
1699         * lyxtext.h:
1700         * paragraph.C:
1701         * paragraph.h:
1702         * paragraph_funcs.C:
1703         * paragraph_pimpl.C:
1704         * rowpainter.C:
1705         * text.C:
1706         * text2.C:
1707         * text3.C: adjust
1708
1709 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1710
1711         * text.C:
1712         * lyxrow_funcs.[Ch]:
1713         * Bidi.C:
1714         * paragraph.C:
1715         * lyxtext.h:
1716         * rowpainter.C:
1717         * text2.C:
1718         * text3.C: remove lastPos uses in favour of Row::endpos
1719
1720 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1721
1722         * undo.C (performUndoOrRedo): fix two crashes by setting a
1723         cursor by hand and reordering some calls. Use bv->lockInset instead
1724         of inset->edit because the latter loses cursor information
1725
1726 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1727
1728         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1729         by Martin
1730         (rowBreakPoint): fix width. change point to point + 1.
1731         Add a missing check.
1732
1733 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1734
1735         * MenuBackend.C:
1736         * lyxfunc.C: fix (at least partly) the problems
1737         with the Nav menu and headers inside branch insets
1738         reported by Kayvan
1739
1740 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * paragraph.C (getChar): add strong asserts
1743
1744         * lyxrow_funcs.C (lastPos): remove hideous hack
1745
1746         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1747         (fill): adjust to that (avoid an infinite loop)
1748
1749 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1750
1751         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1752
1753 2003-10-23  André Pönitz  <poenitz@gmx.net>
1754
1755         * RowList_fwd.h: change list<> to vector<> to gain speed
1756         after suggestion from Alfredo
1757
1758 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1759
1760         * lyxtext.h: move the bidi stuff from here...
1761         * text.C: and here
1762         * text2.C: and here
1763         * Bidi.[Ch]: ... to here
1764
1765 2003-10-23  André Pönitz  <poenitz@gmx.net>
1766
1767         * lyxtext.h:
1768         * text.C (isLastRow, isFirstRow): new functions
1769
1770         * paragraph.h: new width cache member
1771
1772         * rowpainter.C: replace RowList::iterator with Row & where possible
1773
1774         * lyxfunc.C: replace several view()->text with a single call
1775
1776         * toc.C: fix 'unused' warning
1777
1778 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1781         when woring with stream::pos_type
1782         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1783
1784 2003-10-22  André Pönitz  <poenitz@gmx.net>
1785
1786         * lyxtext.h:
1787         * text.C: use Row & instead of RowList::iterator
1788
1789         * lyxrow.h: rename end() to endpos()
1790
1791         * rowpainter.C:
1792         * text.C:
1793         * text2.C: adjust
1794
1795 2003-10-22  Angus Leeming  <leeming@lyx.org>
1796
1797         * buffer.[Ch] (fully_loaded): new member function, returning true
1798         only when the file has been loaded fully.
1799         Used to prevent the premature generation of previews and by the
1800         citation inset to prevent computation of the natbib-style label.
1801
1802         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1803         templates are all set up.
1804
1805         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1806
1807 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * text.C: fixed an "oops" in the "is a bit silly"
1810         bug fix
1811
1812 2003-10-21  André Pönitz  <poenitz@gmx.net>
1813
1814         * FuncStatus.[Ch]: small stuff, whitespace
1815
1816         * lyxfont.[Ch]: operator<<() for debug reasons
1817
1818         * lyxfunc.C:
1819         * lyxrow_funcs.C:
1820         * lyxtext.h: whitespace, spelling
1821
1822         * paragraph.C: naming of variables
1823
1824         * text.C:
1825         * text2.C: small stuff
1826
1827
1828 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1829
1830         * text.C: (1) finish off the inset display() work;
1831         (2) fix the "is a bit silly" bug (accessing char
1832         past end of par).
1833
1834 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1835
1836         * text.C: re-introduce display() for insets, fixing the
1837         various bugs (stretch of line above, math inset
1838         positioning, ...)
1839
1840 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * text.C (rightMargin): remove spurious semicolon
1843
1844         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1845         1415)
1846
1847 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1848
1849         * text3.C: fix one crash due to wrong cursor def
1850
1851 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1852
1853         * vc-backend.C (scanMaster): make the regex static
1854
1855         * LaTeX.C (scanAuxFile): make the regexs static
1856
1857         * text3.C (doInsertInset, dispatch, dispatch):
1858         * text2.C (cursorUp, cursorDown):
1859         * text.C (selectNextWordToSpellcheck):
1860         * BufferView_pimpl.C (dispatch):
1861         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1862
1863 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * lyxsocket.C: include <cerrno>
1866
1867 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1868
1869         * lyxfunc.C (dispatch): remove textcache stuff
1870
1871         * bufferlist.C (release): remove textcache stuff
1872         (closeAll): ditto
1873
1874         * TextCache.C: delete file
1875         * TextCache.h: delete file
1876
1877         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1878
1879         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1880         delete of the bv_->text.
1881         (resizeCurrentBuffer): remove texcache stuff
1882         (workAreaResize): ditto
1883
1884 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1885
1886         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1887         action.
1888
1889 2003-10-16  André Pönitz  <poenitz@gmx.net>
1890
1891         * lyxrow.[Ch]:
1892         * paragraph.h:
1893         * rowpainter.C:
1894         * text.C:
1895         * text2.C:
1896         * text3.C: speed up by storing y positions per paragraph plus per-row
1897         offset instead of having a 'full' y position in the row.
1898
1899 2003-10-15  André Pönitz  <poenitz@gmx.net>
1900
1901         * iterators.[Ch]:
1902         * iterators.[Ch]:
1903         * undo.[Ch]: make undo aware of inner insets
1904
1905 2003-10-14  Angus Leeming  <leeming@lyx.org>
1906
1907         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1908         static member functions LyX::ref() and LyX::cref.
1909         (lastfiles): new accessor functions for the new lastfiles_ member var.
1910         (addLyXView, views_): add a new LyXView to the list of views_.
1911         (updateInset): loop over all LyXViews to call their own updateInset
1912         member function, returning a pointer to the Buffer owning the inset.
1913
1914         * BufferView_pimpl.C (loadLyXFile):
1915         * MenuBackend.C (expandLastfiles):
1916         * bufferlist.C (MenuWrite, QuitLyX):
1917         lastfiles is no longer a global variable.
1918         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1919
1920         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1921         static function. Access through LyX::cref().emergencyCleanup().
1922
1923 2003-10-14  André Pönitz  <poenitz@gmx.net>
1924
1925         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1926
1927         * undo.[Ch]: restoring part of 'undo in insets'
1928
1929         * Makefile.am:
1930         * undo_funcs.[Ch]: merge with undo.[Ch]
1931
1932         * tabular.C: small cleansing stuff
1933
1934 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * paragraph_funcs.C (readParToken): report unknown insets as error
1937         boxes. Use the outer paragraph as location (also for unknown
1938         tokens).
1939
1940         * factory.C (readInset): do not abort on reading an unknown inset.
1941         Eat it and return 0.
1942
1943 2003-10-13  Angus Leeming  <leeming@lyx.org>
1944
1945         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1946
1947         * lyxrc.C: displayTranslator is now a function,
1948         declared in GraphicsTypes.h.
1949
1950 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1951
1952         * format.C: new placeholder $$a to pass the socket address.
1953
1954         * bufferlist.[Ch]: new function getBufferFromTmp.
1955
1956         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1957           files in the temporary dir.
1958
1959 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1960
1961         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1962
1963         * Makefile.am: add lyxsocket.[Ch].
1964
1965         * lyx_main.C (error_handler): handle SIGPIPE.
1966
1967 2003-10-13  André Pönitz  <poenitz@gmx.net>
1968
1969         * BufferView_pimpl.C:
1970         * lyxtext.h:
1971         * text.C:
1972         * text2.C:
1973         * text3.C:
1974         * undo_funcs.[Ch]: use paroffset_type instead of
1975           ParagraphList::iterators to prevent multiple conversion
1976           (and get a more robust interface)
1977
1978 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1981         * lyxtext.h: ditto
1982         * text3.C (dispatch): ditto
1983
1984 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1987         move the onlyfile, use onlyfile instead of foundfile in a couple
1988         of places.
1989
1990         * DepTable.C (update): flush the error stream a bit more
1991
1992 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * lyxserver.C (callback): adjust
1995
1996         * lyxfunc.C (getStatus): add a missing brace in commented code
1997         (ensureBufferClean): reindent
1998         (dispatch): delete version taking a string
1999
2000 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2001
2002         * LaTeX.C (deplog): move found file handlig from here...
2003         (handleFoundFile): .. to new function here.
2004         (deplog): make sure to discover several files mentioned on the
2005         same log line.
2006
2007 2003-10-10  André Pönitz  <poenitz@gmx.net>
2008
2009         * lyxfunc.C:
2010         * lyxtext.h:
2011         * tabular.C:
2012         * text.C:
2013         * text2.C:
2014         * text3.C: fix some of the tabular crashes
2015
2016 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2017
2018         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2019
2020         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2021
2022 2003-10-09  André Pönitz  <poenitz@gmx.net>
2023
2024         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2025
2026         * BufferView.C:
2027         * BufferView_pimpl.C:
2028         * bufferview_funcs.C:
2029         * lyx_cb.C:
2030         * lyxcursor.C:
2031         * lyxfind.C:
2032         * lyxfunc.C:
2033         * lyxtext.h:
2034         * text.C:
2035         * text2.C:
2036         * text3.C:
2037         * text_funcs.[Ch]:
2038         * textcursor.[Ch]:
2039         * undo_funcs.C: adjust
2040
2041 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * text2.C (incrementItemDepth): new function, use a backtracking
2044         algorithm to discover the correct item depth.
2045         (resetEnumCounterIfNeeded): new function, use a backtracking
2046         algorithm to discover if counter reset is needed.
2047         (setCounter): use them. Simplify a bit. Add different labels for
2048         different item depths for itemize.
2049
2050         * paragraph.C (Paragraph): remove initialization of enumdepth
2051         (operator=): ditto
2052
2053         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2054         enumerate and itemize. Change the type of itemdepth to signed char.
2055
2056 2003-10-08  André Pönitz  <poenitz@gmx.net>
2057
2058         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2059           thing assignable.
2060         * text.C:
2061         * text2.C: adjust
2062
2063         * tabular.[Ch]: fix crash after 'row-insert'
2064
2065 2003-10-08  Angus Leeming  <leeming@lyx.org>
2066
2067         Fix doxygen warnings.
2068
2069         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2070         Remove CutAndPaste:: prefix from header file declaration.
2071
2072         * LColor.h (fill): remove LColor:: prefix from declaration.
2073
2074         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2075         use lyx::depth_type rather than Paragraph::depth_type so that
2076         header file and .C file match.
2077
2078         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2079
2080         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2081         * aspell.C: \file aspell_local.C -> \file aspell.C
2082         * gettext.C: \file gettext.C -> \file src/gettext.C
2083         * gettext.h: \file gettext.h -> \file src/gettext.h
2084         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2085         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2086         * text.C: \file text.C -> \file src/text.C
2087
2088         * toc.C: move comment so that doxygen is not confused.
2089
2090 2003-10-07  Angus Leeming  <leeming@lyx.org>
2091
2092         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2093
2094 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2095
2096         * aspell.C:
2097         * aspell_local.h: add forgotten std::string's.
2098
2099 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2100
2101         * LaTeXFeatures.C:
2102         * LyXAction.C:
2103         * factory.C:
2104         * lfuns.h:
2105         * lyxfunc.C:
2106         * text3.C: The Box patch. Fancybox support, minipage, parbox
2107
2108 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2109
2110         * CutAndPaste.h:
2111         * DepTable.h:
2112         * FloatList.h:
2113         * LaTeXFeatures.h:
2114         * ParagraphParameters.h:
2115         * TextCache.h:
2116         * Thesaurus.h:
2117         * bufferlist.h:
2118         * exporter.h:
2119         * importer.h:
2120         * lastfiles.h:
2121         * lyxfind.h:
2122         * lyxfont.h:
2123         * lyxlex.h:
2124         * lyxtextclasslist.h:
2125         * messages.h:
2126         * paragraph.h:
2127         * paragraph_pimpl.C:
2128         * textcursor.h: add <string> and other small fixes to make Lars'
2129         std::string patch compile with STLport.
2130
2131 2003-10-06  Angus Leeming  <leeming@lyx.org>
2132
2133         * LColor.h: Add missing #include <string>.
2134
2135 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * All most all file in all subdirs: Make <string> be the prefered
2138         way of getting to std::string, add using declarations.
2139
2140 2003-10-06  André Pönitz  <poenitz@gmx.net>
2141
2142         * metricsinfo.C: initialize LyXFont before changing attribute.
2143         (fixes the 'math in \emph is upright' bug)
2144
2145 2003-10-06  André Pönitz  <poenitz@gmx.net>
2146
2147         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2148
2149 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2150
2151         * graph.C:
2152         * paragraph_pimpl.C: Small fixes to build using STLport
2153
2154 2003-10-02  André Pönitz  <poenitz@gmx.net>
2155
2156         * lyxfunc.C:
2157         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2158
2159 2003-10-01  André Pönitz  <poenitz@gmx.net>
2160
2161         * factory.C: assert early
2162
2163 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2164
2165         * lyx_main.C: remove the global debug object
2166
2167         * debug.h: adjust for new debugstream
2168
2169         * debug.C: adjust for new debugstream and keep the global debug
2170         object here.
2171
2172 2003-09-22  Angus Leeming  <leeming@lyx.org>
2173
2174         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2175         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2176         an incomplete class LyXFont.
2177
2178 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2179
2180         * factory.C: bug fix in branches
2181
2182 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * lyxfunc.C (processKeySym): adjust
2185         (dispatch): adjust
2186         (dispatch): change arg name from ev to func, adjust
2187         (sendDispatchMessage): ditto
2188
2189         * lyx_main.C (defaultKeyBindings): adjust keybindings
2190         (deadKeyBindings): ditto
2191
2192         * kbsequence.C (addkey): return a FuncRequest
2193
2194         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2195
2196         * kbmap.C (bind): take a FuncRequest as arg, adjust
2197         (read): adjust
2198         (lookup): adjust
2199         (defkey): change to take a FuncRequest as arg, adjust
2200         (findbinding): take a FuncRequest as arg, adjust.
2201
2202         * funcrequest.h (operator=): added
2203
2204         * funcrequest.C (FuncRequest): default kb_action changed from
2205         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2206
2207         * buffer.C (dispatch): simplify
2208         (dispatch): adjust to take a FuncRequest as arg, adjust
2209
2210         * boost.C (assertion_failed): change assertion message slightly
2211
2212         * ToolbarBackend.C (read): simplify
2213
2214         * MenuBackend.C (binding): adjust call to findbinding, add a
2215         message if no binding is found.
2216         (read): simplify
2217         (expandToc): correct by adding a empty FuncRequest
2218
2219         * LyXAction.C: include <boost/assert.hpp>
2220         (isPseudoAction): delete function
2221         (LookupFunc): change name to...
2222         (lookupFunc): this. change return type to FuncRequest.
2223         (getActionName): take kb_action as arg, simplify
2224         (funcHasFlag): add an assert, simplify.
2225
2226 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * toc.C (action): return a FuncRequest, simplify
2229
2230         * lyxfunc.C (processKeySym): adjust
2231         (getStatus): delete version that takes an int.
2232         (getStatus): adjust
2233         (dispatch): delete version that takes action as int
2234         (dispatch): adjust
2235         (sendDispatchMessage): simplify and adjust
2236
2237         * funcrequest.C (getArg): take unsigned int as arg
2238
2239         * ToolbarBackend.C (read): adjust
2240         (add): delete version that takes func as a string.
2241         (getIton): take a FuncRequest as arg
2242
2243         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2244         action.
2245
2246         * MenuBackend.C (MenuItem): add a new construct that only takes a
2247         Kind, simplify the constructor use for submenus.
2248         (add): adjust
2249         (expandLastfiles): adjust
2250         (expandDocuments): adjust
2251         (expandFormats): adjust
2252         (expandFloatListInsert): adjust
2253         (expandFloatInsert): adjust
2254         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2255
2256         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2257         Remove class variables lyx_pseudo_map and lyx_arg_map
2258
2259         * LyXAction.C (searchActionArg): delete function
2260         (getPseudoAction): delete function
2261         (retrieveActionArg): delete function
2262         (LookupFunc): make it return kb_action, simplify.
2263         (getActionName): simplify
2264
2265         * factory.C (createInset): fix new bug
2266
2267 2003-09-19  Angus Leeming  <leeming@lyx.org>
2268
2269         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2270         masterFilename_ parameter in the include inset.
2271
2272         * factory.C (createInset): changes due to the changes to InsetInclude.
2273
2274 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2275
2276         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2277
2278 2003-09-18  Angus Leeming  <leeming@lyx.org>
2279
2280         * buffer.C:
2281         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2282         Inset::fillWithBibKeys.
2283         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2284
2285 2003-09-18  Angus Leeming  <leeming@lyx.org>
2286
2287         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2288         variables.
2289         (ctor): pass and store a 'Buffer const &'
2290         (buffer): new member function.
2291
2292         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2293         '*this' to the LaTeXFeatures ctor.
2294
2295 2003-09-18  Angus Leeming  <leeming@lyx.org>
2296
2297         * LColor.h:
2298         * lyxfont.C:
2299         * lyxfont.h:
2300         * lyxtext.h:
2301         * text.C: rename EnumLColor as LColor_color.
2302
2303 2003-09-18  Angus Leeming  <leeming@lyx.org>
2304
2305         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2306         remove #include "insets/insetbase.h" from cursor.h.
2307
2308 2003-09-18  Angus Leeming  <leeming@lyx.org>
2309
2310         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2311         InsetOld_code to remove #include "inset.h".
2312
2313         * iterators.C: add #include "insets/inset.h"
2314
2315 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2316
2317         * BufferView.C: remove more locking stuff that apparently doesn't
2318         do anything sensible.
2319
2320 2003-09-16  André Pönitz  <poenitz@gmx.net>
2321
2322         * paragraph.[Ch]:
2323         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2324           performance boost.
2325
2326 2003-09-16  Angus Leeming  <leeming@lyx.org>
2327
2328         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2329
2330         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2331         arg/return type.
2332
2333         * paragraph.h: remove #include "lyxfont.h". Forward declare
2334         LyXFont_size.
2335
2336 2003-09-16  Angus Leeming  <leeming@lyx.org>
2337
2338         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2339         of support/textutils.h.
2340         (isWord): move the contents of support/textutils.h's IsWordChar here.
2341
2342         * buffer.C:
2343         * lyxfind.C:
2344         * rowpainter.C:
2345         * text.C:
2346         * text2.C: add #include "paragraph.h".
2347
2348         * rowpainter.C:
2349         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2350
2351 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2352
2353         * main.C:
2354         * lyx_main.C:
2355         * lyx_cb.C:
2356         * buffer.C:
2357         * LaTeX.C: use namespace alias for lyx::support::os
2358
2359 2003-09-16  Angus Leeming  <leeming@lyx.org>
2360
2361         * bufferparams.C:
2362         * bufferview_funcs.C:
2363         * factory.C:
2364         * lyxfunc.C:
2365         * paragraph_pimpl.C:
2366         * rowpainter.C:
2367         * text.C: add #include "LColor.h".
2368
2369 2003-09-16  Angus Leeming  <leeming@lyx.org>
2370
2371         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2372         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2373         return LyXFont &.
2374         Store the FontBits::color variable as an int rather than as an
2375         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2376         file.
2377
2378         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2379         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2380         string calls together.
2381
2382         * lyxrc.C: add #include "LColor.h".
2383
2384 2003-09-15  Angus Leeming  <leeming@lyx.org>
2385
2386         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2387         a cow_ptr.
2388
2389 2003-09-15  Angus Leeming  <leeming@lyx.org>
2390
2391         * LColor.h: add an EnumLColor wrapper for LColor::color.
2392
2393         * lyxfont.[Ch] (color, setColor, realColor):
2394         * lyxtext.h, text.C (backgroundColor):
2395         pass EnumLColor args to/from the functions, rather than LColor::color
2396         ones.
2397
2398         * lyxfont.h:
2399         * lyxtext.h: forward declare EnumLColor.
2400
2401         * lyx_main.C: add #include "LColor.h".
2402
2403 2003-09-15  Angus Leeming  <leeming@lyx.org>
2404
2405         * .cvsignore: add lyx-gtk.
2406
2407 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * Chktex.C
2410         * LaTeX.C
2411         * LaTeXFeatures.C
2412         * ParagraphParameters.C
2413         * Spacing.C
2414         * buffer.C
2415         * bufferparams.C
2416         * bufferview_funcs.C
2417         * chset.C
2418         * counters.C
2419         * funcrequest.C
2420         * lyxfont.C
2421         * lyxgluelength.C
2422         * lyxlength.C
2423         * paragraph.C
2424         * paragraph_funcs.C
2425         * text3.C
2426         * vc-backend.C: remove usage of STRCONV
2427
2428 2003-09-15  Angus Leeming  <leeming@lyx.org>
2429
2430         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2431         explicitly define the color passed to the painter.
2432
2433 2003-09-15  Angus Leeming  <leeming@lyx.org>
2434
2435         * bufferparams.C (BufferParams): reorder member initializers to avoid
2436         compiler warning.
2437
2438 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2439
2440         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2441         * text.C (updateRowPositions): remove an unusual nop
2442
2443 2003-09-12  André Pönitz  <poenitz@gmx.net>
2444
2445         * BufferView_pimpl.C:
2446         * Bullet.C:
2447         * layout.h:
2448         * lyxfunc.C:
2449         * lyxlayout.[Ch]:
2450         * lyxtextclass.C:
2451         * rowpainter.C:
2452         * text.C:
2453         * text2.C:
2454         * Counters.[Ch]: finish the 'automatic counters' job
2455
2456 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2457
2458         * aspell.C: include <boost/assert.cpp> (compile fix)
2459
2460 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2461
2462         * boost.C (assertion_failed): use lyx::support::abort instead of
2463         assert.
2464
2465 2003-09-10  Angus Leeming  <leeming@lyx.org>
2466
2467         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2468         with their _fwd progeny.
2469
2470 2003-09-09  Angus Leeming  <leeming@lyx.org>
2471
2472         134 files throughtout the source tree: replace 'using namespace abc;'
2473         directives with the appropriate 'using abc::xyz;' declarations.
2474
2475 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2476
2477         * boost.C (emergencyCleanup): moved here from LAssert.c
2478         (assertion_failed): new function, called by BOOST_ASSERT
2479
2480         * several files: change Assert to BOOST_ASSERT
2481
2482 2003-09-09  Angus Leeming  <leeming@lyx.org>
2483
2484         * buffer.[Ch]: Add an Impl class and move Buffer's member
2485         variables into it. As a result move several header files out of
2486         buffer.h.
2487
2488         Add header files to lots of .C files all over the tree as a result.
2489
2490 2003-09-09  Angus Leeming  <leeming@lyx.org>
2491
2492         * buffer.[Ch]: make Buffer's member variables private. Add
2493         accessor functions.
2494
2495         Lots of changes all over the tree as a result.
2496
2497 2003-09-08  Angus Leeming  <leeming@lyx.org>
2498
2499         * graph.C: #include <config.h>.
2500
2501 2003-09-08  Angus Leeming  <leeming@lyx.org>
2502
2503         * BranchList.C:
2504         * BufferView.C:
2505         * BufferView_pimpl.C:
2506         * CutAndPaste.C:
2507         * DepTable.C:
2508         * LaTeX.C:
2509         * LaTeXFeatures.C:
2510         * LyXAction.C:
2511         * MenuBackend.C:
2512         * TextCache.C:
2513         * aspell.C:
2514         * buffer.C:
2515         * bufferlist.C:
2516         * changes.C:
2517         * chset.C:
2518         * converter.C:
2519         * counters.C:
2520         * debug.C:
2521         * graph.C:
2522         * ispell.C:
2523         * lyx_cb.C:
2524         * lyxfind.C:
2525         * lyxfunc.C:
2526         * lyxlex_pimpl.C:
2527         * lyxrc.C:
2528         * lyxrow.C:
2529         * paragraph.C:
2530         * rowpainter.C:
2531         * texrow.C:
2532         * text.C:
2533         * text2.C:
2534         * toc.C: remove redundant using directives.
2535
2536 2003-09-07  Angus Leeming  <leeming@lyx.org>
2537
2538         * LaTeXFeatures.h: remove #include "support/types.h".
2539         * ToolbarBackend.h: remove #include <algorithm>.
2540         * changes.h: remove #include <ctime>.
2541         * debug.h: remove #include <iosfwd>.
2542         * graph.h: remove #include "support/std_string.h".
2543         * lyx_main.h: remove #include <csignal>.
2544         * lyxlex_pimpl.h: remove #include <fstream>.
2545         * sgml.h: remove #include <algorithm>, <utility>.
2546         * toc.h: remove #include "support/std_ostream.h".
2547         Add #include <iosfwd>.
2548
2549 2003-09-07  Angus Leeming  <leeming@lyx.org>
2550
2551         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2552
2553         * converter.h: forward declare LatexRunParams.
2554         * encoding.h: remove #include "lyxrc.h".
2555         * lyxtext.h: remove #include "LColor.h".
2556         * lyxtextclass.h: remove #include "support/types.h".
2557         * trans.h: remove #include "tex-accent.h".
2558         * trans_mgr.h: remove #include "tex-accent.h".
2559         * insets/inset.h: remove #include "support/types.h", <vector>.
2560         * insets/insetcollapsable.h: remove #include "LColor.h".
2561         * insets/insetinclude.h: remove #include "dimension.h".
2562         * insets/insetlatexaccent.h: remove #include "dimension.h".
2563         * insets/insetoptarg.h:: remove #include "insettext.h".
2564         * insets/insettext.h: remove #include "dimension.h",
2565         <boost/shared_ptr.hpp>
2566
2567         * insets/renderers.h: add #include "dimension.h".
2568         * insets/updatableinset.h: add #include "support/types.h".
2569
2570         * many .C files: Associated changes.
2571
2572 2003-09-06  Angus Leeming  <leeming@lyx.org>
2573
2574         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2575         one, inside testInvariant.
2576
2577         * PrinterParams.C: new file.
2578         * PrinterParams.[Ch]: move the function bodies out of line.
2579
2580 2003-09-06  Angus Leeming  <leeming@lyx.org>
2581
2582         * ParagraphParameters.h: forward declare ParameterStruct rather than
2583         including its header file.
2584         (depth): moved out-of-line.
2585
2586 2003-09-06  Angus Leeming  <leeming@lyx.org>
2587
2588         * BufferView_pimpl.h:
2589         * kbmap.h:
2590         * kbsequence.h:
2591         * lyxfunc.h: forward declare LyXKeySym rather than
2592         #include "frontends/LyXKeySym.h".
2593
2594         * BufferView_pimpl.C:
2595         * kbmap.C:
2596         * kbsequence.C:
2597         * lyxfunc.C: associated changes.
2598
2599 2003-09-06  Angus Leeming  <leeming@lyx.org>
2600
2601         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2602         As a result, can remove the #include "insets/inset.h" from BufferView.h
2603
2604 2003-09-06  Angus Leeming  <leeming@lyx.org>
2605
2606         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2607         As a result, can remove the #include "insets/inset.h" from BufferView.h
2608
2609 2003-09-06  Angus Leeming  <leeming@lyx.org>
2610
2611         * buffer_funcs.C:
2612         * buffer.h:
2613         * bufferlist.C:
2614         * BufferView.C:
2615         * bufferview_funcs.C:
2616         * BufferView_pimpl.C:
2617         * CutAndPaste.C:
2618         * lyx_cb.C:
2619         * lyxfunc.C:
2620         * paragraph.h:
2621         * ParagraphParameters.C:
2622         * tabular.C:
2623         * text3.C:
2624         * toc.C:
2625         * undo_funcs.C:
2626         * frontends/controllers/ControlDocument.C:
2627         * insets/insetcaption.C: rearrange the #includes into some sort of
2628         coherent order.
2629
2630         * buffer.h: remove #includes ErrorList.h, undo.h
2631
2632 2003-09-06  Angus Leeming  <leeming@lyx.org>
2633
2634         * support/types.h: add a 'depth_type' typedef, used to store the
2635         nesting depth of a paragraph.
2636
2637         * paragraph.h:
2638         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2639         defining explicitly.
2640
2641         * buffer.h:
2642         * paragraph_funcs.h:
2643         * ParagraphParameters.h:
2644         * sgml.h: use lyx::depth_type rather than Paragraph or
2645         ParameterStruct's depth_type.
2646
2647         * buffer.h
2648         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2649
2650         * BufferView.C:
2651         * BufferView_pimpl.C:
2652         * CutAndPaste.C:
2653         * ParagraphParameters.C:
2654         * buffer_funcs.C:
2655         * bufferlist.C:
2656         * bufferview_funcs.C:
2657         * lyx_cb.C:
2658         * lyxfunc.C:
2659         * tabular.C:
2660         * text3.C:
2661         * toc.C:
2662         * undo_funcs.C:
2663         * frontends/LyXView.C:
2664         * frontends/controllers/ControlDocument.C:
2665         * frontends/controllers/ControlErrorList.C:
2666         * insets/insetbibitem.C:
2667         * insets/insetbranch.C:
2668         * insets/insetcaption.C:
2669         * insets/insetcollapsable.C:
2670         * insets/insetenv.C:
2671         * insets/insetert.C:
2672         * insets/insetfloat.C:
2673         * insets/insetfoot.C:
2674         * insets/insetfootlike.C:
2675         * insets/insetnewline.C:
2676         * insets/insetquotes.C:
2677         * insets/insettabular.C:
2678         * insets/insettext.C:
2679         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2680
2681         * frontends/controllers/ControlChanges.C: #include "changes.h".
2682
2683 2003-09-06  Angus Leeming  <leeming@lyx.org>
2684
2685         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2686         than #including paragraph.h.
2687
2688         * ParagraphList.h:
2689         * RowList.h: deleted. Superfluous.
2690
2691         * CutAndPaste.h:
2692         * iterators.h:
2693         * lyxcursor.h:
2694         * lyxtext.h:
2695         * text_funcs.h:
2696         * undo.h:
2697         * undo_funcs.h:
2698         * insets/inset.h:
2699         * insets/insettext.h: use ParagraphList_fwd.h rather than
2700         ParagraphList.h.
2701
2702         * paragraph.h: don't forward declare ParagraphList.
2703
2704         * buffer.h:
2705         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2706         rather than ParagraphList.h. paragraph.h is still needed for the
2707         Paragraph::depth_type parameters.
2708
2709         * textcursor.h: enable it to compile stand-alone in light of the
2710         above changes.
2711
2712         * bufferview_funcs.C:
2713         * iterators.C:
2714         * lyxfunc.C:
2715         * lyxrow_funcs.C:
2716         * paragraph.C:
2717         * rowpainter.C:
2718         * text.C:
2719         * text2.C:
2720         * text3.C:
2721         * text_funcs.C:
2722         * textcursor.C:
2723         * undo.C:
2724         * frontends/controllers/ControlParagraph.C:
2725         * frontends/controllers/ControlTabular.C:
2726         * insets/insetmarginal.C:
2727         * insets/insetminipage.C:
2728         * insets/insetnote.C:
2729         * insets/insetoptarg.C: add header files needed to compile again.
2730
2731 2003-09-06  Angus Leeming  <leeming@lyx.org>
2732
2733         * RowList_fwd.h: new file, forward-declaring Row rather than
2734         #including lyxrow.h.
2735
2736         * lyxrow_funcs.h:
2737         * lyxtext.h:
2738         * paragraph.h:
2739         * insets/insettext.h: use it instead of RowList.h
2740
2741         * bufferview_funcs.C:
2742         * lyxfunc.C:
2743         * lyxrow_funcs.C:
2744         * paragraph.C:
2745         * rowpainter.C:
2746         * text.C:
2747         * text2.C:
2748         * text3.C: #include "RowList.h".
2749
2750 2003-09-05  Angus Leeming  <leeming@lyx.org>
2751
2752         * factory.C (createInset):
2753         * vspace.C (c-tor): replace sscanf call with an istringstream.
2754         * ispell.C: re-add missing HP/UX headers.
2755         * lyxserver.C: re-add missing  os2 headers.
2756
2757 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2758
2759         * BranchList.C:
2760         * graph.C:
2761         * ispell.C:
2762         * lastfiles.C:
2763         * lyx_cb.C:
2764         * lyxserver.C:
2765         * texrow.C:
2766         * text3.C: re-add missing system headers, needed for 2.95.2.
2767
2768 2003-09-05  Angus Leeming  <leeming@lyx.org>
2769
2770         Changes most place everywhere due to the removal of using directives
2771         from support/std_sstream.h.
2772
2773 2003-09-05  Angus Leeming  <leeming@lyx.org>
2774
2775         Replace LString.h with support/std_string.h,
2776         Lsstream.h with support/std_sstream.h,
2777         support/LIstream.h with support/std_istream.h,
2778         support/LOstream.h with support/std_ostream.h.
2779
2780         Changes resulting throughout the tree.
2781
2782 2003-09-05  Angus Leeming  <leeming@lyx.org>
2783
2784         * sgml.h: ensure that the header file can be compiled stand-alone.
2785         * *.C: strip out redundant #includes. (320 in total.)
2786
2787 2003-09-04  Angus Leeming  <leeming@lyx.org>
2788
2789         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2790         here (from getPackages).
2791
2792         * debug.[Ch]: add a new EXTERNAL tag.
2793
2794 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2795
2796         * text2.C (cursorEnd): simplify
2797         (setCursor): adjust
2798         (getColumnNearX): adjust
2799
2800         * text.C (computeBidiTables): adjust
2801         (fill): adjust
2802
2803         * rowpainter.C (paintChars): adjust
2804         (paintSelection): adjust
2805         (paintChangeBar): adjust
2806         (paintText): adjust
2807
2808         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2809         lastPos instead.
2810         (numberOfSeparators): adjust
2811
2812 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2813
2814         * LyXAction.C:
2815         * box.[Ch]:
2816         * lfuns.h:
2817         * lyxfunc.C:
2818         * text3.C: Restricts the mouse click functionality
2819         of insets like bibtex, include, toc and floatlist to the visible
2820         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2821         up the dialogs. Cursor has to be in front of the inset (i.e.
2822         start of row) for this to function.
2823
2824 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2825
2826         * bufferview_funcs.C (currentState): output row information
2827
2828 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2829
2830         * bufferview_funcs.C (currentState): output paragraph position
2831
2832 2003-09-04  Angus Leeming  <leeming@lyx.org>
2833
2834         * FloatList.h: move out #include "Floating.h".
2835         * LaTeX.h: move out #include "DepTable.h".
2836         * LyXAction.h: move out #include "funcrequest.h".
2837         * buffer.h: move out #include "author.h", "iterators.h".
2838         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2839         * lyx_main.h: move out #include "errorlist.h".
2840         * lyxfunc.h: move out #include "FuncStatus.h".
2841         * lyxtext: move out #include "lyxcursor.h".
2842         * paragraph_pimpl.h: move out #include "counters.h".
2843
2844 2003-09-03  Angus Leeming  <leeming@lyx.org>
2845
2846         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2847         preamble_snippets list, enabling us to add snippets to the preamble
2848         only if the snippet was not there already.
2849
2850 2003-09-04  Angus Leeming  <leeming@lyx.org>
2851
2852         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2853
2854 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2857         update
2858
2859 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2860
2861         * BranchList.C: point fix, earlier forgotten
2862
2863 2003-09-02  Angus Leeming  <leeming@lyx.org>
2864
2865         * box.C (contains): renamed from 'contained' after a fantastic
2866         amount of hot air.
2867
2868 2003-09-02  John Levon  <levon@movementarian.org>
2869
2870         * BufferView.C:
2871         * lyxcursor.h:
2872         * lyxcursor.C:
2873         * lyxfunc.C:
2874         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2875
2876 2003-09-02  John Levon  <levon@movementarian.org>
2877
2878         * text2.C: simplification of cursorEnd(), including partial
2879         fix for bug 1376
2880
2881 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * buffer.C (readFile): add a space
2884
2885 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2888
2889 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * buffer.C (readFile): new function, take a filename and a
2892         ParagraphList::iterator
2893         (readFile): adjust
2894         (readFile): adjust, make it private. don't use setStream, make
2895         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2896         always contain the filename.
2897
2898         * BufferView.C (insertLyXFile): simplify and make it work for
2899         gzipped files.
2900
2901 2003-08-30  John Levon  <levon@movementarian.org>
2902
2903         * Makefile.am: fix dist (from Kayvan)
2904
2905 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * most files: change to use const Buffer refs
2908
2909 2003-08-27  André Pönitz  <poenitz@gmx.net>
2910
2911         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2912         on top of ownerPar().
2913
2914 2003-08-27  John Levon  <levon@movementarian.org>
2915
2916         * funcrequest.C: properly initialise POD members
2917
2918 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * lyxtext.h (top_y): move top_y from here
2921         * text.C:
2922         * text2.C:
2923         * text3.C:
2924         * BufferView.[Ch]:
2925         * BufferView_pimpl.[Ch]: to here
2926         * frontends/screen.C:
2927         * insets/insettabular.C:
2928         * insets/insettext.C: adjust
2929         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2930
2931 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * BufferView.[Ch]:
2934         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2935
2936 2003-08-26  André Pönitz  <poenitz@gmx.net>
2937
2938         * paragraph_func.[Ch] (outerPar): new function
2939
2940         * paragraph.C:
2941         * paragraph_funcs.C:
2942         * paragraph_funcs.h:
2943         * paragraph_pimpl.C:
2944         * text2.C: remove Inset::par_owner
2945
2946 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * lyxrow_funcs.C:
2949         * lyxtext.h:
2950         * text.C:
2951         * text2.C: eliminates the needFullRow/display() stuff
2952         altogether, putting the logic in metrics/draw in the insets.
2953
2954 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * text2.C (redoParagraphInternal, redoParagraphs):
2957         * text.C (redoParagraph): add a call to updateRowPositions at the
2958         end of each 'metrics-like' call. Remove all others.
2959         (getRow): remove the 'y-computing' version.
2960         (getRowNearY): do not compute nor return the real y. Solve the
2961         'y < 0' problem and simplify.
2962
2963 2003-08-22  Angus Leeming  <leeming@lyx.org>
2964
2965         * *.[Ch]: clean-up of licence and author blurbs.
2966         Also move config.h out of a few .h files and into a few .C files.
2967
2968 2003-08-22  André Pönitz  <poenitz@gmx.net>
2969
2970         * lyxrow.[Ch]: add x_ and *fill_ members
2971
2972         * lyxtext.h:
2973         * text.C:
2974         * rowpainter.C:
2975         * text2.C: adjust/remove prepareToPrint() calls
2976
2977 2003-08-22  André Pönitz  <poenitz@gmx.net>
2978
2979         * lyxrow.[Ch]: add  end_ member
2980
2981         * lyxrow_funcs.C: use LyXRow::end_
2982
2983         * lyxtext.h (singleWidth): add LyXFont parameter
2984
2985         * rowpainter.C:
2986         * text2.C: adjust LyXText::singleWidth() calls
2987
2988         * text.C (redoParagraph): simplify row breaking logic
2989
2990
2991 2003-08-19  André Pönitz  <poenitz@gmx.net>
2992
2993         * funcrequest.C: initialize button_ member
2994
2995         * text3.C:
2996         * rowpainter.[Ch]: interface consolidation
2997
2998 2003-08-18  André Pönitz  <poenitz@gmx.net>
2999
3000         * BufferView.C:
3001         * BufferView_pimpl.C:
3002         * lyxfind.C:
3003         * paragraph_funcs.C:
3004         * rowpainter.C:
3005         * text3.C: remove LyXScreen::draw() and fitCursor calls
3006
3007         * BranchList.h: remove spurious semicolons
3008
3009         * MenuBackend.C: fix branchlist related crash
3010
3011 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3012
3013         * BranchList.[Ch]:
3014         * InsetList.[Ch]:
3015         * LColor.[Ch]:
3016         * LyXAction.C:
3017         * Makefile.am:
3018         * MenuBackend.[Ch]:
3019         * bufferparams.[Ch]:
3020         * factory.C:
3021         * lfuns.h:
3022         * lyxfunc.C:
3023         * text3.C: implements the 'branch inset'
3024         idea. This allows the output of various versions of a document
3025         from a single source version, selectively outputing or suppressing
3026         output of parts of the text.
3027         This implementation contains a 'branch list editor' in a separate
3028         tab of the document settings dialog. Branches are user definable
3029         and have a "display colour" to distinguish them on-screen.
3030
3031         ColorHandler was somewhat cleaned up.
3032         (1) make possible a dynamically growing LColor list by allowing
3033         the graphic context cache to grow along (vector);
3034         (2) eliminate an IMHO unnecessary step in colour allocation.
3035
3036 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3037
3038         * BufferView_pimpl.C: compile fix
3039
3040 2003-08-15  André Pönitz  <poenitz@gmx.net>
3041
3042         * rowpainter.C: remove extra metrics calls
3043
3044         * lyxtext.h: merge the two constructors into a single one,
3045           pass reference to owner's par list
3046
3047         * BufferView_pimpl.C:
3048         * text.C:
3049         * text2.C: adjust
3050
3051 2003-08-15  André Pönitz  <poenitz@gmx.net>
3052
3053         * lyxrow_funcs.[Ch]:
3054         * lyxtext.h:
3055         * paragraph.h:
3056         * paragraph_funcs.C:
3057         * rowpainter.C:
3058         * text.C:
3059         * text2.C:
3060         * text3.C:
3061         * text_funcs.C: split LyXText::rowlist_ into individual
3062         Paragraph::rows_ chunks
3063
3064         * BufferView.[Ch]:
3065         * BufferView_pimpl.[Ch]:
3066         * lyxfind.C:
3067         * lyxtext.h:
3068         * text3.C: remove toggleSelection()
3069
3070 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3071
3072         * bufferlist.C: beautify two alerts (shorter text of buttons)
3073         * buffer.C: Remove redundant ' ' from message
3074         * tabular.h:
3075         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3076         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3077         rename VALIGN_CENTER to VALIGN_MIDDLE
3078
3079 2003-08-11  André Pönitz  <poenitz@gmx.net>
3080
3081         * lyxtext.h (getPar):
3082         * text.C: new function
3083
3084 2003-08-11  André Pönitz  <poenitz@gmx.net>
3085
3086         * Makefile.am:
3087         * tracer.[Ch]: remove unneeded files
3088
3089         * InsetList.[Ch]: remove resizeInsetsLyXText()
3090
3091         * lyxtext.h:
3092         * text.C:
3093         * text2.C:
3094         * text3.C: merge insertParagraphs() and appendParagraph()
3095         remove breakAgain(), update()
3096
3097         * BufferView_pimpl.[Ch]:
3098         * bufferview_funcs.[Ch]:
3099         * lyxfunc.C:
3100         * paragraph.[Ch]:
3101         * rowpainter.C:
3102         * tabular.C: adjust after text & InsetList changes.
3103
3104 2003-08-08  André Pönitz  <poenitz@gmx.net>
3105
3106         * text.C (insertChar, backspace): replace rowlist fiddling
3107         with rebreak of full par
3108
3109         * lyxtext.h:
3110         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3111         checkParagraph, updateInset): removed
3112
3113 2003-08-07  André Pönitz  <poenitz@gmx.net>
3114
3115         * paragraph.C:
3116         * text3.C: merge some LFUN handlers, remove dead code
3117
3118 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3119
3120         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3121
3122 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * text2.C (DEPM): fix part of bug 1255 and 1256
3125
3126 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * BufferView_pimpl.C (workAreaDispatch): change to use
3129         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3130         that are no mouse related.
3131
3132 2003-08-05  André Pönitz  <poenitz@gmx.net>
3133
3134         * BufferView.[Ch]:
3135         * BufferView_pimpl.[Ch]:
3136         * bufferview_funcs.C:
3137         * text2.C:
3138         * text3.C: rip out "deep update"
3139
3140         * textcursor.[Ch] (last_sel_cursor): remove unused member
3141
3142 2003-08-04  André Pönitz  <poenitz@gmx.net>
3143
3144         * BufferView.[Ch]:
3145         * BufferView_pimpl.[Ch]:
3146         * ParagraphParameters.C:
3147         * bufferview_funcs.C:
3148         * lyx_cb.C:
3149         * lyxfind.C:
3150         * lyxfunc.C:
3151         * text.C:
3152         * text2.C:
3153         * text3.C: replace "complicated" BufferView::update(...) calls with
3154         simpler ones.
3155
3156         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3157
3158 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3159
3160         * Makefile.am (lyx_SOURCES): add paper.h
3161
3162 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3163
3164         * Makefile.am: move things around so that both lyx-qt and
3165         lyx-xforms can be built (according to --with-frontend). Then lyx
3166         is a symbolic link to lyx-[firstfrontend]
3167
3168 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3169
3170         * Always use std::endl with lyxerr
3171
3172 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3173
3174         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3175
3176 2003-08-01  André Pönitz  <poenitz@gmx.net>
3177
3178         * BufferView.[Ch]:
3179         * BufferView_pimpl.[Ch]:
3180         * lyxfunc.C:
3181         * text3.C: merge BufferView::repaint() and BufferView::update()
3182
3183 2003-08-01  José Matos  <jamatos@lyx.org>
3184
3185         * buffer.[Ch]: file_format is no longer a buffer data element.
3186
3187 2003-08-01  André Pönitz  <poenitz@gmx.net>
3188
3189         * BufferView.C:
3190         * lyxtext.h:
3191         * text.C:
3192         * text2.C: make redoParagraph more independent of current cursor
3193
3194         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3195         * text.C:
3196         * text2.C: remove unneeded members
3197
3198 2003-07-30  André Pönitz  <poenitz@gmx.net>
3199
3200         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3201
3202         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3203           create a single function...
3204
3205         * paragraph_funcs.C (moveItem): ... here.
3206
3207         * text.C:
3208           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3209
3210 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * LColor.[Ch]: Add comment and greyedout logical colors.
3213
3214 2003-07-30  André Pönitz  <poenitz@gmx.net>
3215
3216         * tabular.C: don't use Assert too heavily. This crashes where it
3217           shouldn't
3218
3219 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3222         is disabled (bug 1232)
3223
3224 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3225
3226         * factory.C: limited 'arg' scope
3227
3228 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3229
3230         * factory.C: fixed Note submenu issues
3231
3232 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3233
3234         * factory.C: submenu for Note/Comment/Greyedout
3235
3236 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * lyx_main.C (LyX):
3239         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3240
3241 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3242
3243         * LaTeXFeatures.C:
3244         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3245         greyedout. Patch provided by Jürgen Spitzmüller.
3246
3247 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * kbmap.C (read): fix error message when reading bind files
3250
3251 2003-07-29  Angus Leeming  <leeming@lyx.org>
3252
3253         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3254         certainly does not do what it purports to do. I am doing it, and
3255         us, a favour by killing it.
3256
3257 2003-07-28  José Matos  <jamatos@lyx.org>
3258
3259         * buffer.C (readBody, do_writeFile):
3260         * paragraph.C(readParagraph): \end_document replaces \the_end.
3261
3262 2003-07-29  André Pönitz  <poenitz@gmx.net>
3263
3264         * BufferView.[Ch]:
3265         * BufferView_pimpl.[Ch]:
3266         * lyxfunc.C:
3267         * text2.C:
3268         * text3.C:
3269         * textcursor.[Ch]: remove toggleToggle & Co
3270
3271 2003-07-28  José Matos  <jamatos@fep.up.pt>
3272
3273         * buffer.C (readParagraph):
3274         * params_func (readParToken, readParagraph):
3275         * paragraph.C (write): \layout -> \begin_layout.
3276
3277 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * lyxlex_pimpl.C (setFile): clean up slightly.
3280
3281         * bufferparams.h: add compressed var
3282
3283         * buffer_funcs.C (readFile): adjust for LyXLex change
3284         (newFile): ditto + simplify
3285
3286         * buffer.C (writeFile): handle writing of compressed files
3287
3288         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3289         Check if the file is compressed and set a bufferparm if so.
3290
3291         * Makefile.am (lyx_LDADD): remove explicit -lz
3292
3293 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3296         makeDocBookFile): put the real LyX version in the first line of
3297         the file
3298
3299         * version.h:
3300         * version.C.in: remove lyx_docversion
3301
3302         * tabular.C (write_attribute): add a template-based version to
3303         write enums properly
3304
3305 2003-07-28  André Pönitz  <poenitz@gmx.net>
3306
3307         * lyxtext.h:
3308         * text.C:
3309         * text2.C:
3310         * text3.C: use doubles again for x-coordinates. They are needed.
3311
3312 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * messages.C (getLocaleDir): use lyx_localedir()
3315
3316         * lyxlex_pimpl.C (setFile): compress stuff
3317
3318         * buffer.C (writeFile): add some compression stuff
3319         (do_writeFile): new func, dont call expliti close... will this
3320         breake anything?
3321
3322         * Makefile.am (lyx_LDADD): add -lz
3323
3324 2003-07-28  José Matos  <jamatos@fep.up.pt>
3325
3326         * buffer.C: increment file format.
3327         * paragraph_funcs (readParagraph, readParToken):
3328         * paragraph.C (readParagraph): add \end_layout.
3329
3330 2003-07-27  Angus Leeming  <leeming@lyx.org>
3331
3332         * Makefile.am: remove special casing for configure-time setting of
3333         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3334
3335         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3336         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3337
3338 2003-07-26  André Pönitz  <poenitz@gmx.net>
3339
3340         * paragraph_func.[Ch]:
3341         * paragraph.C (realizeFont): inline it whereever it is used
3342
3343         * rowpainter.C:
3344         * text.C:
3345         * text2.C:
3346         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3347
3348
3349 2003-07-26  André Pönitz  <poenitz@gmx.net>
3350
3351         *       lyxtext.h:
3352         * text.C:
3353         * text2.C: get rid of LyXText::need_break_row
3354
3355 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * toc.[Ch]: put namespace toc inside namespace lyx
3358
3359         * MenuBackend.C (expandToc2): adjust for lyx::toc
3360         (expandToc): ditto
3361
3362         * lyxfunc.C (dispatch): adjust for lyx::find
3363
3364         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3365         lyx::find instead. Reorganize a bit.
3366         (LyXReplace): rename to replace
3367         (LyXFind): rename to find
3368
3369         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3370         (dispatch): ditto
3371
3372 2003-07-26  André Pönitz  <poenitz@gmx.net>
3373
3374         * text.C (setHeightOfRow): restrict scope of temporary variable
3375
3376         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3377           code (never has been used?)
3378
3379 2003-07-27  Asger Alstrup  <alstrup@local>
3380
3381         * text.C (fill): Optimise algorithm to exploit that we can reuse
3382         the LyXFont for many characters.
3383         (setHeightOfRow): Same thing.
3384         (rowBreakPoint): Same thing.
3385
3386 2003-07-26  Asger Alstrup  <alstrup@local>
3387
3388         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3389
3390         * text.C (singleWidth): Spurious font copying in hot-spot
3391         singleWidth avoided. Reorder tests for arabic for efficiency.
3392
3393         * text.C (fill): handle empty paragraphs better.
3394
3395 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3396
3397         * ispell.C:
3398         * encoding.h: add includes
3399
3400         * lyxrc.C: remove reading of bind files
3401
3402         * lyx_main.C (init): setup bindings and menus only if we have a
3403         gui.
3404
3405         * kbmap.C (read): new method. Do the actual reading of bind
3406         files.
3407
3408         * converter.C (dvipdfm_options):
3409         * bufferparams.C:
3410         * lyxrc.C (read):
3411         (output): adapt PAPER_* enums.
3412
3413         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3414
3415         * bufferparams.h: remove paper-related enums from there
3416
3417         * paper.h: New file. A trivial header file to hold paper-related
3418         enums. It should later expand to contain many paper-related
3419         horrors access.
3420
3421         * lyxrc.C: declare extern displayTranslator
3422
3423 2003-07-27  José Matos  <jamatos@fep.up.pt>
3424
3425         * tabular.[Ch] (linuxdoc): add support for tables and figures
3426         (linuxdoc).
3427
3428 2003-07-27  José Matos  <jamatos@fep.up.pt>
3429
3430         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3431         consistency in both functions.
3432         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3433
3434 2003-07-26  Asger Alstrup  <alstrup@local>
3435
3436         * rowpainter.C (paintRows): Change algorithm to work directly on
3437         the insets rather than asking every character in the document
3438         whether its an inset.
3439
3440 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * buffer.C (openFileWrite): factorize some code
3443
3444 2003-07-26  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyx_cb.C:
3447         * lyx_main.[Ch]: replace occurances of system_tempdir with
3448         os::getTmpDir().
3449
3450 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * rename Inset to InsetOld
3453
3454 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3455
3456         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3457         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3458         which I think is a bit clearer. EDIT is gone, since it was
3459         premature optimisation, and broken for mathed anyway.
3460         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3461         with cursor positioning in insets as well (math insets still do not
3462         work, but that's a different story anyway.) It mysteriously
3463         crashes sometimes with undo in the first paragraph, but I'm fairly
3464         confident that this is a compiler bug.
3465
3466 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3467
3468         * paragraph.C (Paragraph): adjust for new clone return type
3469         (operator==): ditto
3470         (copyIntoMinibuffer): ditto
3471
3472 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3473
3474         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3475         by not having a special case, and always doing a full rebreak of
3476         the document after undo.
3477
3478 2003-07-23  Angus Leeming  <leeming@lyx.org>
3479
3480         * factory.C (createInset): InsetExternal::setParams now takes a
3481         Buffer const * arg.
3482
3483 2003-07-23  Angus Leeming  <leeming@lyx.org>
3484
3485         * factory.C (createInset): changed interface to the external and
3486         graphics mailers' string2params functions.
3487
3488 2003-07-23  Angus Leeming  <leeming@lyx.org>
3489
3490         * factory.C (createInset): pass a
3491         Buffer const * parameter to InsetExternalMailer's string2params.
3492
3493 2003-07-22  John Levon  <levon@movementarian.org>
3494
3495         * Thesaurus.h: include the right aiksaurus header
3496
3497 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3498
3499         * MenuBackend.C (expand): check menu shortcuts unconditionally
3500
3501 2003-07-21  Angus Leeming  <leeming@lyx.org>
3502
3503         * factory.C (createInset): pass a
3504         buffer_path parameter to InsetGraphicsMailer's string2params.
3505
3506 2003-07-21  Angus Leeming  <leeming@lyx.org>
3507
3508         * BufferView_pimpl.C (buffer):
3509         * buffer.C (d-tor):
3510         * lyx_main.C (LyX):
3511         * lyxfunc.C (dispatch):
3512         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3513         rather than the grfx shortcut.
3514
3515 2003-07-21  André Pönitz  <poenitz@gmx.net>
3516
3517         * rowpainter.C: remove unused variables
3518
3519         * tabular_funcs.C:
3520         * tabular_funcs.h: move to tabular.C
3521         * Makefile.am: adjust
3522
3523         * tabular.[Ch]: basic optical cleaning
3524
3525         * author.h: pass references, not values
3526
3527 2003-07-18  André Pönitz  <poenitz@gmx.net>
3528
3529         * lyxtext.h:
3530         * metricsinfo.C:
3531         * metricsinfo.h:
3532         * rowpainter.C:
3533         * text.C:
3534         * text2.C:
3535         * text3.C: two-phase drawing for InsetText and InsetTabular
3536         some float -> int changes.
3537
3538 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyx_main.C: fix the fix
3541
3542 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3543
3544         * lyx_main.C: fix a crash in batch mode if no files specified
3545         * converter.C: ws
3546
3547 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * format.[Ch] (papersize): moved to BufferParams
3550         * converter.[Ch] (dvips_options): moved to BufferParams
3551         (dvipdfm_options): moved to anon namespace
3552         * bufferparams.[Ch]: added above functions.
3553
3554 2003-07-17  André Pönitz  <poenitz@gmx.net>
3555
3556         * lyxtext.h:
3557         * rowpainter.C:
3558         * text2.C: don't call inset->update() anymore
3559
3560         * metricsinfo.[Ch]: add convenience constructor
3561
3562 2003-07-16  André Pönitz  <poenitz@gmx.net>
3563
3564         * lyxcursor.[Ch]:
3565         * lyxfunc.[Ch]:
3566         * text.C:
3567         * text2.C: replace the LyXCursor::irow_ member with
3568          on-demand computation of the value
3569
3570 2003-07-16  John Levon  <levon@movementarian.org>
3571
3572         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3573
3574 2003-07-15  André Pönitz  <poenitz@gmx.net>
3575
3576         * text.C:
3577         * text2.C: remove no more needed refresh_row
3578
3579 2003-07-15  André Pönitz  <poenitz@gmx.net>
3580
3581         * lyxtext.h:
3582         * rowpainter.C:
3583         * text2.C:
3584         * text3.C: refresh_status tristate -> need_update bool
3585
3586 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * lyxtext.h (init): remove reinit argument (act as if always true)
3589         * text2.C: adjust to that
3590
3591 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3592
3593         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3594         * text3.C: use it to delete selections in some cases
3595         (bugs 441, 673, 702, 954).
3596
3597 2003-07-14  André Pönitz  <poenitz@gmx.net>
3598
3599         * rowpainter.[Ch]: reduce interface
3600
3601 2003-07-14  André Pönitz  <poenitz@gmx.net>
3602
3603         * BufferView_pimpl.C:
3604         * text2.C: adjust after removing unused BufferView * argument
3605
3606 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * text2.C (init): fix a crash fired on resize
3609
3610 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * buffer.[Ch]: added new closing signal
3613         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3614         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3615         BufferView::Pimpl via the closing the signal
3616
3617 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * buffer.[Ch]: take out all bv-related from buffer
3620         * BufferView.C:
3621         * BufferView_pimpl.[Ch]: connect to new signals
3622         * CutAndPaste.C: removed useless asserts
3623         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3624         * lyxvc.[Ch]:
3625         * vc-backend.[Ch]:
3626         * lyxfunc.C: moved view-related funciontality from vc here
3627         * paragraph.C: removed outdated comments
3628         * text.C: ws
3629
3630 2003-07-10  André Pönitz  <poenitz@gmx.net>
3631
3632         * BufferView_pimpl.C:
3633         * tabular.h:
3634         * tabular_funcs.C:
3635         * text.C:
3636         * text2.C: remove InsetText::InnerCache, clean up consequences
3637
3638 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3639
3640         * ispell.C: fix two typos in error messages
3641
3642 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3643
3644         * Extend Note inset to other forms of annotation like Comment
3645         and Greyedout. Right button click gives dialog.
3646
3647         Files modified or added (+):
3648
3649         * insetnote.[Ch]
3650         * FormNote.[Ch]      +
3651         * ControlNote.[Ch]   +
3652         * form_note.fd       +
3653         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3654         frontends/controllers
3655         * xforms/Dialogs.C
3656         * factory.C
3657
3658 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3659
3660         * aspell.C: add missing namespace lyx::support
3661
3662 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * BufferView.[Ch] (newFile): Add
3665         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3666         * LaTeX.[Ch] (message): added this signal and use it
3667         * buffer.[Ch] (busy, message): added these signals and use them
3668         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3669         * converter.C:
3670         * exporter.C:
3671         * format.C:
3672         * importer.C: use buffer signals instead of direct bv calling
3673         * lyx_cb.[Ch] (ShowMessage): removed
3674         * lyx_main.C:
3675         * lyxfunc.C:
3676         * paragraph_funcs.C:
3677         * text2.C: use buffer signals
3678
3679 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * introduce namespace lyx::graphics
3682
3683 2003-07-02  André Pönitz  <poenitz@gmx.net>
3684
3685         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3686
3687 2003-07-01  André Pönitz  <poenitz@gmx.net>
3688
3689         * text.C:
3690         * text2.C:
3691         * text3.C:
3692         * text_funcs.[Ch]:
3693         * textcursor.h:
3694         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3695           text*.C to text_func.C
3696
3697 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * introduce namespace lyx::support
3700
3701 2003-06-30  André Pönitz  <poenitz@gmx.net>
3702
3703         * Chktex.C:
3704         * funcrequest.C:
3705         * lyxtext.h:
3706         * text.C: re-enable --with-included-string
3707
3708 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * textcursor.C: add <config.h>
3711
3712         * text.C (getWord): remove const from word_location arg
3713
3714         * lyxvc.C (getLogFile): fix const type order
3715
3716         * lyxtext.h: remove const from word_location arg, add arg name
3717
3718         * lyxlayout.h: currect type on labeltype.
3719
3720         * importer.C: correct \file
3721
3722         * converter.C (intToFormat): use std:: on ret val, ws changes
3723
3724         * bufferlist.h: correct \file
3725
3726         * buffer.C (makeLinuxDocFile): fix const type order
3727         (makeDocBookFile): ditto
3728         (fillWithBibKeys): use std:: on stdlib args.
3729
3730         * CutAndPaste.C: fix authors.
3731         (availableSelections): use std:: on return vector
3732
3733 2003-06-27  André Pönitz  <poenitz@gmx.net>
3734
3735         * BufferView_pimpl.C:
3736         * bufferview_funcs.C:
3737         * lyxcursor.C:
3738         * lyxcursor.h:
3739         * lyxfunc.C:
3740         * lyxtext.h:
3741         * rowpainter.C:
3742         * text.C:
3743         * text2.C:
3744         * text3.C: remove LyXCursor::row_ member
3745
3746         * lyxtext.h:
3747         * text.C: rename fullRebreak() to partialRebreak() and implement
3748           a fullRebreak() that really bereks fully
3749
3750         * textcursor.h: new struct for cursor-related data
3751
3752 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3753
3754         * lyx_main.C (LyX): get full path of document loaded on the
3755         command line
3756
3757 2003-06-26  André Pönitz  <poenitz@gmx.net>
3758
3759         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3760           remove unused/broken operator>,<,>=.
3761
3762         *       text.C: remove only use of broken operator<= in an Assert().
3763
3764 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3765
3766         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3767         moved errorlist_.clear to showErrorList
3768
3769 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * converter.C (scanLog, runLaTeX):
3772         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3773         move the bv->showErrorList call to the callers
3774         * lyxfunc.C: i.e. here...
3775         * text2.C: and here
3776         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3777         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3778         namespace, the second to...
3779         * buffer_funcs (BufferFormat, parseErrors): added
3780         * errorlist.C (ErrorList(TeXErrors const &)): removed
3781
3782 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3783
3784         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3785
3786 2003-06-24  "Garst R. Reese" <reese@isn.net>
3787
3788         * debug.C: fix typo
3789
3790 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3791
3792         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3793
3794         * version.C.in: change docversion to 1.4
3795
3796 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * buffer.C: fix a bug just introduced
3799
3800 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3801
3802         * buffer.[Ch]: added the parseError signal and use it, removed
3803         sgmlError
3804         * BufferView.[Ch] (addError): moved to ...
3805         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3806         to the Buffer::parseError signal to catch (guess what) parse errors
3807         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3808
3809 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3812         ability to create a buffer and to return an existing one from
3813         the list. Moved these functions to...
3814         * buffer_funcs.[Ch]: added
3815         * BufferView.[Ch] (loadLyXFile): added
3816         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3817         job removed from bufferlist::loadLyXFile.
3818         * buffer.C (setReadOnly): make it work without view
3819         (i.e added an if (users))
3820
3821 2003-06-19  Angus Leeming  <leeming@lyx.org>
3822
3823         * lfuns.h:
3824         * LyXAction.C (init):
3825         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3826         with LFUN_DIALOG_SHOW <name> <data>.
3827
3828 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3829
3830         * CutAndPaste.C (availableSelections): small compilation fix for
3831         ancient (gcc 2.9x) compilers
3832
3833 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * text3.C (cursorNext): add tmp var
3836
3837         * text2.C (updateCounters): for function calling out of for clause
3838         (replaceSelectionWithString): ditto
3839         (insertStringAsParagraphs): ditto
3840         (getColumnNearX): add tmp var
3841         (setCursorFromCoordinates): add tmp var
3842         (cursorDownParagraph): add tmp var
3843         (deleteEmptyParagraphMechanism): add tmp var
3844
3845         * text.C (insertChar): add tmp var
3846
3847         * rowpainter.C (paintDepthBar): add tmp var
3848
3849         * CutAndPaste.C (availableSelections): potentially check all
3850         paragraphs in a cut to fill the shown strings.
3851
3852 2003-06-18  André Pönitz  <poenitz@gmx.net>
3853
3854         * kbmap.[Ch]: use vector<> instead of list<>
3855
3856 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3857
3858         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3859         pasteSelection with index
3860
3861         * text2.C (pasteSelection): modify, call pasteSelection with index
3862
3863         * paragraph.C (asString): reimplement version with no interval to
3864         call the one with interval.
3865
3866         * lyxtext.h: add index arg to pasteSelection
3867
3868         * MenuBackend.C (MenuItem): handle PasteRecent
3869         (Menu::read::Menutags): add md_pasterecent
3870         (read): handle it
3871         (expandPasteRecent): new function
3872         (expand): use it
3873
3874         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3875
3876         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3877         the limited stack
3878         (availableSelections): new function
3879
3880 2003-06-17  Angus Leeming  <leeming@lyx.org>
3881
3882         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3883
3884 2003-06-17  Angus Leeming  <leeming@lyx.org>
3885
3886         * lfuns.h:
3887         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3888
3889         * lyxfunc.C (dispatch): invoke it.
3890
3891 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3892
3893         * iterators.C (operator++, ParPosition): reintroduce some
3894         const_cast for the benefit of older compilers.
3895
3896 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3897
3898         * text3.C (dispatch): do not modify clipboard when doing
3899         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3900         LFUN_DELETE_SKIP on a selection selection
3901
3902 2003-06-16  André Pönitz  <poenitz@gmx.net>
3903
3904         * BufferView.C:
3905         * buffer.C:
3906         * buffer.h:
3907         * paragraph.C:
3908         * tabular.[Ch]: IU of clone() and getLabelList();
3909
3910 2003-06-13  André Pönitz  <poenitz@gmx.net>
3911
3912         * tabular.h: compactification
3913
3914 2003-06-12  André Pönitz  <poenitz@gmx.net>
3915
3916         * tabular.C:
3917         * tabular.h:
3918         * tabular_funcs.h: some renaming plus whitespace
3919
3920 2003-06-12  André Pönitz  <poenitz@gmx.net>
3921
3922         * BufferView.C:
3923         * BufferView_pimpl.C:
3924         * CutAndPaste.C:
3925         * buffer.C:
3926         * iterators.[Ch]:
3927         * lyxfunc.C:
3928         * text.C:
3929         * toc.C: Return a Paragraph & for ParIterator::operator*()
3930
3931 2003-06-11  John Levon  <levon@movementarian.org>
3932
3933         * lyx_main.C:
3934         * ToolbarBackend.h:
3935         * ToolbarBackend.C: add "Toolbars" section and
3936         put the flags there
3937
3938 2003-06-10  Angus Leeming  <leeming@lyx.org>
3939
3940         * lfuns.h:
3941         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3942
3943         * lyxfunc.C (dispatch): invoke it.
3944
3945 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * main.C: protect <ios> with HAVE_IOS
3948         (main): protect sync_with_stdio with HAVE_IOS
3949
3950 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3951
3952         * text2.C (cutSelection): adjust
3953         (pasteSelection): adjust
3954
3955         * messages.C: handle get of empty string
3956
3957         * main.C (main): use sync_with_stdio(false)
3958
3959         * lyxfunc.C (dispatch): adjust
3960
3961         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3962         (WriteAs): remove unneeded BufferView arg.
3963
3964         * bufferparams.h: use correct types on papersize, papersize2 and
3965         paperpackage.
3966
3967         * bufferparams.C (readToken): adjust for type
3968         (writeLaTeX): add missing cases to switch.
3969
3970         * bufferlist.C (quitWriteBuffer): adjust
3971         (close): adjust
3972
3973         * buffer.C (asciiParagraph): remove some commented code.
3974
3975         * CutAndPaste.C: remove current_view extern variable.
3976         (cutSelection): add BufferParams arg.
3977         (eraseSelection): add BufferParams arg.
3978         (pasteSelection): add Buffer const & arg
3979
3980 2003-06-07  John Levon  <levon@movementarian.org>
3981
3982         * buffer.C:
3983         * paragraph_funcs.C:
3984         * paragraph_pimpl.C:
3985         * text.C:
3986         * text2.C:
3987         * paragraph.h:
3988         * paragraph.C: allow InsetERT to freely space lines,
3989         and some consolidation of code
3990
3991 2003-06-06  José Matos  <jamatos@fep.up.pt>
3992
3993         * buffer.C (makeDocBookFile): fix bug #821
3994
3995 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3998
3999 2003-06-04  Angus Leeming  <leeming@lyx.org>
4000
4001         * buffer.C: bump format to 224.
4002
4003 2003-06-05  André Pönitz  <poenitz@gmx.net>
4004
4005         * text2.C (redoParagraphs): remove two const_cast<>
4006
4007 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4008
4009         * ParagraphList.h: remove last remnants of NO_STD_LIST
4010
4011 2003-06-03  Angus Leeming  <leeming@lyx.org>
4012
4013         * factory.C (createInset): small change to the way InsetExternal's params
4014         are set.
4015
4016 2003-06-04  André Pönitz  <poenitz@gmx.net>
4017
4018         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4019
4020         * paragraph_pimpl.h:
4021         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4022
4023         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4024
4025         * undo_funcs.C: make some simple cases of undo work again
4026
4027 2003-06-03  John Levon  <levon@movementarian.org>
4028
4029         * ispell.C: HPUX doesn't have sys/select.h
4030         (from Albert Chin)
4031
4032 2003-06-03  John Levon  <levon@movementarian.org>
4033
4034         * CutAndPaste.C: update tabular and include inset
4035         buffer references
4036
4037         * buffer.h:
4038         * paragraph.h:
4039         * paragraph.C: remove owningBuffer(), don't pass Buffer
4040         to clone()
4041
4042         * factory.C: insetGraphicsParams changed
4043
4044 2003-06-02  John Levon  <levon@movementarian.org>
4045
4046         * LyXAction.C:
4047         * factory.C:
4048         * lfuns.h:
4049         * lyxfunc.C:
4050         * text3.C: remove insetparent
4051
4052 2003-06-02  John Levon  <levon@movementarian.org>
4053
4054         * buffer.h:
4055         * buffer.C: fix inset_iterator.end(), move out of line
4056         (bug 1149)
4057
4058 2003-06-01  John Levon  <levon@movementarian.org>
4059
4060         * text3.C: use a proper cut/paste when doing inset
4061         insert (from Jürgen Spitzmüller)
4062
4063 2003-06-01  John Levon  <levon@movementarian.org>
4064
4065         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4066
4067 2003-05-30  André Pönitz  <poenitz@gmx.net>
4068
4069         * rowpainter.C: unify second drawing phase
4070
4071 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * trans_mgr.C: remove one case of current_view
4074
4075         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4076
4077         * paragraph_funcs.h: remove paragraph.h include
4078
4079         * paragraph.h: delete NO_STD_LIST stuff
4080
4081         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4082
4083         * buffer.h: remove paragraph.h include
4084
4085         * ParagraphList.C: delete file
4086
4087         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4088
4089         * toc.C (getTocList): adjust
4090
4091         * paragraph_pimpl.C (validate): adjust
4092
4093         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4094
4095         * paragraph.C (Paragraph): adjust
4096         (getPositionOfInset): use const_iterator, adjust
4097         (bibitem): use const_iterator, adjust
4098         (setInsetOwner): adjust
4099
4100         * iterators.C (operator++): adjust
4101
4102         * InsetList.[Ch]: Replace selfmade iterator with standard
4103         vector::iterator also introduce const_iterator. Remove getPos,
4104         getInset and setInset from InsetTable. Adjust accordingly.
4105
4106         * BufferView.C (lockInset): adjust
4107         (ChangeInsets): adjust
4108
4109         * tabular.[Ch]: delete commented same_id functions
4110
4111 2003-05-28  John Levon  <levon@movementarian.org>
4112
4113         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4114
4115 2003-05-28  André Pönitz  <poenitz@gmx.net>
4116
4117         * metricsinfo.[Ch]: remove 'fullredraw' member
4118
4119 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4120
4121         * lyxtextclass.C (operator): remove caching.
4122
4123 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * text3.C: adjust
4126
4127         * text2.C (cursorBottom): adjust
4128         (setCounter): use ParagraphList::find, adjust
4129
4130         * text.C (workWidth): use ParagraphList::find, adjust
4131
4132         * lyxcursor.C (LyXCursor): adjust
4133
4134         * buffer.C (inset_iterator): adjust
4135
4136         * ParagraphList.h: make iterator(value_type) private, make
4137         ParagraphList a friend of iterator.
4138
4139         * ParagraphList.C (find): new function
4140
4141         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4142
4143 2003-05-27  André Pönitz  <poenitz@gmx.net>
4144
4145         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4146
4147 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4148
4149         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4150
4151 2003-05-26  John Levon  <levon@movementarian.org>
4152
4153         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4154
4155 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * remove same_id from function signatures, adjust.
4158
4159 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4162
4163         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4164
4165         * paragraph.C (Paragraph): get rid of same_ids parameter
4166
4167         * ParagraphList.C (insert): adjust
4168         (push_back): adjust
4169
4170 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * paragraph_funcs.C (breakParagraph): adjust
4173         (breakParagraphConservative): adjust
4174
4175         * buffer.C (readParagraph): adjust
4176
4177         * ParagraphList.C (insert): take a reference instead of a pointer
4178         (insert): adjust
4179
4180         * paragraph.[Ch] (id): new function
4181
4182         * bufferlist.C (newFile): adjust
4183
4184         * ParagraphList.C (ParagraphList): adjust
4185         (assign): adjust
4186         (push_back): take a reference instead of a pointer.
4187
4188         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4189
4190         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4191         instead.
4192
4193         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4194         set else use old code.
4195
4196         * ParagraphList.C: remove all NO_NEXT code and only compile this
4197         code of NO_STD_LIST is set.
4198
4199 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * BufferView_pimpl.C:
4202         * TextCache.C:
4203         * TextCache.h:
4204         * bufferlist.C:
4205         * errorlist.h:
4206         * format.C:
4207         * format.h:
4208         * graph.C:
4209         * lyxfunc.C:
4210         * lyxrc.C:
4211         * graphics/GraphicsConverter.C:
4212         * graphics/PreviewLoader.C: header adjustment
4213
4214 2003-05-23  Angus Leeming  <leeming@lyx.org>
4215
4216         * LaTeXFeatures.[Ch] (useBabel): new method.
4217         * bufferparams.C (writeLaTeX): use it.
4218
4219 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * ParagraphList.h (set): remove unused function.
4222
4223 2003-05-23  André Pönitz  <poenitz@gmx.net>
4224
4225         * BufferView.C:
4226         * BufferView_pimpl.C:
4227         * buffer.C:
4228         * buffer.h:
4229         * lyxfunc.C:
4230         * undo_funcs.C: setUndo reworked
4231
4232         * iterators.[Ch]: add access to topmost ParagraphList
4233
4234         * lyxtext.[Ch] (workWidth): add a const
4235
4236 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * texrow.[Ch] (increasePos): remove function
4239         * exporter.C (export): removed unused var and outdated comment
4240
4241 2003-05-23  Angus Leeming  <leeming@lyx.org>
4242
4243         * latexrunparams.h: rename fragile as moving_arg.
4244         * paragraph.C (simpleTeXOnePar): ditto.
4245         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4246
4247 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4250         (createUndo): ditto
4251         (textUndoOrRedo): comment out a currently unused var.
4252
4253         * paragraph.h (NO_NEXT): enable NO_NEXT
4254
4255         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4256
4257         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4258
4259         * exporter.C (Export): adjust for removeAutoInsets removal.
4260
4261         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4262
4263         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4264
4265         * BufferView.[Ch] (removeAutoInsets): delete function
4266
4267 2003-05-22  Angus Leeming  <leeming@lyx.org>
4268
4269         * latexrunparams.h: add a free_spacing variable.
4270
4271         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4272         to pass moving_arg, as the data is stored in runparams.fragile.
4273
4274         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4275         to Inset::latexOptional or to simpleTeXOnePar.
4276
4277         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4278         free_spacing arg to Inset::latexOptional.
4279
4280         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4281         free_spacing arg.
4282
4283 2003-05-22  Angus Leeming  <leeming@lyx.org>
4284
4285         * latexrunparams.h: add fragile and use_babel variables.
4286
4287         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4288         * buffer.C (makeLaTeXFile): store this returned value in
4289         runparams.use_babel, thus passing it to the inset::latex methods.
4290
4291         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4292         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4293
4294         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4295         longer has a fragile arg, as it is stored in runparams.fragile.
4296
4297         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4298         moving_arg parameter as the data is stored in runparams.fragile.
4299
4300         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4301         a fragile parameter as the data is stored in runparams.fragile.
4302
4303 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4306
4307 2003-05-22  Angus Leeming  <leeming@lyx.org>
4308
4309         * latexrunparams.h: add a 'bool nice' which defaults to false.
4310
4311         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4312         now encapsulated within runparams.
4313
4314         * bufferlist.C (updateIncludedTeXfiles):
4315         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4316
4317 2003-05-22  Angus Leeming  <leeming@lyx.org>
4318
4319         * latexrunparams.h: new file containing struct LatexRunParams.
4320         * Makefile.am: add new file.
4321
4322         * LaTeX.[Ch] (c-tor, run):
4323         * buffer.[Ch] (makeLaTeXFile):
4324         * bufferlist.[Ch] (updateIncludedTeXfiles):
4325         * converter.C (convert, scanLog):
4326         * converter.[Ch] (runLaTeX):
4327         * exporter.C (Export):
4328         * paragraph.[Ch] (simpleTeXOnePar):
4329         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4330         * paragraph_funcs.[Ch] (latexParagraphs):
4331         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4332         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4333         pass around a LatexRunParams parameter.
4334
4335 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * paragraph.[Ch]: remove unused constructor
4338
4339         * ParagraphList.C (erase): new function, taking two iterators
4340
4341 2003-05-22  André Pönitz  <poenitz@gmx.net>
4342
4343         * undo_funcs.C: remove duplicated code
4344
4345         * iterator.[Ch]: operator=
4346
4347 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * tabular.C (SetMultiColumn): ws changes
4350
4351         * rowpainter.C (paintFirst): get rid of a ->previous
4352
4353         * lyx_cb.C (getPossibleLabel): parlist simplification
4354
4355         * BufferView.C (ChangeInsets): simplify slightly.
4356
4357 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4358
4359         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4360         * lfuns.h: new LFUN_SPACE
4361         * lyxfunc.C: protected space has a new lfun
4362         * paragraph_funcs.C: read new space insets
4363         * text3.C:
4364         * factory.C: handle new space insets
4365
4366 2003-05-22  André Pönitz  <poenitz@gmx.net>
4367
4368         * BufferView.C:
4369         * BufferView_pimpl.C:
4370         * buffer.[Ch]:
4371         * lyxfunc.C:
4372         * undo_funcs.C: return a ParIterator from getParFromID.
4373
4374         * iterators.[Ch]: add two const's
4375
4376 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * toc.C (getTocList): adjust
4379
4380         * iterators.[Ch]: rework for parlist
4381
4382         * buffer.C (par_iterator_begin): adjust
4383         (par_iterator_end): adjust
4384
4385         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4386
4387         * BufferView.C (removeAutoInsets): adjust
4388         (ChangeInsets): adjust
4389
4390 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * text.C (top_y): fix bug 1110
4393
4394 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * errorlist.[Ch]: added
4397         * buffer.C:
4398         * BufferView.[Ch]:
4399         * BufferView_pimpl.C:
4400         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4401         instead
4402
4403 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * Makefile.am: ensure that lyx is relinked upon changes to the
4406         various "convenience" libs.
4407
4408 2003-05-20  Angus Leeming  <leeming@lyx.org>
4409
4410         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4411         files are compiled in alphabetical order again.
4412
4413         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4414
4415 2003-05-19  Angus Leeming  <leeming@lyx.org>
4416
4417         * gettext.[Ch]: remove "char const * _(char const *)".
4418
4419 2003-05-19  André Pönitz  <poenitz@gmx.net>
4420
4421         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4422
4423         * Makefile.am:
4424         * BufferView.C:
4425         * DepTable.h:
4426         * LaTeXFeatures.C:
4427         * buffer.C:
4428         * lyxfont.C:
4429         * lyxlex.h:
4430         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4431
4432 2003-05-19  André Pönitz  <poenitz@gmx.net>
4433
4434         * buffer.C:
4435         * lyxlayout.[Ch]:
4436         * lyxtextclass.[Ch]:
4437         * paragraph.C:
4438         * paragraph_funcs.[Ch]:
4439         * text2.C:
4440         * text3.C: more insetenv work
4441
4442 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * ParagraphParameters.C (params2string): small bug fixed
4445
4446 2003-05-16  André Pönitz  <poenitz@gmx.net>
4447
4448         * debug.C:
4449         * bufferview_funcs.C: patch from Kornel Benko to prevent
4450           crash when _(...) is called twice in a statement
4451
4452 2003-05-16  André Pönitz  <poenitz@gmx.net>
4453
4454         * BufferView.C:
4455         * lyxfunc.C:
4456         * text.C:
4457         * text2.C:
4458         * text3.C:
4459         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4460
4461 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * lyx_main.C (init): remove spurious static_cast
4464
4465 2003-05-14  André Pönitz  <poenitz@gmx.net>
4466
4467         * BufferView.C: fix format string
4468
4469 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * BufferView.[Ch] (insertErrors): removed
4472         * BufferView.[Ch] (showErrorList): added
4473         * buffer.C (runChkTeX):
4474         * converter.C (scanLog): call showErrorList instead of inserterrors
4475
4476 2003-05-13  André Pönitz  <poenitz@gmx.net>
4477
4478         * BufferView_pimpl.C:
4479         * buffer.C:
4480         * bufferview_func.C:
4481         * MenuBackend.C:
4482         * lyxfunc.C:
4483         * lyxrc.C:
4484         * tex-accent.C:
4485         * text3.C:
4486         * toc.C:
4487         * tabular_funcs.h: tostr() from its own header
4488
4489         * ParagraphParameters.C:
4490         * ToolbarBackend.C:
4491         * bufferparams.C:
4492         * format.C:
4493         * lyxlex_pimpl.C:
4494         * text3.C: STRCONV()
4495
4496 2003-05-12  André Pönitz  <poenitz@gmx.net>
4497
4498         * BufferView.C:
4499         * BufferView_pimpl.C:
4500         * CutAndPaste.C:
4501         * LaTeX.C:
4502         * LaTeXFeatures.C:
4503         * ParagraphParameters.C:
4504         * buffer.C:
4505         * bufferlist.C:
4506         * bufferparams.C:
4507         * bufferview_funcs.C:
4508         * converter.C:
4509         * counters.C:
4510         * debug.C:
4511         * exporter.C:
4512         * format.C:
4513         * importer.C:
4514         * lyx_cb.C:
4515         * lyx_main.C:
4516         * lyxfont.C:
4517         * lyxfunc.C:
4518         * lyxvc.C:
4519         * paragraph.C:
4520         * paragraph_funcs.C:
4521         * tabular.C:
4522         * tabular_funcs.C:
4523         * text2.C:
4524         * text3.C:  boost::format -> bformat  all over the place
4525
4526
4527 2003-05-09  André Pönitz  <poenitz@gmx.net>
4528
4529         * LColor.[Ch]: Pimpl the #include <map> away
4530
4531 2003-05-09  John Levon  <levon@movementarian.org>
4532
4533         * bufferlist.C: never remove emergency saves
4534
4535 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * Makefile.am: better lib building
4538
4539 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4542         instead.
4543         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4544         (simpleTeXSpecialChars): adjust
4545         (simpleTeXSpecialChars): adjust
4546         * paragraph.C (simpleTeXOnePar): adjust
4547         * buffer.C (makeLaTeXFile): adjust
4548
4549         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4550
4551         * text2.C (changeDepth): parlist cleanup
4552         (getColumnNearX): ditto
4553
4554         * rowpainter.C (getLabelFont): parlist cleanup
4555
4556         * bufferlist.C (newFile): parlist cleanup
4557
4558         * CutAndPaste.C (eraseSelection): parlist cleanup
4559
4560         * BufferView_pimpl.C (trackChanges): parlist cleanup
4561         (dispatch): ditto
4562
4563         * BufferView.C (lockInset): parlist cleanup.
4564         (ChangeInsets): ditto
4565
4566 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * CutAndPaste.h: Update file header.
4569
4570         * CutAndPaste.C: Update file header.
4571         Store the parts cut out of the Document in a limited_stack.
4572         (copySelection): adjust
4573         (pasteSelection): new function, takes the index in the limited stack.
4574         (nrOfParagraphs): adjust
4575         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4576         simplify error inset insertion.
4577         (checkPastePossible): adjust
4578
4579 2003-05-06  John Levon  <levon@movementarian.org>
4580
4581         * text2.C: don't cast wrap inset to float
4582
4583 2003-05-05  André Pönitz  <poenitz@gmx.net>
4584
4585         * iterator.C:
4586         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4587
4588         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4589           few naked Paragraph *.
4590
4591 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4592
4593         * bufferparams.C: Output warning if a document with missing
4594         TeX document class is loaded
4595         * exporter.C: Disable TeX exports if the document class is missing
4596         * lyxtextclass.C:
4597         * lyxtextclass.h:
4598         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4599         isTeXClassAvailable()
4600
4601 2003-05-03  John Levon  <levon@movementarian.org>
4602
4603         * BufferView.h:
4604         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4605         explicit cursor show/hide
4606
4607         * BufferView_pimpl.h:
4608         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4609         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4610
4611         * lyxfunc.C: hide cursor before dispatching.
4612
4613         * lyx_cb.C:
4614         * lyxfind.C:
4615         * text.C:
4616         * text3.C: remove explicit cursor hides
4617
4618 2003-05-02  André Pönitz  <poenitz@gmx.net>
4619
4620         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4621
4622         * undo_funcs.C:
4623         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4624           linked lists
4625
4626         * text2.C: tiny whitespace
4627
4628 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * undo_funcs.C: almost only ws changes.
4631
4632         * ParagraphList.C (splice): just return if pl is empty.
4633
4634 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * ParagraphList.C (splice): new function.
4637
4638         * CutAndPaste.C (pasteSelection): use it
4639
4640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * CutAndPaste.C (pasteSelection): remove the last next and
4643         previous from this file.
4644
4645 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * CutAndPaste.C (pasteSelection): more clean up, user proper
4648         ParagraphList functions for pasteing.
4649
4650         * ParagraphList.C (insert): new function, three arg insert
4651
4652 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * ParagraphList.C (insert): new function, three arg insert
4655
4656         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4657         not on paragraphs.
4658
4659 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4662
4663 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4666
4667 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4670         (copySelection): clean up a bit.
4671         (pasteSelection): use make_pair
4672
4673         * ParagraphList.C (ParagraphList): implement copy constructor
4674         (operator=): implement, base on copy constructor.
4675         (assign): new func
4676
4677         * paragraph.C (erase): return a bool
4678
4679         * paragraph_pimpl.C (erasePos): remove function, move contents...
4680         (erase): ... here. Return a bool.
4681         (erase): call erase instead of erasePos.
4682
4683 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * ParagraphList.h: define PitPosPair
4686         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4687         ParagraphList, fix a bug on pasting multiple pars
4688         * text2.C: change interface to C&P
4689
4690 2003-04-30  André Pönitz  <poenitz@gmx.net>
4691
4692         * undo_func.C: revert part of yesterday's patch 2
4693
4694 2003-04-30  John Levon  <levon@movementarian.org>
4695
4696         * LColor.C: s/tabular/table/
4697
4698 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * text3.C (dispatch): do not convert iterator -> pointer
4701         * undo_funcs.C (setCursorParUndo): ditto
4702         * text_funcs.C (transposeChars): ditto
4703
4704         * text2.C (setLayout): ws changes only
4705
4706         * text.C (breakParagraph): do not convert iterator -> pointer
4707         (insertChar): ditto
4708         (acceptChange): ditto
4709         (rejectChange): ditto
4710         (changeCase): ditto
4711         (Delete): ditto
4712         (backspace): ditto
4713
4714         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4715         pointer
4716
4717 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * text3.C (gotoInset): YABG (yet another bad getChar)
4720
4721 2003-04-29  André Pönitz  <poenitz@gmx.net>
4722
4723         * paragraph.h: make operator= private unimplemented as long as
4724           it is unusable
4725
4726         * ParagraphList.C: whitespace
4727
4728         * paragraph.[Ch]:
4729         * paragraph_pimpl.[Ch]:
4730         * paragraph_funcs.C:
4731         * CutAndPaste.C:
4732         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4733
4734         * text2.C:
4735           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4736
4737 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4740         * paragraph.[Ch] (erase):
4741         * paragraph_pimpl.[Ch] (erase): change return type and value
4742         * text2.C (cutSelection): some rework
4743
4744 2003-04-28  John Levon  <levon@movementarian.org>
4745
4746         * bufferlist.C: changes for unsaved changes dialog
4747
4748 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * bufferlist.C (newFile): set language (messages_) for new
4751         documents also.
4752
4753         * buffer.C (readFile): ws changes only.
4754
4755 2003-04-28  André Pönitz  <poenitz@gmx.net>
4756
4757         * undo_funcs.C:
4758         * lyxfunc.C:
4759         * buffer.[Ch]:
4760         * BufferView_pimpl.C:
4761         * BufferView.C: getParFromID related ParagraphList::iterator changes
4762
4763 2003-04-28  André Pönitz  <poenitz@gmx.net>
4764
4765         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4766           Changes
4767
4768 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * messages.C: remove one more localedir class variable.
4771
4772 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * messages.C (getLocaleDir): singleton generation function
4775         (Pimpl): use it.
4776         (Messages): add a default constructor.
4777
4778         * main.C (main): do not setup localedir here, do not call
4779         gettext_init.
4780
4781         * gettext.C (_): use it.
4782         (gettext_init): delete funciton
4783
4784 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * gettext.C (getLyXMessages): new singleton generating function.
4787
4788         * buffer.C (updateDocLang): adjust
4789
4790         * Makefile.am (messages.o): add target
4791         (main.o): remove target
4792
4793 2003-04-27  John Levon  <levon@movementarian.org>
4794
4795         * bufferlist.C:
4796         * lyx_cb.C:
4797         * lyxfunc.C:
4798         * lyxvc.C: specify cancel button in Alert::prompt
4799
4800 2003-04-26  John Levon  <levon@movementarian.org>
4801
4802         * text3.C:
4803         * lyxfunc.C:
4804         * lfuns.h:
4805         * LyXAction.C: add LFUN_INSET_SETTINGS
4806
4807         * lyxfunc.C: don't enable tabular-feature when there's
4808         just any locking inset
4809
4810 2003-04-26  John Levon  <levon@movementarian.org>
4811
4812         * bufferlist.C: re-add Cancel to buffer close question
4813
4814         * lyxfunc.C: fix import UI a bit
4815
4816 2003-04-25  John Levon  <levon@movementarian.org>
4817
4818         * gettext.C: remove the broken asserts for now
4819
4820 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * messages.C: make case where setlocale cannot comply work better.
4823
4824         * buffer.C (updateDocLang): new function
4825         (changeLanguage): use it
4826         (readFile): use it
4827
4828         * text2.C (setCounter): use B_ a bit.
4829
4830         * lyxlayout.C (Read): be sure to trim the label strings.
4831
4832         * messages.C (Messages): fix typo in comment
4833
4834         * buffer.C (readFile): set message_ after file is loaded.
4835         (makeDocBookFile): remove double return
4836         (changeLanguage): reset message_ upon language change.
4837         (B_): new func, use this to get translated buffer strings.
4838
4839         * main.C: add myself and Jean Marc as authors.
4840
4841 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * messages.[hC]: pimplify Messages, and three different pimpls to be
4844         used in different circumstances.
4845
4846         * gettext.[Ch]: change for use with new message code.
4847
4848 2003-04-24 André Pönitz <poenitz@gmx.net>
4849
4850         * factory.C: support for eqref
4851
4852 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * messages.[Ch]: add missing char
4855
4856         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4857
4858         * messages.[Ch]: New files
4859
4860 2003-04-18  John Levon  <levon@movementarian.org>
4861
4862         * BufferView.h:
4863         * BufferView.C:
4864         * BufferView_pimpl.C:
4865         * lfuns.h:
4866         * LyXAction.C:
4867         * lyxtext.h:
4868         * text2.C: remove layout-copy/paste (bug 778)
4869
4870 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4873
4874 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4877         if they succeed. Act accordingly.
4878
4879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * text2.C (setCharFont): adjust
4882         (setCounter): adjust
4883         (insertStringAsLines): adjust
4884
4885         * text.C (leftMargin): adjust
4886         (setHeightOfRow): adjust
4887
4888         * rowpainter.C (paintFirst): adjust
4889         (paintLast): adjust
4890
4891         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4892         (outerHook): ditto
4893         (isFirstInSequence): ditto
4894         (getEndLabel): ditto
4895         (outerFont): adjust
4896
4897         * paragraph.C (getParLanguage): comment out some hard stuff.
4898
4899         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4900         (sgmlError): ditto
4901         (simpleDocBookOnePar): ditto
4902         (makeDocBookFile): use ParagraphList::iterator
4903
4904         * CutAndPaste.C (pasteSelection): adjust
4905
4906 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * text2.C (getFont): adjust
4909         (getLayoutFont): adjust
4910         (getLabelFont): adjust
4911
4912         * paragraph_funcs.C (TeXOnePar): adjust
4913
4914         * buffer.C (simpleLinuxDocOnePar): adjust
4915         (simpleDocBookOnePar): adjust
4916
4917         * CutAndPaste.C (pasteSelection): adjust
4918
4919         * BufferView.C (getEncoding): adjust
4920
4921         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4922
4923 2003-04-16  John Levon  <levon@movementarian.org>
4924
4925         * lyxfind.C: use parlist stuff for search/changes
4926
4927 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4930
4931         * text2.C (deleteEmptyParagraphMechanism): adjust
4932
4933         * text2.[Ch] (ownerParagraph): delete func (both of them
4934
4935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4938
4939 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * ParagraphList.C: prepare for NO_NEXT
4942
4943 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * text2.C (getFont): adjust
4946         (getLayoutFont): adjust
4947         (getLabelFont): adjust
4948
4949         * paragraph.C (getFont): adjust
4950         (getLabelFont): adjust
4951         (getLayoutFont): adjust
4952
4953         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4954
4955 2003-04-15  John Levon  <levon@movementarian.org>
4956
4957         From Angus Leeming
4958
4959         * lyx_main.C: handle Include in .ui files
4960
4961 2003-04-15  John Levon  <levon@movementarian.org>
4962
4963         * MenuBackend.C: make the doc files length shorter
4964
4965         * ToolbarBackend.h:
4966         * ToolbarBackend.C: handle toolbar placement flags,
4967         Minibuffer
4968
4969 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4972         adjust
4973
4974         * paragraph_funcs.C (TeXOnePar): adjust
4975
4976         * paragraph.C (getLabelFont): add outerfont arg, adjust
4977         (getLayoutFont): ditto
4978         (simpleTeXOnePar): adjust
4979
4980         * paragraph_pimpl.C (realizeFont): delete func
4981
4982 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4985         row argument, constify cur argument.
4986
4987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * text2.C (getFont): adjust
4990         (getLayoutFont): adjust
4991         (getLabelFont): adjust
4992
4993         * paragraph_funcs.C (TeXOnePar): adjust
4994         (outerFont): new func...
4995         (realizeFont): ...moved out from here, changed this to facilitate
4996         transition
4997
4998         * paragraph.C (getFont): take outerfont as arg, adjust
4999         (simpleTeXOnePar): add outerfont arg, adjust
5000
5001         * buffer.C (simpleLinuxDocOnePar): adjust
5002         (simpleDocBookOnePar): adjust
5003
5004         * CutAndPaste.C (pasteSelection): adjust
5005
5006         * BufferView.C (getEncoding): adjust
5007
5008 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * text2.C (setCharFont): adjust
5011         (setCounter): adjust
5012
5013         * text.C (leftMargin): adjust
5014         (setHeightOfRow): adjust
5015
5016         * rowpainter.C (paintFirst): adjust
5017         (paintLast): adjust
5018
5019         * paragraph_pimpl.C (realizeFont): adjust
5020
5021         * paragraph.C (isFirstInSequence): move from here...
5022         * paragraph_funcs.C (isFirstInSequence): ...to here
5023
5024         * paragraph.C (outerHook): move from here...
5025         * paragraph_funcs.C (outerHook): ...to here
5026
5027         * paragraph.C (depthHook): move from here...
5028         * paragraph_funcs.C (depthHook): ...to here
5029
5030         * paragraph.C (getEndLabel): move from here...
5031         * paragraph_funcs.C (getEndLabel): ...to here
5032
5033         * text2.C (realizeFont): move from here...
5034         * paragraph_funcs.C (realizeFont): ...to here
5035
5036 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5039
5040 2003-04-14  Angus Leeming  <leeming@lyx.org>
5041
5042         * LColor.[Ch]: scrap LColor mathcursor.
5043
5044 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * lyxlex.[Ch] (text): delete function
5047         * trans.C (Load): adjust
5048         * paragraph_funcs.C (readParToken): adjust
5049
5050 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5053         vector<char> instead of a char[].
5054
5055         * lyxlex_pimpl.C (getString): adjust
5056         (next): adjust
5057         (lex): use getString
5058         (eatLine): adjust
5059         (nextToken): adjust
5060
5061         * lyxlex.C (text): use pimpl_->getString()
5062         (getBool): ditto
5063         (findToken): ditto
5064
5065 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5066
5067         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5068         (makeFontEntriesLayoutSpecific): temp var for par.size()
5069         (setLayout): temp var for ownerParagraphs().end()
5070         (fullRebreak): temp var for rows().end()
5071         (selectionAsString): temp var for boost::next(startpit), realize
5072         that the while really is a regular for loop.
5073         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5074         setCursor in one place.
5075         (setParagraph): temp vr for ownerParagraphs().end()
5076         (updateCounters): make the while loop a for loop
5077         (cutSelection): temp var for ownerParagraphs().end()
5078         (updateInset): make the do {} while() a regular for loop
5079         (getCursorX): use temp vars
5080         (setCurrentFont): use temp vars
5081         (getColumnNearX): use temp vars
5082
5083 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * text.C (transformChar): use temp var for getChar
5086         (computeBidiTables): use temp var for row->par()
5087         (fill): move temp vars for row->par() and pit->layout() earlier in
5088         the function.
5089         (labelFill): use temp var for row->par()
5090         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5091         asc and desc, realize that pit never changes and that firstpit is
5092         just a duplicate and not needed. Exchange rit->par() with pit in a
5093         lot of places.
5094         (breakAgain): use a temp var for boost::next(rit)
5095         (breakAgainOneRow): ditto
5096         (breakParagraph): use a temp var for rows().begin()
5097         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5098         (cursorRightOneWord): use temp var for cursor.par() and
5099         cursor.pos(), remove usage of tmpcursor.
5100         (cursorLeftOneWord): use temp var for cursor.par() and
5101         cursor.pos() only set cur at end of function.
5102
5103 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * text.C, text2.C: exchange all usage of Paragraph::next with
5106         boost::next(ParagraphList::iterator)
5107
5108         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5109
5110         * text2.C (cursorTop): simplify implementation
5111         (cursorBottom): ditto
5112         (setParagraph): use ParagraphList::iterator
5113         (setCurrentFont): adjust
5114         (getColumnNearX): adjust
5115         (cursorRight): adjust
5116         (cursorLeft): remove usage of Paragraph::previous
5117         (cursorUpParagraph): ditto
5118         (deleteEmptyParagraphMechanism): slight cleanup
5119
5120         * text.C (isBoundary): take a Paragraph const & instead of a
5121         pointer as arg.
5122         (addressBreakPoint): ditto
5123         (leftMargin): remove usage of Paragraph::previous.
5124         (setHeightOfRow): ditto
5125         (cursorLeftOneWord): ditto
5126         (selectNextWordToSpellcheck): ditto
5127         (Delete): ditto
5128         (backspace): ditto
5129         (breakParagraph): remove one usage of Paragraph::next
5130         (redoParagraph): ditto
5131         (acceptChange): ditto
5132         (insertChar): adjust
5133         (rowBreakPoint): adjust
5134
5135         * bufferview_funcs.C (toggleAndShow): adjust
5136
5137 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5140         methods to access it.
5141         * lyxtext.h:
5142         * text.C: Added updateRowPositions to compute all row positions.
5143         Make top_y and getRowNearY() to use the cached y position
5144
5145 2003-04-11  John Levon  <levon@movementarian.org>
5146
5147         * text.C (rowBreakPoint): reintroduce the labelEnd
5148         checks, code copied from the row fill stuff. Deep voodoo.
5149
5150         * text.C (fill): add a comment and debugging for the
5151         next poor soul.
5152
5153 2003-04-11  John Levon  <levon@movementarian.org>
5154
5155         * text.C: make sure fullrow insets get wrapped to the next line,
5156         even when they're in a manual label
5157
5158 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * text2.C (insertParagraph): make it take ParagraphList::iterator
5161         as arg.
5162         (setLayout): make it return ParagraphList::iterator
5163         (redoParagraphs): ditto
5164         (setCounter): ditto
5165         (checkParagraph): ditto
5166
5167         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5168
5169         * text2.C: adjust several funcs.
5170         (realizeFont): take a ParagraphList::iterator as arg.
5171         (getLayoutFont): ditto
5172         (getLabelFont): ditto
5173         (setCharFont): ditto
5174
5175         * text.C: adjust several funcs.
5176
5177 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * text.C (selectNextWordToSpellcheck): don't accidentally
5180         skip insets
5181
5182 2003-04-10  John Levon  <levon@movementarian.org>
5183
5184         * ToolbarBackend.C (getIcon): special handling for
5185         LFUN_MATH_DELIM
5186
5187 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * text2.C (cursorRight): a getChar assert fixed
5190
5191 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * text2.C (getFont): change to take a ParagraphList::iterator
5194         instead of Paragraph*
5195         Adjust several functions.
5196
5197         * text.C (transformChar): change to take a ParagraphList::iterator
5198         instead of Paragraph*
5199         (singleWidth): ditto
5200         Adjust several functions.
5201
5202         * rowpainter.C: adjust several functions
5203         * rowpainter.h:store a ParagraphList::iterator and not a
5204         Paragraph&.
5205
5206
5207 2003-04-09  John Levon  <levon@movementarian.org>
5208
5209         * lyxfunc.C:
5210         * lfuns.h:
5211         * LyXAction.h:
5212         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5213         and the "help" bits as well
5214
5215 2003-04-09  John Levon  <levon@movementarian.org>
5216
5217         * ToolbarBackend.h:
5218         * ToolbarBackend.C: allow multiple toolbars
5219
5220 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * undo_funcs.C (setCursorParUndo): adjust
5223
5224         * text_funcs.C (transposeChars): adjust
5225
5226         * text3.C (gotoNextInset): adjust
5227         (dispatch): adjust
5228
5229         * text2.C (setLayout): adjust
5230         (changeDepth): adjust
5231         (setFont): adjust
5232         (redoParagraphs): adjust
5233         (selectionAsString): adjust
5234         (setParagraph): adjust
5235         (insertInset): adjust
5236         (cutSelection): adjust
5237         (copySelection): adjust
5238         (pasteSelection): adjust
5239         (insertStringAsLines): adjust
5240         (updateInset): adjust
5241         (setCursor): change to take a ParagraphList::iterator parameter
5242         (setCursorIntern): change to take a ParagraphList::iterator parameter
5243         (setCurrentFont): adjust
5244         (cursorLeft): adjust
5245         (cursorRight): adjust
5246         (deleteEmptyParagraphMechanism): adjust
5247
5248         * text.C (breakParagraph): adjust
5249         (insertChar): adjust
5250         (acceptChange): adjust
5251         (rejectChange): adjust
5252         (selectNextWordToSpellcheck): adjust
5253         (changeCase): adjust
5254         (Delete): adjust
5255         (backspace): adjust
5256
5257         * lyxfind.C (SearchForward): adjust
5258         (SearchBackward): adjust
5259         (nextChange): adjust
5260
5261         * lyxcursor.C (par): adjust
5262
5263         * lyxcursor.h: store a ParagraphList::iterator instead of a
5264         Paragraph*
5265
5266         * lyx_cb.C (getPossibleLabel): adjust
5267
5268         * bufferview_funcs.C (toggleAndShow): adjust
5269
5270         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5271         (dispatch): adjust
5272
5273         * BufferView.C (removeAutoInsets): adjust
5274         (lockedInsetStoreUndo): adjust
5275
5276 2003-04-09  John Levon  <levon@movementarian.org>
5277
5278         * ToolbarBackend.C: try icon without argument
5279         if with argument fails
5280
5281 2003-04-08  John Levon  <levon@movementarian.org>
5282
5283         * ToolbarBackend.h:
5284         * ToolbarBackend.C: add getIcon(), handle tooltip,
5285         and change from "Icon" to "Item".
5286
5287 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * BufferView.C (lockInset): another bad getchar crunched
5290
5291 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5292
5293         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5294         again)
5295
5296 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * lyxfind.C (searchForward, searchBackwards): bug 782
5299
5300 2003-04-07  John Levon  <levon@movementarian.org>
5301
5302         * paragraph.C: remove dead comment
5303
5304         * text.C: remove troublesome depth-fiddling code
5305         in leftMargin() and rightMargin() (bug 1017)
5306
5307         * text.C: fix breaking of rows in nested lists
5308         (bug 1004)
5309
5310         * text2.C (updateCounters): fix up depth values
5311         (bug 1013)
5312
5313 2003-04-07  John Levon  <levon@movementarian.org>
5314
5315         * BufferView_pimpl.C: clear message when doc finishes resizing,
5316         and after a mouse event
5317
5318         * lyxfunc.C: clear message after exiting inset
5319
5320 2003-04-07  John Levon  <levon@movementarian.org>
5321
5322         * bufferview_funcs.C: show math status not outside
5323         status in the statusbar
5324
5325 2003-04-07  John Levon  <levon@movementarian.org>
5326
5327         * lyxfunc.C: note status changed after a depth change
5328
5329 2003-04-04  Angus Leeming  <leeming@lyx.org>
5330
5331         * LaTeX.h: move AuxInfo operator==, != out of line.
5332         Remove LaTeX virtual destructor; nothing derives from it.
5333         Move operator()() out of public area and rename it startscript().
5334         Change protected for private.
5335
5336 2003-04-04  Angus Leeming  <leeming@lyx.org>
5337
5338         * lyxfunc.C:
5339         * text2.C: remove unneeded #includes.
5340
5341 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5342
5343         * text2.C (dEPM): fix the heigth of the next row
5344
5345 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * text.C: squashed an invalid getChar requester + some ws changes
5348
5349 2003-04-03  John Levon  <levon@movementarian.org>
5350
5351         * bufferview_funcs.h:
5352         * bufferview_funcs.C:
5353         * lyxfunc.C:
5354         * lyxtext.h:
5355         * text2.C: make getStatus work for the env depth lfuns
5356
5357 2003-04-03  John Levon  <levon@movementarian.org>
5358
5359         * bufferview_funcs.h:
5360         * bufferview_funcs.C:
5361         * lyxfunc.C:
5362         * lyxtext.h:
5363         * text2.C: parlistize decDepth(), by merging it with incDepth()
5364
5365 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * lyxrow.h: store a ParagraphList::iterator instead of a
5368         Paragraph* and adjust other class functions to suit.
5369
5370         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5371         above.
5372
5373 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * text2.C (setCursor): do not anchor to cursor row for the time being
5376
5377 2003-04-02  John Levon  <levon@movementarian.org>
5378
5379         * LyXAction.C:
5380         * lfuns.h:
5381         * lyx_main.C:
5382         * lyxtext.h:
5383         * text.C:
5384         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5385
5386 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * paragraph.h: make ParagraphList and ParagraphList::iterator
5389         friends of Paragraph.
5390
5391         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5392
5393         * ParagraphList.C: Use the private next_ and previous_ from
5394         Paragraph.
5395
5396 2003-04-01  John Levon  <levon@movementarian.org>
5397
5398         * ToolbarBackend.h:
5399         * ToolbarBackend.C:
5400         * Makefile.am: rename, remove defaults gunk
5401
5402         * MenuBackend.h:
5403         * MenuBackend.C: remove defaults gunk
5404
5405         * Languages.h:
5406         * Languages.C: remove defaults gunk
5407
5408         * lyx_main.h:
5409         * lyx_main.C: error out if files couldn't be found.
5410
5411 2003-04-02  John Levon  <levon@movementarian.org>
5412
5413         * text2.C: make incDepth() use parlist
5414
5415 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * undo_funcs.C (firstUndoParagraph): adjust
5418
5419         * text3.C (gotoInset): adjust
5420         (dispatch): adjust, and rewrite loop.
5421
5422         * text2.C (init): adjust, and rewrite loop.
5423         (redoParagraphs): adjust
5424         (updateInset): adjust, and rewrite loop.
5425         (deleteEmptyParagraphMechanism): adjust
5426
5427         * tabular.C (LyXTabular): adjust
5428         (SetMultiColumn): adjust
5429         (TeXRow): adjust
5430
5431         * lyxtext.[Ch] (ownerParagraph): delete function
5432         (ownerParagraphs): new function returns a ParagraphList.
5433
5434         * BufferView.C (removeAutoInsets): adjust
5435         (insertErrors): adjust
5436         (setCursorFromRow): adjust
5437
5438 2003-04-01  Angus Leeming  <leeming@lyx.org>
5439
5440         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5441         in the frontends.
5442
5443 2003-04-02  John Levon  <levon@movementarian.org>
5444
5445         * lyxtext.h:
5446         * text.C:
5447         * Makefile.am:
5448         * text_funcs.h:
5449         * text_funcs.C: make transposeChars a free function
5450
5451         * lyxrow_funcs.C: remove wrong comment
5452
5453 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * lyxtext.h: adjust
5456         * rowpainter.C: adjust
5457         * text.C: adjust
5458         * text2.C: adjust
5459         * text3.C: adjust
5460
5461         * lyxrow_funcs. [Ch]: new files
5462
5463         * lyxrow.[Ch]: remove next and previous pointers
5464         (next,previous): remove accessor functions
5465         (isParEnd): move to lyxrow_funcs
5466         (lastPos): move to lyxrow_funcs
5467         (nextRowIsAllInset): move to lyxrow_funcs
5468         (lastPrintablePos): move to lyxrow_funcs
5469         (numberOfSeparators): move to lyxrow_funcs
5470         (numberOfHfills): move to lyxrow_funcs
5471         (numberOfLabelHfills): move to lyxrow_funcs
5472         (hfillExpansion): move to lyxrow_funcs
5473
5474         * lyxfunc.C: adjust
5475
5476         * bufferview_funcs.C (toggleAndShow): adjust
5477
5478         * RowList.h: Remove class RowList from file leave just a
5479         std::list<Row>.
5480
5481         * RowList.C: delete file
5482
5483         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5484         and lyxrow_funcs.h
5485
5486 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * text3.C (cursorPrevious): adjust
5489         (cursorNext): adjust
5490         (dispatch): adjust
5491
5492         * text2.C (redoHeightOfParagraph): adjust
5493         (redoDrawingOfParagraph): adjust
5494         (setCursor): adjust
5495
5496         * text.C (breakParagraph): adjust
5497         (insertChar): adjust
5498         (backspace): adjust
5499
5500         * rowpainter.C (RowPainter): adjust
5501         (leftMargin): simplify and adjust
5502         (most rowpainter functions): adjust.
5503
5504         * rowpainter.h: store the row as RowList::iterator not as Row*
5505
5506         * lyxcursor.C (row): taka RowList::iterator as arg
5507         (irow): ditto
5508
5509         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5510         of Row*.
5511
5512 2003-04-01  Angus Leeming  <leeming@lyx.org>
5513
5514         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5515         stuff like bool Bool.
5516
5517 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5518
5519         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5520         rewrite a loop
5521
5522 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5525         RowList::iterator.
5526
5527         * lyxtext.h (rows): drop one version and leve a const variant that
5528         returns a RowList::iterator.
5529
5530 2003-03-31  Angus Leeming  <leeming@lyx.org>
5531
5532         * text.C (fill): ensure that the signature is the same as that in the
5533         header file.
5534
5535 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * text2.C (redoParagraphs): adjust
5538         (updateCounters): adjust
5539         (checkParagraph): adjust
5540         (getColumnNearX): adjust and reformat a bit.
5541
5542         * text.C (top_y): adjust
5543         (workWidth): adjust
5544         (leftMargin): adjust
5545         (prepareToPrint): adjust
5546         (getRow): adjust
5547         (getRowNearY): adjust
5548
5549         * lyxtext.h: make rowlist_ mutable.
5550
5551         * RowList.h: add const_iterator
5552         * RowList.C: adjust for RowList::const_iterator.
5553
5554         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5555         adjust.
5556
5557 2003-03-31  John Levon  <levon@movementarian.org>
5558
5559         * lyxrc.h:
5560         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5561
5562         * lyx_main.C: set default fonts from using lyx_gui funcs
5563
5564         * exporter.C: pdf_mode moved from lyxrc
5565
5566         * lyx_cb.C:
5567         * lyxfunc.C: changes from above
5568
5569 2003-03-31  John Levon  <levon@movementarian.org>
5570
5571         * lyx_main.C: fix to the last fix
5572
5573 2003-03-31  John Levon  <levon@movementarian.org>
5574
5575         * bufferlist.C: "Load original" -> "Load Original"
5576
5577         * converter.C:
5578         * exporter.C:
5579         * importer.C:
5580         * lyx_main.C:
5581         * format.C: more Alert cleanups
5582
5583 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * text2.C (removeParagraph): make it take a RowList::iterator as
5586         arg, adjust.
5587         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5588         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5589
5590         * text.C (anchor_row): make it take a RowList::iterator as arg,
5591         adjust.
5592         (computeBidiTables): make it take a const reference to Row instead
5593         of Row pointer, adjust.
5594         (leftMargin): make it take a RowList::iterator as arg, adjust.
5595         (rowBreakPoint): adjust
5596         (breakAgainOneRow): make it take a RowList::iterator as arg,
5597         adjust.
5598         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5599
5600         * bufferview_funcs.C (toggleAndShow): adjust
5601
5602 2003-03-30  John Levon  <levon@movementarian.org>
5603
5604         * Makefile.am:
5605         * BoostFormat.h:
5606         * boost-inst.C: moved to support
5607
5608         * several files: changes as a result
5609
5610 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * text2.C (LyXText): adjust.
5613         (init): adjust
5614         (removeRow): make it take a RowList::iterator as arg, adjust.
5615         (fullRebreak): adjust
5616         (deleteEmptyParagraphMechanism): adjust
5617         (clearPaint): adjust
5618         (postPaint): adjust
5619
5620         * text.C (top_y): adjust
5621         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5622         (breakAgain): make it take a RowList::iterator as arg, adjust.
5623         (breakParagraph): adjust
5624         (insertChar): adjust
5625         (backspace): adjust
5626
5627         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5628         need_break_row, and refresh_row.
5629
5630         * text3.C (dispatch): adjust
5631
5632         * text2.C (checkParagraph): adjust
5633         (setCursor): adjust
5634         (setCursorFromCoordinates): adjust
5635
5636         * text.C (top_y): adjust
5637         (workWidth): adjust
5638         (getRow): make it return a RowList::iterator, adjust
5639         (getRowNearY): make it return a RowList::iterator, adjust
5640
5641         * text2.C (init): adjust
5642         (insertRow): remove function
5643         (insertParagraph): adjust
5644         (redoParagraphs): adjust
5645         (fullRebreak): adjust
5646         (updateCounters): adjust
5647
5648         * text.C (top_y): rewrite to use RowList iterators.
5649         (top_y): adjust
5650         (setHeightOfRow): rewrite to sue RowList iterators.
5651         (appendParagraph): adjust
5652         (breakAgain): adjust
5653         (breakAgainOneRow): adjust
5654         (breakParagraph): adjust
5655         (getRow): adjust
5656         (getRowNearY): adjust, and remove commented code.
5657
5658         * lyxtext.h (firstRow): delete function
5659         (lastRow): delete function
5660         (rows): new function (const and non-const versions.)
5661         (insertRow): delete function
5662
5663         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5664
5665 2003-03-29  John Levon  <levon@movementarian.org>
5666
5667         * BufferView_pimpl.C: always update scrollbar top
5668         because pasting text when we're anchored could mean we
5669         miss an update altogether
5670
5671 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * text2.C (init): use rowlist_.end() and not 0.
5674         (insertRow): change to take a RowList::iterator as arg, adjust
5675         for this.
5676         (insertParagraph): change to take a RowList::iterator as arg,
5677         adjust for this.
5678         (redoParagraphs): remove some debug msgs.
5679
5680         * text.C (appendParagraph): change to take a RowList::iterator
5681         arg, adjust for this.
5682         (breakAgain): add an assert
5683         (breakAgainOneRow): ditto
5684
5685 2003-03-29  John Levon  <levon@movementarian.org>
5686
5687         * text2.C: do not clear selection after inc/decDepth
5688         (bug 550)
5689
5690 2003-03-29  John Levon  <levon@movementarian.org>
5691
5692         * BufferView.C:
5693         * buffer.C: fix broken strerrors according to Lars
5694
5695 2003-03-29  John Levon  <levon@movementarian.org>
5696
5697         * converters.C: more Alert cleanups
5698
5699 2003-03-29  John Levon  <levon@movementarian.org>
5700
5701         * bufferview_funcs.C: remove pointless Alert
5702
5703         * buffer.C: fix confusing error message when
5704         a template is chmoded 000
5705
5706 2003-03-29  John Levon  <levon@movementarian.org>
5707
5708         * BufferView.C:
5709         * BufferView.h:
5710         * BufferView_pimpl.C: Alert fixes
5711
5712         * Makefile.am:
5713         * tabular.C:
5714         * tabular-old.C: remove unused table compat reading
5715
5716 2003-03-29  John Levon  <levon@movementarian.org>
5717
5718         * BufferView.C:
5719         * buffer.C:
5720         * lyx_cb.h:
5721         * lyx_cb.C: more Alert cleanups
5722
5723         * lyxfunc.C: don't allow chktex if not latex document
5724
5725 2003-03-29  John Levon  <levon@movementarian.org>
5726
5727         * lyx_cb.C:
5728         * BufferView.C:
5729         * buffer.C: warnings pushed down from support/,
5730         kill err_alert
5731
5732 2003-03-29  John Levon  <levon@movementarian.org>
5733
5734         * lyxfunc.C: safety check for C-r (revert)
5735
5736 2003-03-29  John Levon  <levon@movementarian.org>
5737
5738         * bufferlist.h:
5739         * bufferlist.C: several UI fixes using Alert::prompt.
5740         Fix the pointless looping quit code. Fix stupid revert
5741         behaviour (bug 938)
5742
5743         * lyxvc.h:
5744         * lyxvc.C:
5745         * lyx_cb.C: use Alert::prompt
5746
5747         * lyx_main.C: remove a silly question
5748
5749         * lyxfunc.C: remove a couple of silly questions,
5750         use Alert::prompt
5751
5752 2003-03-28  John Levon  <levon@movementarian.org>
5753
5754         * text2.C: fix bug 974 (End on empty par)
5755
5756 2003-03-28  John Levon  <levon@movementarian.org>
5757
5758         * BufferView_pimpl.C:
5759         * LyXAction.C:
5760         * lfuns.h: remove do-nothing math greek lfuns
5761
5762 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * lyxgluelength.h (isValidGlueLength): add default arg on
5765         parameter 2. Remove default arg from friend in class.
5766
5767         * lyxlength.h (isValidLength): add default arg on parameter 2.
5768         Remove default arg from friend in class.
5769
5770         * text2.C (LyXText): adjust, initialize refresh_row.
5771         (init): adjust
5772         (removeRow): adjust
5773         (insertRow): adjust
5774         (insertParagraph): adjst
5775         (redoParagraphs): adjust
5776         (fullRebreak): adjust
5777         (updateCounters): adjust
5778         (deleteEmptyParagraphMechanism): first attempt at fixing a
5779         crashing bug.
5780
5781         * text.C (top_y): adjust
5782         (setHeightOfRow): adjust
5783         (getRow): adjust
5784         (getRowNearY): adjust
5785
5786         * lyxtext.h: include RowList.h
5787         (~LyXText): not needed anymore, deleted.
5788         (firstRow): modify for RowList
5789         (lastRow): new function
5790         Delete firstrow and lastrow class variables, add a Rowlist
5791         rowlist_ class variable.
5792
5793         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5794         paragraph is empty.
5795
5796         * RowList.C (insert): fix case where it == begin().
5797
5798 2003-03-26  Angus Leeming  <leeming@lyx.org>
5799
5800         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5801         the thesaurus dialog.
5802
5803 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5806
5807         * RowList.[Ch]: new files
5808
5809         * ParagraphList.C (erase): handle the case where it == begin
5810         correctly.
5811
5812 2003-03-25  John Levon  <levon@movementarian.org>
5813
5814         * Makefile.am:
5815         * aspell_local.h:
5816         * aspell.C: add new aspell support
5817
5818         * lyxrc.h:
5819         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5820         have it accessible.
5821
5822 2003-03-25  Angus Leeming  <leeming@lyx.org>
5823
5824         * lfuns.h:
5825         * LyXAction.C (init): new LFUN_INSET_INSERT.
5826
5827         * BufferView_pimpl.C (dispatch): split out part of the
5828         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5829
5830         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5831         LFUN_INSET_APPLY.
5832
5833 2003-03-25  Angus Leeming  <leeming@lyx.org>
5834
5835         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5836
5837 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5838
5839         * text2.C:
5840         * text3.C: remove useless row->height(0)
5841
5842 2003-03-25  John Levon  <levon@movementarian.org>
5843
5844         * lyxtext.h:
5845         * text2.C:
5846         * text3.C: rename the refreshing stuff to better names
5847
5848 2003-03-24  John Levon  <levon@movementarian.org>
5849
5850         * BufferView_pimpl.h:
5851         * BufferView_pimpl.C: update layout choice on a mouse
5852         press/release
5853
5854 2003-03-23  John Levon  <levon@movementarian.org>
5855
5856         * Makefile.am: fix commandtags.h reference
5857
5858 2003-03-22  John Levon  <levon@movementarian.org>
5859
5860         * BufferView_pimpl.C:
5861         * lyxtext.h:
5862         * rowpainter.C:
5863         * rowpainter.h:
5864         * text.C:
5865         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5866
5867 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * lyxtext.h:
5870         * text.C: take the rtl methods out of line
5871
5872 2003-03-21 André Pönitz <poenitz@gmx.net>
5873
5874         * metricsinfo.[Ch]: new files containing structures to be passed around
5875         during the two-phase-drawing...
5876
5877 2003-03-21 André Pönitz <poenitz@gmx.net>
5878
5879         * lyxtextclass.C: read 'environment' tag.
5880
5881 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * text2.C (removeRow): fix bug 964
5884
5885 2003-03-20  John Levon  <levon@movementarian.org>
5886
5887         * rowpainter.C:
5888         * text.C:
5889         * text2.C: paint cleanups. Inset::update() dropped font
5890         parameter
5891
5892 2003-03-19  John Levon  <levon@movementarian.org>
5893
5894         * lyxfunc.C: only fitcursor/markDirty if available()
5895
5896 2003-03-19  John Levon  <levon@movementarian.org>
5897
5898         * commandtags.h: rename to ...
5899
5900         * lfuns.h: ... this, and renumber / cleanup
5901
5902 2003-03-19  John Levon  <levon@movementarian.org>
5903
5904         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5905         fit the cursor after an lfun
5906
5907         * BufferView.h:
5908         * BufferView.C:
5909         * BufferView_pimpl.h:
5910         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5911
5912         * LyXAction.C: layout-character should have ReadOnly
5913
5914         * ParagraphParameters.C:
5915         * buffer.C:
5916         * bufferview_funcs.C:
5917         * lyx_cb.C:
5918         * lyxfind.C:
5919         * lyxtext.h:
5920         * text.C:
5921         * text2.C:
5922         * text3.C:
5923         * undo_funcs.C: changes from above
5924
5925 2003-03-18  John Levon  <levon@movementarian.org>
5926
5927         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5928         remove it from update()
5929
5930         * lyxfunc.C: update layout choice after an lfun
5931
5932         * text3.C: remove extra updateLayoutChoice()s
5933
5934 2003-03-18  John Levon  <levon@movementarian.org>
5935
5936         * text.C: top_y change means full repaint, fix
5937         a drawing bug with cursor movement
5938
5939 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * lyxtext.h:
5942         * text.C:
5943         * text2.C: anchor row on setCursor
5944
5945 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5946
5947         * lyxtext.h: remove almost all mutable keywords
5948         * text.C:
5949         * text2.C:
5950         * text3.C: remove const keywords accordingly
5951
5952 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5955         anon namespace
5956         (TeXEnvironment): ditto
5957         (TeXOnePar): ditto
5958
5959 2003-03-17  John Levon  <levon@movementarian.org>
5960
5961         * text.C (rowBreakPoint): remove attempt to fix displayed
5962         math insets inside a manual label
5963
5964 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * lyxtext.h: remove BufferView* as first arg from almost all class
5967         functions.
5968         * other files: adjust.
5969
5970 2003-03-17  John Levon  <levon@movementarian.org>
5971
5972         * lyxtext.h:
5973         * undo_funcs.C:
5974         * text2.C: more paint cleanups
5975
5976         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5977
5978         * rowpainter.h:
5979         * rowpainter.C: remove "smart" background painting code
5980
5981 2003-03-16  John Levon  <levon@movementarian.org>
5982
5983         * lyxtext.h:
5984         * text.C:
5985         * text2.C:
5986         * text3.C: add helper functions for setting refresh_row/y
5987
5988 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5989
5990         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5991         newline inset which *can* get inserted in the pass_thru layouts.
5992         This is primarily for literate documents.
5993
5994 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5995
5996         * buffer.C: increment LYX_FORMAT to 223
5997
5998 2003-03-14 André Pönitz <poenitz@gmx.net>
5999
6000         * textclass.h: prepare for environment handling, ws changes
6001         * lyxlayout.C: read latexheader and latexfooter tags
6002
6003 2003-03-14  John Levon  <levon@movementarian.org>
6004
6005         * text2.C: rewrite ::status() a bit
6006
6007 2003-03-13  John Levon  <levon@movementarian.org>
6008
6009         * lyxtext.h: add some docs
6010
6011 2003-03-13  John Levon  <levon@movementarian.org>
6012
6013         * lyxtext.h:
6014         * text.C:
6015         * text2.C:
6016         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6017
6018 2003-03-13  John Levon  <levon@movementarian.org>
6019
6020         * text3.C: fix appendix redrawing
6021
6022 2003-03-13  John Levon  <levon@movementarian.org>
6023
6024         * text.C (setHeightOfRow):
6025         * rowpainter.h:
6026         * rowpainter.C: make appendix mark have the text
6027           "Appendix" so the user knows what it is
6028
6029         * LColor.h:
6030         * LColor.C: s/appendixline/appendix/ from above
6031
6032 2003-03-13  John Levon  <levon@movementarian.org>
6033
6034         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6035
6036         * text.C: fix a getChar(pos) bug properly
6037
6038 2003-03-13  Angus Leeming  <leeming@lyx.org>
6039
6040         * commandtags.h:
6041         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6042         Probably only temporary. Let's see how things pan out.
6043
6044         * BufferView.C (unlockInset):
6045         * BufferView_pimpl.C (fitCursor):
6046         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6047
6048         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6049         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6050
6051         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6052         new functions that convert ParagraphParameters to and from a string.
6053
6054         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6055         BufferView::Pimpl's dispatch.
6056         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6057
6058 2003-03-13 André Pönitz <poenitz@gmx.net>
6059
6060         * lyxfunc.C:
6061         * text3.C:
6062         * factory.C: make it aware of InsetEnv
6063
6064 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * text2.C (setCursor): never ask for one past last
6067         (setCursor): add some debugging messages.
6068
6069         * text.C (singleWidth): never ask for one past last
6070         (singleWidth): ditto
6071         (leftMargin): ditto
6072         (rightMargin): ditto
6073         (rowBreakPoint): ditto
6074         (setHeightOfRow): ditto
6075         (prepareToPrint): ditto
6076
6077         * rowpainter.C (paintBackground): never ask for one past last
6078         (paintText): never ask for one past last
6079
6080         * paragraph_pimpl.C (getChar): make the assert stricter, never
6081         allow the one past last pos to be taken
6082
6083         * paragraph.C (getChar): ws changes only
6084
6085         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6086         (numberOfSeparators): ditto
6087         (numberOfHfills): ditto
6088
6089 2003-03-12  John Levon  <levon@movementarian.org>
6090
6091         * author.h:
6092         * author.C:
6093         * bufferparams.h:
6094         * bufferparams.C:
6095         * paragraph_funcs.C: fix per-buffer authorlists
6096
6097 2003-03-12  John Levon  <levon@movementarian.org>
6098
6099         * text.C: fix newline in right address
6100
6101 2003-03-12  Angus Leeming  <leeming@lyx.org>
6102
6103         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6104         duplicate those in LyXFunc::dispatch.
6105
6106         * commandtags.h:
6107         * LyXAction.C:
6108         * ToolbarDefaults.C:
6109         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6110         Add LFUN_FONTFREE_UPDATE.
6111
6112         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6113         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6114
6115         * bufferview_func.[Ch]: several new functions to facilliate
6116         transfer of data to and from the character dialog.
6117
6118 2003-03-12  John Levon  <levon@movementarian.org>
6119
6120         * buffer.C:
6121         * paragraph.h:
6122         * paragraph.C:
6123         * paragraph_funcs.C:
6124         * paragraph_pimpl.C:
6125         * sgml.C:
6126         * tabular.C:
6127         * text.C:
6128         * text3.C: remove META_NEWLINE in favour of an inset
6129
6130         * rowpainter.h:
6131         * rowpainter.C: remove paintNewline (done by inset)
6132
6133 2003-03-12  John Levon  <levon@movementarian.org>
6134
6135         * paragraph_pimpl.C: complain about bad getChar()s
6136         for a while at least
6137
6138 2003-03-12  John Levon  <levon@movementarian.org>
6139
6140         * buffer.h:
6141         * buffer.C: move paragraph read into a separate function,
6142         a little renaming to reflect that.
6143
6144         * bufferparams.h:
6145         * bufferparams.C: remove the author_ids map, not necessary now
6146
6147         * factory.h:
6148         * factory.C: moved Buffer::readInset to here
6149
6150         * paragraph_funcs.h:
6151         * paragraph_funcs.C: readParagraph free function moved from
6152         buffer.C
6153
6154         * tabular.C: name change
6155
6156 2003-03-12  John Levon  <levon@movementarian.org>
6157
6158         * buffer.C:
6159         * ParagraphParameters.C: move par params input to
6160         a read() method
6161
6162         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6163         behave like a normal read from the stream wrt reading
6164         a line vs. a \\token
6165
6166 2003-03-12  John Levon  <levon@movementarian.org>
6167
6168         * paragraph.C:
6169         * ParagraphParameters.h:
6170         * ParagraphParameters.C: move output code to a
6171         ::write() method
6172
6173 2003-03-12  John Levon  <levon@movementarian.org>
6174
6175         * BufferView.C (insertLyXFile):
6176         * buffer.h:
6177         * buffer.C:
6178         * tabular.C: use a parlist iterator for creating the
6179           document.
6180
6181 2003-03-12  John Levon  <levon@movementarian.org>
6182
6183         * buffer.C: make current_change static local not
6184           static file-scope
6185
6186 2003-03-12  John Levon  <levon@movementarian.org>
6187
6188         * buffer.C: fix insertStringAsLines for change tracking
6189
6190 2003-03-12  John Levon  <levon@movementarian.org>
6191
6192         * BufferView.C:
6193         * tabular.C:
6194         * buffer.h:
6195         * buffer.C:
6196         * bufferparams.h:
6197         * bufferparams.C: move author list into params. Rename some
6198           functions. Move the header reading into a separate token
6199           loop. Move the header token reading into BufferParams.
6200
6201 2003-03-12  John Levon  <levon@movementarian.org>
6202
6203         * changes.C: put debug inside lyxerr.debugging() checks
6204
6205 2003-03-11 André Pönitz <poenitz@gmx.net>
6206
6207         * factory.C: make it aware of InsetHFill
6208
6209 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6210
6211         * buffer.C (latexParagraphs): move function from here...
6212         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6213         args.
6214
6215 2003-03-10  Angus Leeming  <leeming@lyx.org>
6216
6217         * LyXAction.C (init): fix bug in poplating array with multiple entries
6218         with the same LFUN (spotted by JMarc).
6219
6220 2003-03-10  John Levon  <levon@movementarian.org>
6221
6222         * text.C:
6223         * text2.C: move getColumnNearX() near its
6224         only call site
6225
6226 2003-03-10  John Levon  <levon@movementarian.org>
6227
6228         * text.C: fix break before a minipage
6229
6230 2003-03-10  John Levon  <levon@movementarian.org>
6231
6232         * text.C: fix the last commit
6233
6234 2003-03-09  John Levon  <levon@movementarian.org>
6235
6236         * lyxtext.h:
6237         * text.C:
6238         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6239         bug 365 (don't break before insets unless needed). Don't
6240         return a value > last under any circumstances.
6241
6242 2003-03-09  Angus Leeming  <leeming@lyx.org>
6243
6244         * BufferView_pimpl.C (trackChanges, dispatch): call
6245         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6246
6247 2003-03-09  Angus Leeming  <leeming@lyx.org>
6248
6249         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6250         than Dialogs::showAboutlyx().
6251
6252 2003-03-09  Angus Leeming  <leeming@lyx.org>
6253
6254         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6255         than Dialogs::showTabularCreate().
6256
6257 2003-03-09  John Levon  <levon@movementarian.org>
6258
6259         * lyxtext.h:
6260         * text.C:
6261         * text2.C: 3rd arg to nextBreakPoint was always the same.
6262           Use references.
6263
6264 2003-03-08  John Levon  <levon@movementarian.org>
6265
6266         * lyxrow.C:
6267         * paragraph.C:
6268         * paragraph.h:
6269         * rowpainter.C:
6270         * text.C:
6271         * text2.C: Remove the "main" bit from the "main body"
6272           notion.
6273
6274 2003-03-08  John Levon  <levon@movementarian.org>
6275
6276         * text.C (leftMargin): The left margin of an empty
6277         manual label paragraph should not include the label width
6278         string length.
6279
6280         * text.C (prepareToPrint): don't attempt to measure hfills
6281         for empty manual label paragraphs - the answer should be 0
6282
6283 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * CutAndPaste.C: remove commented code and reindent.
6286
6287 2003-03-08  John Levon  <levon@movementarian.org>
6288
6289         * lyxfunc.h:
6290         * lyxfunc.C: move reloadBuffer()
6291
6292         * BufferView.h:
6293         * BufferView.C: to here
6294
6295         * lyxvc.C: add comment
6296
6297         * vc-backend.h:
6298         * vc-backend.C: call bv->reload() to avoid
6299           getStatus() check on MENURELOAD
6300
6301 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6302
6303         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6304         to an old format .dep file.
6305
6306 2003-03-07  Angus Leeming  <leeming@lyx.org>
6307
6308         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6309         when the LFUN_MOUSE_RELEASE should have been handled by
6310         inset->localDispatch.
6311
6312 2003-03-07  Angus Leeming  <leeming@lyx.org>
6313
6314         * BufferView_pimpl.C (dispatch):
6315         * LyXAction.C (init):
6316         * ToolbarDefaults.C (init):
6317         * commandtags.h:
6318         * lyxfunc.C (getStatus):
6319         remove LFUN_INSET_GRAPHICS.
6320
6321         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6322
6323 2003-03-07  Angus Leeming  <leeming@lyx.org>
6324
6325         * commandtags.h:
6326         * LyXAction.C (init):
6327         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6328
6329         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6330
6331         * commandtags.h:
6332         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6333
6334         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6335         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6336
6337 2003-03-07  Angus Leeming  <leeming@lyx.org>
6338
6339         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6340         remove "ert".
6341
6342 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * ParagraphList.C (front): new function
6345         (back): implement
6346
6347 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6350         and top_row_offset_. removed var first_y.
6351         * text.C (top_y):
6352         * text2.C (LyXText, removeRow):
6353         * text3.C:
6354         * BufferView_pimpl.C:
6355         use these methods instead of using first_y
6356
6357 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * text2.C (pasteSelection): adjust for checkPastePossible
6360
6361         * CutAndPaste.C: remove Paragraph * buf and replace with
6362         ParagraphList paragraphs.
6363         (DeleteBuffer): delete
6364         (cutSelection): change the tc type to textclass_type
6365         (copySelection): change the tc type to textclass_type
6366         (copySelection): adjust for ParagraphList
6367         (pasteSelection): change the tc type to textclass_type
6368         (pasteSelection): adjust for Paragraphlist
6369         (nrOfParagraphs): simplify for ParagraphList
6370         (checkPastePossible): simplify for ParagraphList
6371         (checkPastePossible): remove unused arg
6372
6373         * ParagraphList.C (insert): handle the case where there are no
6374         paragraphs yet.
6375
6376         * CutAndPaste.h: make CutAndPaste a namespace.
6377
6378         * text3.C (dispatch): adjust
6379
6380         * text.C (breakParagraph): add a ParagraphList as arg
6381
6382         * paragraph_funcs.C (breakParagraph): change to take a
6383         BufferParams and a ParagraphList as args.
6384         (breakParagraphConservative): ditto
6385         (mergeParagraph): ditto
6386         (TeXDeeper): add a ParagraphList arg
6387         (TeXEnvironment): ditto
6388         (TeXOnePar): ditto
6389
6390         * buffer.C (readLyXformat2): adjust
6391         (insertStringAsLines): adjust
6392         (latexParagraphs): adjust
6393
6394         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6395         (cutSelection): adjust
6396         (pasteSelection): adjust
6397
6398         * BufferView_pimpl.C (insertInset): adjust
6399
6400 2003-03-05  Angus Leeming  <leeming@lyx.org>
6401
6402         * commandtags.h:
6403         * LyXAction.C (init):
6404         * BufferView_pimpl.C (dispatch):
6405         * lyxfunc.C (getStatus):
6406         remove LFUN_CHILD_INSERT.
6407
6408         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6409
6410 2003-03-05  Angus Leeming  <leeming@lyx.org>
6411
6412         * commandtags.h:
6413         * LyXAction.C (init):
6414         * src/factory.C (createInset):
6415         * lyxfunc.C (getStatus):
6416         * text3.C (dispatch):
6417         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6418
6419         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6420
6421 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * ParagraphList.C (insert): handle insert right before end()
6424         (erase): fix cases where it can be first or last paragraph.
6425
6426 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6429         Paragraph::next and Paragraph::previous
6430         (TeXOnePar): ditto
6431
6432         * text.C (breakParagraph): adjust
6433
6434         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6435         BufferParams& as arg.
6436         (breakParagraph): use ParagraphList::insert
6437         (breakParagraphConservative): take a Buffer* instead of a
6438         BufferParams& as arg.
6439         (breakParagraphConservative): use ParagraphList::insert.
6440
6441         * buffer.C (insertStringAsLines): un-const it
6442         (insertStringAsLines): adjust
6443
6444         * ParagraphList.C (insert): new function
6445
6446         * CutAndPaste.C (pasteSelection): adjust
6447
6448         * text.C (backspace): adjust
6449
6450         * tabular.C (SetMultiColumn): adjust
6451
6452         * CutAndPaste.C (cutSelection): adjust
6453         (pasteSelection): adjust
6454
6455         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6456         Buffer const * as arg
6457
6458         * ParagraphList.C (erase): new function
6459         * paragraph_funcs.C (mergeParagraph): use it
6460         (mergeParagraph): make it take a Buffer* instead of a
6461         BufferParams* as arg
6462
6463         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6464         as arg
6465         (breakParagraphConservative): ditto
6466
6467         * paragraph.h: remove the breakParagraph friend
6468
6469         * paragraph.C (eraseIntern): new function
6470         (setChange): new function
6471
6472         * paragraph_funcs.C (mergeParagraph): make it take a
6473         ParagraphList::iterator instead of a Paragraph *, adjust
6474         accordingly.
6475
6476         * paragraph.h: move an #endif so that the change tracking stuff
6477         also works in the NO_NEXT case.
6478
6479 2003-03-04  Angus Leeming  <leeming@lyx.org>
6480
6481         * commandtags.h:
6482         * LyXAction.C: new LFUN_INSET_MODIFY.
6483
6484         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6485         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6486
6487 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * several files: ws changes only
6490
6491         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6492         (TeXEnvironment): ditto
6493         (TeXDeeper): ditto
6494
6495         * buffer.C (makeLaTeXFile): adjust
6496         (latexParagraphs): make it take ParagraphList::iterator as args
6497
6498 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6499
6500         * buffer.C (latexParagraphs): adjust
6501
6502         * paragraph.C (TeXOnePar): move function...
6503         (optArgInset): move function...
6504         (TeXEnvironment): move function...
6505         * paragraph_pimpl.C (TeXDeeper): move function...
6506         * paragraph_funcs.C: ...here
6507
6508         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6509
6510 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * buffer.C (readInset): remove compability code for old Figure and
6513         InsetInfo insets
6514
6515 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * buffer.C: ws changes
6518         (readInset):
6519
6520         * BufferView_pimpl.C: ditto
6521         * author.C: ditto
6522         * buffer.h: ditto
6523         * bufferlist.h: ditto
6524         * changes.h: ditto
6525         * lyxfunc.C: ditto
6526
6527 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6528
6529         * converter.[Ch]: split into itself +
6530         * graph.[Ch]
6531         * format.[Ch]
6532         * Makefile.am: += graph.[Ch] + format.[Ch]
6533         * MenuBackend.C
6534         * buffer.C
6535         * exporter.C
6536         * importer.C
6537         * lyx_main.C
6538         * lyxfunc.C
6539         * lyxrc.C: added #include "format.h"
6540
6541 2003-02-27  Angus Leeming  <leeming@lyx.org>
6542
6543         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6544           a label.
6545
6546         * factory.C (createInset): add "label" to the factory.
6547
6548         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6549           string and do no more.
6550
6551 2003-02-27  Angus Leeming  <leeming@lyx.org>
6552
6553         * commandtags.h:
6554         * LyXAction.C (init):
6555         * factory.C (createInset):
6556         * BufferView_pimpl.C (dispatch):
6557           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6558
6559         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6560
6561         * lyxfunc.C (dispatch):
6562         * text3.C (dispatch): pass name to params2string.
6563
6564 2003-02-26  Angus Leeming  <leeming@lyx.org>
6565
6566         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6567           blocks together.
6568           Rearrange the ~includes. Strip out the unnecessary ones.
6569
6570         * factory.C (createInset): reformat.
6571           create new insets for the various LFUN_XYZ_APPLY lfuns.
6572
6573 2003-02-26  John Levon  <levon@movementarian.org>
6574
6575         * lyxrow.h:
6576         * lyxrow.C: add isParStart,isParEnd helpers
6577
6578         * paragraph.h: make isInserted/DeletedText take refs
6579
6580         * paragraph_funcs.h:
6581         * paragraph_funcs.C: remove #if 0'd code
6582
6583         * lyxtext.h:
6584         * text3.C:
6585         * text2.C:
6586         * text.C: use lyxrow helpers above.
6587           Move draw and paint routines to RowPainter.
6588           Make several methods use refs not pointers.
6589           Make backgroundColor() const.
6590           Add markChangeInDraw(), isInInset().
6591           Merge changeRegionCase into changeCase.
6592           Make workWidth() shouldn't-happen code into an Assert.
6593
6594         * rowpainter.h:
6595         * rowpainter.C: new class for painting a row.
6596
6597         * vspace.h:
6598         * vspace.C: make inPixels take a ref
6599
6600 2003-02-26  Angus Leeming  <leeming@lyx.org>
6601
6602         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6603         LFUN_REF_APPLY.
6604
6605 2003-02-25  John Levon  <levon@movementarian.org>
6606
6607         * ispell.C: give the forked command a more accurate name
6608
6609 2003-02-22  John Levon  <levon@movementarian.org>
6610
6611         * toc.h:
6612         * toc.C: make TocItem store an id not a Paragraph *
6613           (bug #913)
6614
6615 2003-02-21  Angus Leeming  <leeming@lyx.org>
6616
6617         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6618           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6619           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6620           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6621           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6622           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6623
6624         * BufferView_pimpl.C (dispatch):
6625         * LyXAction.C (init):
6626         * factory.C (createInset):
6627         * lyxfunc.C (getStatus, dispatch):
6628         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6629
6630 2003-02-21  Angus Leeming  <leeming@lyx.org>
6631
6632         * BufferView_pimpl.C (MenuInsertLyXFile):
6633         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6634         * lyxfunc.C (menuNew, open, doImport):
6635           no longer pass a LyXView & to fileDlg.
6636
6637 2003-02-21  Angus Leeming  <leeming@lyx.org>
6638
6639         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6640         * LyXAction.C: change, BIBKEY to BIBITEM.
6641         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6642         Change InsetBibKey to InsetBibitem.
6643         Change BIBKEY_CODE to BIBITEM_CODE.
6644         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6645         * factory.C: replace insetbib.h with insetbibitem.h.
6646         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6647         * paragraph.C: replace insetbib.h with insetbibitem.h.
6648         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6649         Change bibkey() to bibitem().
6650         * text.C: remove insetbib.h.
6651         * text2.C: replace insetbib.h with insetbibitem.h.
6652         change bibkey() to bibitem().
6653         * text3.C: remove insetbib.h.
6654         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6655
6656 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6657
6658         * lyxrc.C (output): enclose user email in quotes (in case there are
6659         several words)
6660
6661 2003-02-18  John Levon  <levon@movementarian.org>
6662
6663         * buffer.h: add std::
6664
6665 2003-02-17  John Levon  <levon@movementarian.org>
6666
6667         * SpellBase.h:
6668         * ispell.h:
6669         * ispell.C:
6670         * pspell.h:
6671         * pspell.C: reworking. Especially in ispell, a large
6672           number of clean ups and bug fixes.
6673
6674         * lyxfunc.C: fix revert to behave sensibly
6675
6676 2003-02-17 André Pönitz <poenitz@gmx.net>
6677
6678         * LyXAction.C:
6679         * commandtags.h: new LFUN_INSERT_BIBKEY
6680
6681         * layout.h:
6682         * lyxlayout.C:
6683         * buffer.C:
6684         * factory.C:
6685         * text.C:
6686         * text2.C:
6687         * text3.C:
6688         * paragraph.[Ch]:
6689         * paragraph_func.C: remove special bibkey handling
6690
6691 2003-02-17  John Levon  <levon@movementarian.org>
6692
6693         * text.C (Delete): fix case where delete at the end of
6694           the very first paragraph would not merge the pars
6695
6696 2003-02-17  John Levon  <levon@movementarian.org>
6697
6698         * lyxrow.C: fix lastPrintablePos()
6699
6700 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6701
6702         * bufferparams.C (writeLaTeX): add a std:here
6703
6704         * buffer.C: and remove a using directive there
6705
6706 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6707
6708         * buffer.C (makeLaTeXFile): move the code that generates the
6709           preamble...
6710
6711         * bufferparams.C (writeLaTeX): ... in this new method
6712
6713         * LaTeXFeatures.C (getEncodingSet): make const
6714           (getLanguages): make const
6715
6716         * MenuBackend.C (binding): returns the binding associated to this
6717           action
6718           (add): sets the status of each item by calling getStatus. Adds
6719           some intelligence.
6720           (read): add support for OptSubMenu
6721           (expand): remove extra separator at the end of expanded menu
6722
6723 2003-02-15  John Levon  <levon@movementarian.org>
6724
6725         * BufferView.C:
6726         * BufferView_pimpl.C:
6727         * bufferlist.h:
6728         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6729           inset code that had no actual effect. Remove unneeded status
6730           code.
6731
6732 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6733
6734         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6735           in preamble
6736
6737 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6738
6739         * text.C (drawLengthMarker): also draw an arrow marker for
6740           symbolic lengths (medskip...)
6741
6742 2003-02-14  John Levon  <levon@movementarian.org>
6743
6744         * tabular.h:
6745         * tabular.C: better method names
6746
6747 2003-02-14  John Levon  <levon@movementarian.org>
6748
6749         * BufferView_pimpl.C:
6750         * bufferlist.C:
6751         * buffer.C:
6752         * converter.C:
6753         * lyx_cb.C:
6754         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6755           it's a more accurate name. Remove some pointless uses.
6756
6757 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6758
6759         * text2.C (LyXText): change order of initilizers to shut off
6760           warnings
6761
6762 2003-02-14  John Levon  <levon@movementarian.org>
6763
6764         * buffer.C: use ParIterator for getParFromID()
6765
6766         * paragraph.h:
6767         * paragraph.C:
6768         * paragraph_pimpl.h:
6769         * paragraph_pimpl.C: remove unused getParFromID()
6770
6771 2003-02-14  John Levon  <levon@movementarian.org>
6772
6773         * buffer.C: remove some very old #if 0'd parse code
6774
6775 2003-02-13  John Levon  <levon@movementarian.org>
6776
6777         * text.h:
6778         * text.C:
6779         * text2.C: move hfillExpansion(), numberOfSeparators(),
6780           rowLast(), rowLastPrintable(), numberofHfills(),
6781           numberOfLabelHfills() ...
6782
6783         * lyxrow.h:
6784         * lyxrow.C: ... to member functions here.
6785
6786         * paragraph.h:
6787         * paragraph.C:
6788         * lyxtext.h:
6789         * text.C: remove LyXText::beginningOfMainBody(), and call
6790           p->beginningOfMainBody() directly. Move the check for
6791           LABEL_MANUAL into the latter.
6792
6793         * text.h:
6794         * text.C:
6795         * text2.C:
6796         * vspace.C:
6797         * BufferView.h:
6798         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6799
6800         * text.h:
6801         * text.C:
6802         * text2.C:
6803         * text3.C:
6804         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6805           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6806
6807 2003-02-13  John Levon  <levon@movementarian.org>
6808
6809         * CutAndPaste.C: remove debug
6810
6811 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6812
6813         * paragraph.C (asString): remove two unused variables
6814
6815         * lyxtextclass.C (readTitleType):
6816           (Read):
6817           (LyXTextClass): handle new members titletype_ and titlename_
6818
6819         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6820
6821 2003-02-09  John Levon  <levon@movementarian.org>
6822
6823         * buffer.h:
6824         * buffer.C: replace hand-coded list with a map for the dep clean
6825
6826 2003-02-08  John Levon  <levon@movementarian.org>
6827
6828         * LaTeX.C: consolidate code into showRunMessage() helper
6829
6830 2003-02-08  John Levon  <levon@movementarian.org>
6831
6832         * lyxfind.C:
6833         * lyxtext.h:
6834         * text2.C:
6835         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6836           and pass the size in explicitly
6837
6838         * BufferView_pimpl.h:
6839         * BufferView_pimpl.C:
6840         * BufferView.h:
6841         * BufferView.C: add getCurrentChange()
6842
6843         * BufferView_pimpl.h:
6844         * BufferView_pimpl.C: handle change lfuns
6845
6846         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6847           for changes. Mark pasted paragraphs as new.
6848
6849         * support/lyxtime.h:
6850         * support/lyxtime.C:
6851         * DepTable.C: abstract time_t as lyx::time_type
6852
6853         * LColor.h:
6854         * LColor.C: add colours for new text, deleted text, changebars
6855
6856         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6857           package use "usenames" option.
6858
6859         * commandtags.h:
6860         * lyxfunc.C:
6861         * LyXAction.C: add change lfuns
6862
6863         * Makefile.am:
6864         * author.h:
6865         * author.C: author handling
6866
6867         * buffer.h:
6868         * buffer.C: add a per-buffer author list, with first entry as
6869           current author. Handle new .lyx tokens for change tracking. Output
6870           author list to .lyx file. Output dvipost stuff to .tex preamble.
6871           Bump lyx format to 222.
6872
6873         * bufferlist.h:
6874         * bufferlist.C: add setCurrentAuthor() to reset current author details
6875           in all buffers.
6876
6877         * bufferparams.h:
6878         * bufferparams.C: add param for tracking
6879
6880         * bufferview_funcs.C: output change info in minibuffer
6881
6882         * Makefile.am:
6883         * changes.h:
6884         * changes.C: add change-tracking structure
6885
6886         * debug.h:
6887         * debug.C: add CHANGES debug flag
6888
6889         * lyxfind.h:
6890         * lyxfind.C: add code for finding the next change piece
6891
6892         * lyxrc.h:
6893         * lyxrc.C: add user_name and user_email
6894
6895         * lyxrow.h:
6896         * lyxrow.C: add a metric for the top of the text line
6897
6898         * lyxtext.h:
6899         * text.C: implement accept/rejectChange()
6900
6901         * lyxtext.h:
6902         * text.C: paint changebars. Paint new/deleted text in the chosen
6903         colours. Strike through deleted text.
6904
6905         * paragraph.h:
6906         * paragraph.C:
6907         * paragraph_pimpl.h:
6908         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6909           in the current change to the insert functions. Rework erase to
6910           mark text as deleted, adding an eraseIntern() and a range-based
6911           erase(). Implement per-paragraph change lookup and
6912           accept/reject.
6913
6914         * paragraph_funcs.C: Fixup paste for change tracking.
6915
6916         * tabular.C: mark added row/columns as new.
6917
6918         * text.C: fix rowLast() to never return -1. Don't allow
6919           spellchecking of deleted text. Track transpose changes. Don't
6920           allow paragraph break or merge where appropriate.
6921
6922         * text2.C: leave cursor at end of selection after a cut.
6923
6924 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6925
6926         * text.C (getLengthMarkerHeight):
6927         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6928         visible on screen too.
6929
6930 2003-02-07  John Levon  <levon@movementarian.org>
6931
6932         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6933
6934 2003-02-05  Angus Leeming  <leeming@lyx.org>
6935
6936         * lyxserver.C (read_ready): revert my patch of 11 September last year
6937         as it sends PC cpu through the roof. Presumably this means that
6938         the lyxserver will no longer run on an Alpha...
6939
6940 2003-01-30  Angus Leeming  <leeming@lyx.org>
6941
6942         * factory.C (createInset): create an InsetCommandParam of type "index"
6943         and use it to 'do the right thing'.
6944
6945         * text2.C (getStringToIndex): ensure that cursor position is always
6946         reset to the reset_cursor position.
6947
6948 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6949
6950         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6951         disabled.
6952
6953 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6954
6955         * bufferview.C:
6956         * lyxcb.C:
6957         * lyxfunc.C: Output messages with identical spelling, punctuation,
6958         and spaces
6959
6960 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6961
6962         * MenuBackend.C (expandFormats): List only viewable export formats
6963         in "View" menu
6964
6965         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6966         message
6967
6968         * lyxfunc.C (getStatus): Make sure that formats other than
6969         "fax" can also be disabled
6970
6971 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6972
6973         * text3.C (dispatch): put the lfuns that insert insets in 3
6974         groups, and call doInsertInset with appropriate arguments.
6975         (doInsertInset): new function, that creates an inset and inserts
6976         it according to some boolean parameters.
6977
6978 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * buffer.C (readFile): remember to pass on 'par' when calling
6981         readFile recursively.
6982
6983 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6984
6985         * MenuBackend.C (expandFormats): add "..." to import formats.
6986
6987 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6988
6989         * paragraph.C (asString): Remove XForms RTL hacks.
6990
6991 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6992         * buffer.C: fix typo
6993
6994 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * Makefile.am (LIBS): delete var
6997         (lyx_LDADD): add @LIBS@ here instead.
6998
6999 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7000
7001         * Clarify the meaning of "wheel mouse jump"
7002
7003 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7004
7005         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7006         tabular in a float
7007
7008 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7009
7010         * importer.C (Loaders): do not preallocate 3 elements in the
7011         vector, since one ends up with 6 elements otherwise
7012
7013 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7014
7015         * DepTable.C (write): write the file name as last element of the
7016         .dep file (because it may contain spaces)
7017         (read): read info in the right order
7018
7019 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7020
7021         * paragraph_pimpl.C (simpleTeXBlanks):
7022         (simpleTeXSpecialChars):
7023         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7024
7025         * tabular.C (latex): add some missing case statements. Reindent.
7026
7027         * MenuBackend.C (expandToc): remove unused variable.
7028
7029 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7030
7031         * LColor.C:
7032         * LaTeX.C:
7033         * LyXAction.C:
7034         * MenuBackend.C:
7035         * buffer.C:
7036         * exporter.C:
7037         * lyxfunc.C:
7038         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7039         and the like.
7040
7041 2003-01-05  John Levon  <levon@movementarian.org>
7042
7043         * BufferView.h:
7044         * BufferView.C: add getEncoding()
7045
7046         * kbsequence.h:
7047         * kbsequence.C: do not store last keypress
7048
7049         * lyxfunc.h:
7050         * lyxfunc.C: store last keypress here instead. Pass encoding
7051           to getISOEncoded()
7052
7053 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7054
7055         * lyx_main.C (init): remove annoying error message when following
7056         symbolic links (bug #780)
7057
7058 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7059
7060         * text.C (insertChar):
7061         * lyxrc.C (getDescription): remove extra spaces
7062
7063 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7064
7065         * lyxrc.C (getDescription): remove extra spaces
7066
7067 2002-12-20  John Levon  <levon@movementarian.org>
7068
7069         * text3.C: hack fix for page up/down across tall rows
7070
7071 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7072
7073         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7074         not been invoked
7075
7076 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7077
7078         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7079         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7080         thesaurus is not compiled in
7081
7082 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7083
7084         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7085
7086 2002-12-16  Angus Leeming  <leeming@lyx.org>
7087
7088         * lyxrc.[Ch]:
7089         * lyx_main.C (init): remove override_x_deadkeys stuff.
7090
7091 2002-12-12  John Levon  <levon@movementarian.org>
7092
7093         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7094           insert. Only remove shift modifier under strict
7095           circumstances.
7096
7097 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * MenuBackend.C (expandToc): fix crash.
7100
7101 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7102
7103         * MenuBackend.C (expandToc): gettext on float names.
7104
7105 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7106
7107         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7108         implement bool empty() [bug 490]
7109
7110 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7113
7114 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * several files: ws changes
7117
7118 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * text2.C (setCounter): clean up a bit, use boost.format.
7121         (updateCounters): initialize par upon declaration.
7122
7123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7124         if the layout exists. We do not just store the layout any more.
7125         (SwitchLayoutsBetweenClasses): use boost.format
7126
7127 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7128
7129         * converter.C (convert): if from and to files are the same, use a
7130         temporary files as intermediary
7131
7132 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7133
7134         * commandtags.h:
7135         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7136
7137 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7138
7139         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7140
7141 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * tabular.C (asciiPrintCell): use string(size, char) instead of
7144         explicit loop.
7145
7146         * sgml.C (openTag): fix order of arguments to string constructor
7147         (closeTag): ditto
7148
7149         * lyxfunc.C (dispatch): use boost.format
7150
7151         * lots of files: change "c" -> 'c'
7152
7153 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7154
7155         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7156
7157 2002-11-25  Angus Leeming  <leeming@lyx.org>
7158
7159         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7160
7161         * lyx_main.C (init): compile fix.
7162
7163 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * lyx_cb.C (start): boost.formatify
7166         do not include <iostream>
7167
7168         * lengthcommon.C: ws only
7169
7170         * boost-inst.C,BoostFormat.h: add more explict instantations
7171
7172 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * lots of files: handle USE_BOOST_FORMAT
7175
7176 2002-11-21  John Levon  <levon@movementarian.org>
7177
7178         * pspell.C: fix compile
7179
7180 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7181
7182         * lyxfunc.C (dispatch): use boost::format
7183         (open): ditto
7184         (doImport): ditto
7185
7186         * lyxfont.C (stateText): use boost::format
7187
7188         * lyx_main.C (LyX): use boost::format
7189         (init): ditto
7190         (queryUserLyXDir): ditto
7191         (readRcFile): ditto
7192         (parse_dbg): ditto
7193         (typedef boost::function): use the recommened syntax.
7194
7195         * importer.C (Import): use boost::format
7196
7197         * debug.C (showLevel): use boost::format
7198
7199         * converter.C (view): use boost::format
7200         (convert): ditto
7201         (move): ditto
7202         (scanLog): ditto
7203
7204         * bufferview_funcs.C (currentState): use boost::format
7205
7206         * bufferlist.C (emergencyWrite): use boost::format
7207
7208         * buffer.C (readLyXformat2): use boost::format
7209         (parseSingleLyXformat2Token): ditto
7210
7211         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7212
7213         * LaTeX.C (run): use boost::format
7214
7215         * Chktex.C (scanLogFile): use boost::format
7216
7217         * BufferView_pimpl.C (savePosition): use boost::format
7218         (restorePosition): ditto
7219         (MenuInsertLyXFile): ditto
7220
7221         * BoostFormat.h: help file for explicit instation.
7222
7223 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7224
7225         * tabular.C (latex): Support for block alignment in fixed width
7226         columns.
7227
7228 2002-11-17  John Levon  <levon@movementarian.org>
7229
7230         * BufferView_pimpl.C:
7231         * lyx_cb.C:
7232         * lyxfunc.C: split filedialog into open/save
7233
7234 2002-11-08  Juergen Vigna  <jug@sad.it>
7235
7236         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7237         by my last patch (hopefully).
7238
7239 2002-11-08  John Levon  <levon@movementarian.org>
7240
7241         * iterators.h:
7242         * iterators.C:
7243         * buffer.h:
7244         * buffer.C:
7245         * paragraph.h:
7246         * paragraph.C:
7247         * toc.h:
7248         * toc.C: ParConstIterator, and use it (from Lars)
7249
7250 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7251
7252         * lyxtextclass.[Ch]: revise and add doxygen comments
7253
7254 2002-11-07  John Levon  <levon@movementarian.org>
7255
7256         * text.C: fix progress value for spellchecker
7257
7258         * toc.C: fix navigate menu for insetwrap inside minipage
7259
7260         * paragraph_funcs.C: added FIXME for suspect code
7261
7262 2002-11-07  John Levon  <levon@movementarian.org>
7263
7264         * BufferView_pimpl.C: fix redrawing of insets
7265           on buffer switch
7266
7267 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7268
7269         * text2.C (updateCounters): fix bug 668
7270
7271 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7272
7273         * text3.C (dispatch): Do not make the buffer dirty when moving the
7274         cursor.
7275
7276 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * vc-backend.C: STRCONV
7279         (scanMaster): ditto
7280
7281         * text2.C (setCounter): STRCONV
7282
7283         * paragraph.C (asString): STRCONV
7284
7285         * lyxlength.C (asString): STRCONV
7286         (asLatexString): ditto
7287
7288         * lyxgluelength.C (asString): STRCONV
7289         (asLatexString): ditto
7290
7291         * lyxfunc.C (dispatch): STRCONV
7292         (open): ditto
7293
7294         * lyxfont.C (stateText): STRCONV
7295
7296         * importer.C (Import): STRCONV
7297
7298         * counters.C (labelItem): STRCONV
7299         (numberLabel): ditto
7300         (numberLabel): remove unused ostringstream o
7301
7302         * chset.C: STRCONV
7303         (loadFile): ditto
7304
7305         * bufferview_funcs.C (currentState): STRCONV
7306
7307         * buffer.C (readFile): STRCONV
7308         (asciiParagraph): ditto
7309         (makeLaTeXFile): ditto
7310
7311         * Spacing.C (writeEnvirBegin): STRCONV
7312
7313         * LaTeXFeatures.C (getLanguages): STRCONV
7314         (getPackages): ditto
7315         (getMacros): ditto
7316         (getBabelOptions): ditto
7317         (getTClassPreamble): ditto
7318         (getLyXSGMLEntities): ditto
7319         (getIncludedFiles): ditto
7320
7321         * LaTeX.C: STRCONV
7322         (run): ditto
7323         (scanAuxFile): ditto
7324         (deplog): ditto
7325
7326         * LString.h: add the STRCONV macros
7327
7328         * BufferView_pimpl.C (savePosition): STRCONV
7329         (restorePosition): ditto
7330         (MenuInsertLyXFile): ditto
7331
7332         * vc-backend.C (scanMaster): change from submatch[...] to
7333         submatch.str(...)
7334
7335         * funcrequest.C: include config.h
7336
7337         * factory.C: include config.h
7338
7339         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7340
7341         * box.C: include config.h
7342
7343         * LaTeX.C (scanAuxFile): change from submatch[...] to
7344         submatch.str(...)
7345         (deplog): ditto
7346
7347 2002-10-25  Angus Leeming  <leeming@lyx.org>
7348
7349         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7350
7351         * ispell.[Ch] (setError): new method.
7352         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7353         Use setError() insetead of goto END.
7354
7355         * lyx_cb.C (AutoSave): move out child process into new class
7356         AutoSaveBuffer.
7357
7358 2002-10-30  John Levon  <levon@movementarian.org>
7359
7360         * text3.C: make start appendix undoable
7361
7362 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7363
7364         * lyxlength.C (inPixels): Fix returned value.
7365
7366         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7367         environment.
7368
7369 2002-10-24  Angus Leeming  <leeming@lyx.org>
7370
7371         * lyxgluelength.h: no need to forward declare BufferParams
7372         or BufferView, so don't.
7373
7374 2002-10-21  John Levon  <levon@movementarian.org>
7375
7376         * BufferView.C: menuUndo ->undo, redo
7377
7378         * BufferView.h: document, remove dead, make some methods private
7379
7380         * paragraph_funcs.h:
7381         * paragraph_funcs.C:
7382         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7383
7384         * buffer.h:
7385         * buffer.C:
7386         * sgml.h:
7387         * sgml.C: move sgml open/close tag into sgml.C
7388
7389         * bufferview_funcs.h: unused prototype
7390
7391         * lyxfunc.h:
7392         * lyxfunc.C: remove unused
7393
7394         * lyxtext.h:
7395         * text.C: remove unused
7396
7397 2002-10-21  John Levon  <levon@movementarian.org>
7398
7399         * BufferView.h:
7400         * BufferView.C:
7401         * BufferView_pimpl.h:
7402         * BufferView_pimpl.C: fix mouse wheel handling based on
7403           patch from Darren Freeman
7404
7405 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7406
7407         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7408
7409 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7410
7411         * lyxlength.C (inPixels): Fix hanfling of negative length.
7412         Fix LyXLength::MU case.
7413
7414 2002-10-16  John Levon  <levon@movementarian.org>
7415
7416         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7417
7418 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7419
7420         * converter.C (view): add support for $$i (file name) and $$p
7421         (file path) for the viewer command. If $$i is not specified, then
7422         it is appended to the command (for compatibility with old syntax)
7423
7424 2002-10-14  Juergen Vigna  <jug@sad.it>
7425
7426         * undo_funcs.C (textHandleUndo): alter the order in which the
7427         new undopar is added to the LyXText, as we have to set first
7428         the right prev/next and then add it as otherwise the rebuild of
7429         LyXText is not correct. Also reset the cursor to the right paragraph,
7430         with this IMO we could remove the hack in "redoParagraphs()".
7431
7432 2002-10-09  Angus Leeming  <leeming@lyx.org>
7433
7434         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7435         to turn off an optimisation if a new inset is to be inserted.
7436
7437 2002-10-11 André Pönitz <poenitz@gmx.net>
7438
7439         * lyxtext.h: make some functions public to allow access
7440         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7441
7442 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7443
7444         * text3.C (dispatch): when changing layout, avoid an infinite loop
7445         [bug #652]
7446
7447 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7448
7449         * lyxrc.C (read): treat a viewer or converter command of "none" as
7450         if it were empty.
7451
7452         * MenuBackend.C (expandFormats): for an update, also allow the
7453         formats that are not viewable
7454
7455         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7456         script if it is newer than the lyxrc.defaults in user directory
7457
7458 2002-10-07 André Pönitz <poenitz@gmx.net>
7459
7460         * text.C: Vitaly Lipatov's small i18n fix
7461
7462 2002-09-25  Angus Leeming  <leeming@lyx.org>
7463
7464         * ispell.h: doxygen fix.
7465
7466 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7467
7468         * buffer.h (readFile): Add a new argument to the method, to allow
7469         reading of old-format templates.
7470
7471 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7472
7473         * toc.C (getTocList): Get TOC from InsetWrap.
7474
7475 2002-09-16  John Levon  <levon@movementarian.org>
7476
7477         * lyxfunc.C: check tabular for cut/copy too
7478
7479 2002-09-12  John Levon  <levon@movementarian.org>
7480
7481         * LyXAction.C: tidy
7482
7483         * factory.h:
7484         * factory.C: add header
7485
7486         * paragraph_funcs.h:
7487         * paragraph_funcs.C: cleanup
7488
7489 2002-09-11  John Levon  <levon@movementarian.org>
7490
7491         * PrinterParams.h: odd/even default to true
7492
7493 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7494
7495         * PrinterParams.h: update printer parameters for new xforms dialog
7496
7497 2002-09-11  Angus Leeming  <leeming@lyx.org>
7498
7499         * lyxserver.C (read_ready): re-write to make it more transparent
7500         and to make it work in coherent fashion under Tru64 Unix.
7501
7502 2002-09-11  André Pönitz <poenitz@gmx.net>
7503
7504         * commandtags.h:
7505         * LyXAction.C:
7506         * text3.C: implement LFUN_WORDSEL
7507
7508 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7511         make floatlist_ a boost::shared_ptr<FloatList>
7512
7513         * lyxtextclass.C: include FloatList.h
7514         (LyXTextClass): initialize floatlist_
7515         (TextClassTags): add TC_NOFLOAT
7516         (Read): match "nofloat" to TC_NOFLOAT and use it.
7517         (readFloat): modify call to floatlist_
7518         (floats): ditto
7519         (floats): ditto
7520
7521         * FloatList.[Ch] (FloatList): remove commented out float
7522         initialization.
7523         (erase): new function
7524
7525 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7526
7527         * MenuBackend.C (expandToc): fix crash when there is no document
7528         open
7529
7530 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7531
7532         * many files: Add insetwrap.
7533
7534 2002-09-09  John Levon  <levon@movementarian.org>
7535
7536         * text2.C: remove confusing and awkward depth wraparound
7537
7538 2002-09-09  John Levon  <levon@movementarian.org>
7539
7540         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7541
7542         * buffer.h:
7543         * buffer.C: remove getIncludeonlyList()
7544
7545         * paragraph.C:
7546         * lyxfunc.C: remove headers
7547
7548 2002-09-09  Juergen Vigna  <jug@sad.it>
7549
7550         * text.C (getColumnNearX): fix form Michael this is most
7551         probably a cut&paste bug.
7552
7553 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7554
7555         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7556
7557         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7558         references, ws changes.
7559
7560         * text2.C (init): update counters after init
7561         (insertParagraph): no need to set counter on idividual paragraphs.
7562         (setCounter): access the counters object in the textclass object
7563         on in the buffer object.
7564         (updateCounters): ditto
7565
7566         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7567         shared_ptr<Counters> to avoid loading counters.h in all
7568         compilation units.
7569         (LyXTextClass): initialize ctrs_
7570         (TextClassTags): add TC_COUNTER, and ...
7571         (Read): use it here.
7572         (CounterTags): new tags
7573         (readCounter): new function
7574         (counters): new funtion
7575         (defaultLayoutName): return a const reference
7576
7577         * counters.C (Counters): remove contructor
7578         (newCounter): remove a couple of unneeded statements.
7579         (newCounter): simplify a bit.
7580         (numberLabel): some small formatting changes.
7581
7582         * buffer.[Ch]: remove all traces of counters, move the Counters
7583         object to the LyXTextClass.
7584
7585 2002-09-06  Alain Castera  <castera@in2p3.fr>
7586
7587         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7588         package to set the horizontal alignment on fixed width columns.
7589
7590         * lyx_sty.C:
7591         * lyx_sty.h: added tabularnewline macro def.
7592
7593         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7594
7595 2002-09-06  John Levon  <levon@movementarian.org>
7596
7597         * LyXAction.C: tooltips for sub/superscript
7598
7599         * MenuBackend.C: a bit more verbose
7600
7601         * lyxfunc.C: tiny clean
7602
7603         * undo_funcs.C: document undo_frozen
7604
7605 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * counters.C (Counters): add missing algorithm counter.
7608
7609         * text2.C (setCounter): lookup the counter with layouts latexname
7610         instead of by section number.
7611         (setCounter): use a hackish way to lookup the correct enum
7612         counter.
7613         a float name->type change
7614         reset enum couners with counter name directly instead of depth value.
7615
7616         * counters.C (Counters): remove the push_backs, change to use the
7617         float type not the float name.
7618         (labelItem): remove unused string, float name->type change
7619
7620         * counters.h: don't include vector, loose the enums and sects vectors
7621
7622 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7625         (Read): add float->TC_FLOAT to textclassTags
7626         (Read): and handle it in the switch
7627         (readFloat): new function
7628
7629         * FloatList.C (FloatList): comment out the hardcoded float
7630         definitions.
7631
7632         * lyxlayout.h: ws change.
7633
7634 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7635
7636         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7637
7638 2002-09-03  Angus Leeming  <leeming@lyx.org>
7639
7640         * BufferView_pimpl.h: qualified name is not allowed in member
7641         declaration: WorkArea & Pimpl::workarea() const;
7642
7643         * factory.C: added using std::endl directive.
7644
7645         * text3.C: added using std::find and std::vector directives.
7646
7647 2002-08-29  André Pönitz <poenitz@gmx.net>
7648
7649         * lyxtext.h:
7650         * text2.C: remove unused member number_of_rows
7651
7652         * Makefile.am:
7653         * BufferView2.C: remove file, move contents to...
7654         * BufferView.C: ... here
7655
7656         * BufferView_pimpl.C:
7657         * factory.C: move more inset creation to factory
7658
7659         * vspace.C: avoid direct usage of LyXText, ws changes
7660
7661         * BufferView.[Ch]:
7662                 don't provide direct access to WorkArea, use two simple
7663                 acessors haveSelction() and workHeight() instead
7664
7665
7666 2002-08-29  John Levon  <levon@movementarian.org>
7667
7668         * BufferView_pimpl.C (dispatch): do not continue when
7669           no buffer
7670
7671 2002-08-28  André Pönitz <poenitz@gmx.net>
7672
7673         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7674
7675         * BufferView.h:
7676         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7677
7678 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7679
7680         * buffer.C: increment LYX_FORMAT to 221
7681
7682         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7683         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7684
7685         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7686
7687         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7688
7689 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7690
7691         * factory.C (createInset): use LyXTextClass::floats
7692
7693         * MenuBackend.C (expandFloatListInsert):
7694         (expandFloatInsert):
7695         (expandToc):
7696
7697         * text2.C (setCounter):
7698
7699         * LaTeXFeatures.C (useFloat):
7700         (getFloatDefinitions):
7701
7702         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7703
7704         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7705         floatlist_, with accessor floats().
7706
7707         * FloatList.h: remove global FloatList
7708
7709 2002-08-26  André Pönitz <poenitz@gmx.net>
7710
7711         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7712
7713         * BufferView.h:
7714         * BufferView2.C:
7715         * BufferView_pimpl.C:
7716         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7717
7718 2002-08-25  John Levon  <levon@movementarian.org>
7719
7720         * LyXAction.C: fix margin note description
7721
7722 2002-08-24  John Levon  <levon@movementarian.org>
7723
7724         * buffer.C:
7725         * bufferlist.C:
7726         * bufferview_funcs.C:
7727         * lyxfont.C:
7728         * undo_funcs.C: cleanups
7729
7730         * lyxfunc.C: disable CUT/COPY when no selection
7731
7732 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7733
7734         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7735         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7736
7737         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7738         Add backward compatibility to "mono", "gray" and "no".
7739
7740 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7741
7742         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7743         (and file_format >= 200).
7744
7745 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7746
7747         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7748
7749 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7752
7753 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7754
7755         * BufferView_pimpl.C:
7756         * LyXAction.C:
7757         * buffer.C:
7758         * commandtags.h:
7759         * lyxfunc.C:
7760         * paragraph.[Ch]:
7761         * text2.C:
7762         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7763         inset and code to make it  work with the paragraph code. The inset
7764         can be anywhere in the paragraph, but will only do the expected
7765         thing in LaTeX if the layout file contains the parameter line
7766                         OptionalArgs    1
7767         (or more generally, a nonzero value) for that layout.
7768
7769 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * paragraph.h: remove the declaration of undefined counters class
7772         function.
7773
7774 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7775
7776         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7777         Dr. Richard Hawkins.
7778
7779 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7780
7781         * paragraph_funcs.h: remove some unneeded includes
7782
7783         * text.C (backspace): pasteParagraph now in global scipe
7784
7785         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7786         (pasteSelection): ditto
7787
7788         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7789         * paragraph_funcs.C (pasteParagraph): ... here
7790
7791 2002-08-20  André Pönitz <poenitz@gmx.net>
7792
7793         * commandtags.h: new LFUNs for swapping/copying table row/colums
7794
7795         * LyXAction.C:
7796         * lyxfunc.C: support for new lfuns
7797
7798 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * tabular.C:
7801         * buffer.[Ch]: remove NO_COMPABILITY stuff
7802
7803 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * boost.C (throw_exception): new file, with helper function for
7806         boost compiled without exceptions.
7807
7808         * paragraph.h:
7809         * lyxlength.C:
7810         * buffer.C:
7811         * ParameterStruct.h:
7812         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7813
7814         * bufferlist.C (emergencyWriteAll): use boost bind
7815
7816         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7817
7818         * text.C: include paragraph_funcs.h
7819         (breakParagraph): breakParagraph is now in global scope
7820
7821         * paragraph_funcs.[Ch]: new files
7822
7823         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7824         global scope
7825
7826         * buffer.C: include paragraph_funcs.h
7827         (insertStringAsLines): breakParagraph is now in global scope
7828
7829         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7830         paragraph_funcs.C
7831
7832         * CutAndPaste.C: include paragraph_funcs.h
7833         (cutSelection): breakParagraphConservative is now in global scope
7834         (pasteSelection): ditto
7835
7836         * buffer.h: declare oprator== and operator!= for
7837         Buffer::inset_iterator
7838
7839         * bufferlist.C (emergencyWrite): don't use fmt(...)
7840
7841         * text3.C: add using std::endl
7842
7843         * BufferView.C (moveCursorUpdate): remove default arg
7844
7845 2002-08-20  André Pönitz <poenitz@gmx.net>
7846
7847         * buffer.[Ch]: move inline functions to .C
7848
7849         * BufferView2.C:
7850         * BufferView_pimpl.C:
7851         * text.C:
7852         * buffer.[Ch]: use improved inset_iterator
7853
7854         * buffer.C:
7855         * paragraph.[Ch]: write one paragraph at a time
7856
7857 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7858
7859         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7860         style if style is not specified.
7861
7862 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7863
7864         * text2.C (setCounter): when searching for right label for a
7865         caption, make sure to recurse to parent insets (so that a caption
7866         in a minipage in a figure float works) (bug #568)
7867
7868 2002-08-20  André Pönitz <poenitz@gmx.net>
7869
7870         * text3.C: new file for LyXText::dispatch() and helpers
7871
7872         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7873
7874         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7875
7876 2002-08-19  André Pönitz <poenitz@gmx.net>
7877
7878         * lyxtext.h:
7879         * text.C: new LyXText::dispatch()
7880
7881         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7882
7883 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7884
7885         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7886
7887         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7888         Hebrew text.
7889
7890 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7891
7892         * Makefile.am: use $(variables) instead of @substitutions@
7893
7894 2002-08-15  André Pönitz <poenitz@gmx.net>
7895
7896         * lyxfunc.C:
7897         * BufferView_pimpl.C: streamlining mathed <-> outer world
7898         interaction
7899
7900         * commandtags.h:
7901         * LyXAction.C: remove unused LFUN_MATH
7902
7903 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7904
7905         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7906
7907 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * paragraph.C (Paragraph): reformat a bit
7910         (cutIntoMinibuffer): use builtin InsetList function instad of
7911         doing it manually.
7912         (getInset): ditto
7913
7914         * buffer.C: include boost/bind.hpp, add using std::for_each
7915         (writeFileAscii): use ParagraphList iterators
7916         (validate): use for_each for validate traversal of paragraphs
7917         (getBibkeyList): use ParagraphList iterators
7918         (resizeInsets): use for_each to resizeInsetsLyXText for all
7919         paragraphs.
7920         (getParFromID): use ParagraphList iterators
7921
7922         * BufferView2.C (lockInset): use paragraph list and iterators
7923
7924 2002-08-14  John Levon  <levon@movementarian.org>
7925
7926         * lyxserver.C: remove spurious xforms include
7927
7928 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7929
7930         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7931
7932 2002-08-13  André Pönitz <poenitz@gmx.net>
7933
7934         * LyXAction.[Ch]:
7935         * lyxfunc.C: further cleaning
7936
7937 2002-08-13  André Pönitz <poenitz@gmx.net>
7938
7939         * funcrequest.h: new constructor
7940
7941         * funcrequest.C: move stuff here from .h
7942
7943         * Makefile.am:
7944         * BufferView_pimpl.C:
7945         * LyXAction.C:
7946         * toc.C:
7947         * lyxfunc.C: subsequent changes
7948
7949         * lyxfunc.h: new view() member function
7950
7951         * lyxfunc.C: subsequent changes
7952
7953 2002-08-13  Angus Leeming  <leeming@lyx.org>
7954
7955         * BufferView2.C:
7956         * BufferView_pimpl.C:
7957         * buffer.C:
7958         * converter.C:
7959         * importer.C:
7960         * lyxfunc.C:
7961         * lyxvc.C:
7962         * toc.C:
7963         * vc-backend.C:
7964         changes due to the changed LyXView interface that now returns references
7965         to member variables not pointers.
7966
7967 2002-08-13  Angus Leeming  <leeming@lyx.org>
7968
7969         * WordLangTuple (word, lang_code): return references to strings,
7970         not strings.
7971
7972         * BufferView.h:
7973         * SpellBase.h:
7974         * lyxtext.h: forward-declare WordLangTuple.
7975
7976         * BufferView2.C:
7977         * ispell.C:
7978         * pspell.C:
7979         * text.C: #include "WordLangTuple.h".
7980
7981         * lyxtext.h:
7982         * text.C: (selectNextWordToSpellcheck): constify return type.
7983
7984 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7985
7986         * buffer.C:
7987         * buffer.h:
7988         * lyxtext.h:
7989         * paragraph.C:
7990         * paragraph_pimpl.h:
7991         * text.C:
7992         * text2.C:
7993         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7994         suggested by Angus.
7995         Made updateCounter always count from start of buffer, and removed
7996         second argument (par).
7997         Reverted floats number display to '#'. Perhaps I'll try again when the
7998         code base is sanitized a bit.
7999
8000 2002-08-12  Angus Leeming  <leeming@lyx.org>
8001
8002         * buffer.[Ch] (getLabelList): constify.
8003
8004 2002-08-07  André Pönitz <poenitz@gmx.net>
8005
8006         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8007
8008         * funcrequest.h: extension to keep mouse (x,y) position
8009
8010 2002-08-12  Juergen Vigna  <jug@sad.it>
8011
8012         * BufferView2.C (insertErrors): forbid undo when inserting error
8013         insets.
8014
8015         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8016
8017 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * ParagraphList.[Ch]: new files
8020
8021         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8022
8023         * BufferView2.C (lockInset): ParagraphList changes
8024         * toc.C: ditto
8025         * text2.C: ditto
8026         * bufferlist.C: ditto
8027         * buffer.h: ditto
8028         * buffer.C: ditto
8029
8030 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8033         unused class variable counter_,
8034
8035         * paragraph.[Ch] (getFirstCounter): delete unused function
8036
8037         * counters.C: include LAssert.h
8038         (reset): add a new function with no arg, change other version to
8039         not have def. arg and to not allow empty arg.
8040
8041         * text2.C (setCounter): remove empty arg from call to Counters::reset
8042
8043 2002-08-11  John Levon  <levon@movementarian.org>
8044
8045         * Makefile.am: add WordLangTuple.h
8046
8047 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8050         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8051
8052         * insets/insettext.C: InsetList changes
8053
8054         * graphics/GraphicsSupport.C (operator()): InsetList changes
8055
8056         * toc.C (getTocList): InsetList changes
8057
8058         * paragraph_pimpl.[Ch]: InsetList changes
8059
8060         * paragraph.[Ch]: InsetList changes
8061
8062         * buffer.C (inset_iterator): InsetList changes
8063         (setParagraph): ditto
8064         * buffer.h (inset_iterator): ditto
8065         * iterators.C (operator++): ditto
8066         * iterators.h: ditto
8067
8068         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8069
8070         * InsetList.[Ch]: new files, most InsetList handling moved out of
8071         paragraph.C.
8072
8073         * BufferView2.C (removeAutoInsets): InsetList changes
8074         (lockInset): ditto
8075         (ChangeInsets): ditto
8076
8077 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * paragraph_pimpl.h (empty): new function
8080
8081         * paragraph.[Ch] (empty): new function
8082
8083         * other files: use the new Paragraph::empty function
8084
8085 2002-08-09  John Levon  <levon@movementarian.org>
8086
8087         * lyxtext.h: remove unused refresh_height
8088
8089 2002-08-09  John Levon  <levon@movementarian.org>
8090
8091         * Makefile.am:
8092         * sgml.h:
8093         * sgml.C:
8094         * buffer.C:
8095         * paragraph.h:
8096         * paragraph.C: move sgml char escaping out of paragraph
8097
8098         * paragraph.h:
8099         * paragraph.C: remove id setter
8100
8101         * buffer.C:
8102         * paragraph.C:
8103         * paragraph_pimpl.C: remove dead tex_code_break_column
8104
8105         * bufferview_funcs.C: small cleanup
8106
8107         * lyxfunc.C: remove dead proto
8108
8109         * lyxtext.h: make some stuff private. Remove some dead stuff.
8110
8111         * lyxgluelength.C: make as[LyX]String() readable
8112
8113 2002-08-08  John Levon  <levon@movementarian.org>
8114
8115         * LyXAction.h:
8116         * LyXAction.C:
8117         * MenuBackend.C:
8118         * ToolbarDefaults.C:
8119         * lyxfunc.C:
8120         * lyxrc.C:
8121         * toc.C: lyxaction cleanup
8122
8123 2002-08-08  John Levon  <levon@movementarian.org>
8124
8125         * BufferView2.C: small cleanup
8126
8127         * lyxfind.h:
8128         * lyxfind.C: move unnecessary header into the .C
8129
8130 2002-08-08  John Levon  <levon@movementarian.org>
8131
8132         * funcrequest.h: just tedious nonsense
8133
8134         * lyx_main.h:
8135         * lyx_main.C: cleanups
8136
8137         * buffer.C:
8138         * vspace.C: remove dead header lyx_main.h
8139
8140 2002-08-07  Angus Leeming  <leeming@lyx.org>
8141
8142         * Paragraph.[Ch]:
8143         * paragraph_pimpl.h:
8144         Forward declare class Counters in paragraph.h by moving the ctrs member
8145         variable into Paragraph::Pimpl.
8146         (counters): new method, returning a reference to pimpl_->ctrs.
8147
8148         * text2.C: ensuing changes.
8149
8150 2002-08-07  John Levon  <levon@movementarian.org>
8151
8152         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8153
8154         * BufferView_pimpl.C: announce X selection on double/triple
8155           click
8156
8157         * lyx_main.C: use correct bool in batch dispatch
8158
8159         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8160
8161 2002-08-07  André Pönitz <poenitz@gmx.net>
8162
8163         * funcrequest.h: new class to wrap a kb_action and its argument
8164
8165         * BufferView.[Ch]:
8166         * BufferView_pimpl[Ch]:
8167         * LaTeX.C:
8168         * LyXAction.[Ch]:
8169         * lyxfunc.[Ch]:
8170         * lyxrc.C: subsequent changes
8171
8172
8173 2002-08-07  John Levon  <levon@movementarian.org>
8174
8175         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8176           document options change.
8177
8178 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8179
8180         * counters.[Ch]
8181         * text2.C
8182         * paragraph.[Ch]
8183         * makefile.am: move counters functionality over from
8184         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8185
8186 2002-08-06  John Levon  <levon@movementarian.org>
8187
8188         * WordLangTuple.h: new file for word + language code tuple
8189
8190         * SpellBase.h:
8191         * pspell.h:
8192         * pspell.C:
8193         * ispell.h:
8194         * ispell.C:
8195         * lyxtext.h:
8196         * text.C:
8197         * text2.C:
8198         * BufferView.h:
8199         * BufferView2.C: use WordLangTuple
8200
8201         * layout.h:
8202         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8203
8204 2002-08-06  John Levon  <levon@movementarian.org>
8205
8206         * lyx_main.C: fix cmdline batch handling
8207
8208 2002-08-06  André Pönitz <poenitz@gmx.net>
8209
8210         * lyxrc.C: set default for show_banner to true
8211
8212 2002-08-06  John Levon  <levon@movementarian.org>
8213
8214         * pspell.C: fix a crash, and allow new aspell to work
8215
8216 2002-08-06  John Levon  <levon@movementarian.org>
8217
8218         * lyxfunc.C:
8219         * kbmap.C: small cleanup
8220
8221         * vspace.h:
8222         * vspace.C: add const
8223
8224 2002-08-05  John Levon  <levon@movementarian.org>
8225
8226         * LyXAction.C: back to tabular-insert
8227
8228 2002-08-04  John Levon  <levon@movementarian.org>
8229
8230         * BufferView.h:
8231         * BufferView.C: cosmetic change
8232
8233         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8234
8235         * bufferlist.C:
8236         * buffer.h:
8237         * buffer.C:
8238         * lyxcb.h:
8239         * lyxcb.C:
8240         * lyxserver.C:
8241         * lyxvc.C:
8242         * vc-backend.C:
8243         * BufferView2.C: purge all "Lyx" not "LyX" strings
8244
8245         * lyxcursor.h:
8246         * lyxcursor.C: attempt to add some documentation
8247
8248         * lyxfunc.C:
8249         * commandtags.h:
8250         * LyXAction.C:
8251         * ToolbarDefaults.C:
8252         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8253           merge with LFUN_TABULAR_INSERT
8254
8255         * Makefile.am:
8256         * SpellBase.h:
8257         * ispell.h:
8258         * ispell.C:
8259         * pspell.h:
8260         * pspell.C: split up i/pspell implementations into separate
8261           files, many cleanups
8262
8263         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8264
8265         * text2.C: some cleanup
8266
8267         * lyxfunc.C: don't check for isp_command == "none" any more, it
8268           didn't make any sense
8269
8270 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8271
8272         * counters.[Ch]
8273         * text2.C
8274         * paragraph.[Ch]
8275         * makefile.am: move counters functionality over
8276         from text2.C/paragraph.[Ch] to counters.[Ch], and
8277         make proper C++.
8278 2002-08-02  John Levon  <levon@movementarian.org>
8279
8280         * buffer.C: s/lyxconvert/lyx2lyx/
8281
8282 2002-08-02  Angus Leeming  <leeming@lyx.org>
8283
8284         * lyxlex.C: revert John's change as it breaks reading of the user
8285         preamble.
8286
8287 2002-08-02  Angus Leeming  <leeming@lyx.org>
8288
8289         * importer.C (Import):
8290         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8291         changes due to LyXView::view() now returning a boost::shared_ptr.
8292
8293 2002-08-02  John Levon  <levon@movementarian.org>
8294
8295         * lyxlex.C: small cleanup
8296
8297 2002-08-02  John Levon  <levon@movementarian.org>
8298
8299         * text2.C (status): small cleanup, no logic change
8300
8301 2002-08-01  John Levon  <levon@movementarian.org>
8302
8303         * buffer.h:
8304         * buffer.C (writeFile): don't output alerts, caller
8305           handles this
8306
8307         * bufferlist.C:
8308         * lyx_cb.C: from above
8309
8310         * lyxfunc.C: allow to open non-existent files
8311
8312 2002-07-31  John Levon  <levon@movementarian.org>
8313
8314         * lyxserver.C: don't let incidental errors get
8315           in the way (errno)
8316
8317 2002-07-30  John Levon  <levon@movementarian.org>
8318
8319         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8320
8321 2002-07-30  John Levon  <levon@movementarian.org>
8322
8323         * lyxserver.h:
8324         * lyxserver.C: remove I/O callback too
8325
8326 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8327
8328         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8329         log.
8330
8331 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * many files: strip,frontStrip -> trim,ltrim,rtrim
8334
8335 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * PrinterParams.h: remove extern containsOnly, and include
8338         support/lstrings.h instead.
8339
8340         * LaTeX.C (scanAuxFile): modify because of strip changes
8341         (deplog): ditto
8342         * buffer.C (makeLaTeXFile): ditto
8343         * bufferparams.C (writeFile): ditt
8344         * lyxfont.C (stateText): ditto
8345         * lyxserver.C (read_ready): ditto
8346         * vc-backend.C (scanMaster): ditto
8347
8348         * BufferView_pimpl.h: ws changes
8349
8350         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8351
8352 2002-07-26  André Pönitz <poenitz@gmx.net>
8353
8354         * kb_sequence.C: remove unnedred usings
8355
8356 2002-07-26  Juergen Vigna  <jug@sad.it>
8357
8358         * lyxfind.C (LyXReplace): we have to check better if the returned
8359         text is not of theLockingInset()->getLockingInset().
8360
8361 2002-07-25  Juergen Vigna  <jug@sad.it>
8362
8363         * lyxfind.C (LyXReplace): don't replace if we don't get the
8364         right LyXText.
8365
8366         * undo_funcs.C (createUndo): remove debugging code.
8367
8368 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8369
8370         * buffer.C (parseSingleLyXformat2Token): Use default placement
8371         when reading old floats.
8372
8373         * FloatList.C (FloatList): Change the default placement of figure
8374         and tables to "tbp".
8375
8376 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * MenuBackend.C: using std::max
8379
8380 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8381
8382         * MenuBackend.C (expandToc):
8383         (expandToc2): code moved from xforms menu frontend. It is now
8384         generic and TOCs are transparent to menu frontends.
8385
8386 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8387
8388         * toc.C (getTocList): protect against buf=0
8389
8390         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8391         Menu as first parameter. Now, this calls itself recursively to
8392         expand a whole tree (this will be useful for TOC handling)
8393         (expandFloatInsert): remove 'wide' version of floats
8394
8395         * MenuBackend.h (submenuname): returns the name of the submenu.
8396         (submenu): returns the submenu itself, provided it has been
8397         created by MenuBackend::expand
8398
8399 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8400
8401         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8402         insets which have noFontChange == true. (bug #172)
8403
8404 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8405
8406         * BufferView_pimpl.C: add connection objects and use them...
8407         (Pimpl): here.
8408
8409 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8410
8411         * MenuBackend.C (expandLastfiles):
8412         (expandDocuments):
8413         (expandFormats):
8414         (expandFloatListInsert):
8415         (expandFloatInsert):
8416         (expand): split expand in parts
8417
8418 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * lyx_gui.C: use lyx_gui::exit()
8421
8422 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * LyXAction.C: show the failing pseudo action
8425
8426 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8427
8428         * buffer.C (readFile): Run the lyxconvert script in order to read
8429         old files.
8430
8431 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8432
8433         * LyXAction.C:
8434         * commandtags.h:
8435         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8436
8437 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * LyXAction.C:
8440         * commandtags.h:
8441         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8442
8443 2002-07-22  Herbert Voss  <voss@lyx.org>
8444
8445         * lengthcommon.C:
8446         * lyxlength.[Ch]: add support for the vertical lengths
8447
8448 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * toc.[Ch]: std:: fixes
8451
8452 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * lyxrc.C: do not include lyx_main.h
8455
8456         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8457         for layouts
8458
8459         * lyxrc.C:
8460         * encoding.C:
8461         * bufferlist.C:
8462         * BufferView2.C: include "lyxlex.h"
8463
8464         * tabular.h:
8465         * bufferparams.h: do not #include "lyxlex.h"
8466
8467         * lyxtextclasslist.C (Add): remove method
8468         (classlist): renamed to classlist_
8469
8470         * paragraph_pimpl.C:
8471         * paragraph.C:
8472         * text2.C:
8473         * CutAndPaste.C:
8474         * bufferview_funcs.C:
8475         * bufferlist.C:
8476         * text.C:
8477         * LaTeXFeatures.C:
8478         * buffer.C:
8479         * toc.C (getTocList): use BufferParams::getLyXTextClass
8480
8481         * toc.C (getTocList): use InsetFloat::addToToc
8482
8483         * toc.[Ch]: new files, containing helper functions to handle table
8484         of contents
8485
8486         * lyxfunc.C (dispatch): no need to remove spaces around command
8487         given as a string
8488         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8489         first command of the sequence; it is not very clever, but I do not
8490         have a better idea, actually
8491
8492         * LyXAction.C (LookupFunc): make sure to remove space at the
8493         beginning and end of the command
8494
8495 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * MenuBackend.C (getMenubar): new method: return the menubar of
8498         this menu set
8499         (read): treat differently reading of menu and menubar (in
8500         particular, the menubar has no name now)
8501         (Menu::menubar): remove
8502
8503         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8504         saving is finished
8505
8506 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8507
8508         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8509         a bibitem inset in a RTL paragraph.
8510
8511 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * paragraph_pimpl.C: constify
8514
8515         * BufferView_pimpl.C:
8516         * LaTeX.C:
8517         * lyxfunc.C: fix dispatch in a nicer way
8518
8519 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8520
8521         * lyxfunc.C (dispatch):
8522         * BufferView_pimpl.C:
8523         * BufferView_pimpl.h:
8524         * BufferView.C:
8525         * BufferView.h: rename Dispatch() to dispatch()
8526
8527         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8528
8529         * lyxlayout.C (Read): honor DependsOn tag
8530
8531         * lyxlayout.[Ch] (depends_on): new method
8532
8533         * version.C.in: update lyx_docversion
8534
8535         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8536
8537         * paragraph.C (validate): remove from here...
8538         * paragraph_pimpl.C (validate): ... and move here
8539         (isTextAt): make it const
8540
8541         * buffer.C (getLists): ws cleanup
8542
8543 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8544
8545         * language.C (read): Use iso8859-1 encoding in latex_lang
8546         (this prevents LyX from crashing when using iso10646-1 encoding).
8547
8548 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * text2.C (toggleInset): if cursor is inside an inset, close the
8551         inset and leave cursor _after_ it
8552
8553 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * lyxfunc.C: move minibuffer completion handling out of here
8556
8557 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8558
8559         * BufferView_pimpl.C:
8560         * LaTeX.C: fix dispatch calls
8561
8562 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8563
8564         * text.C (drawChars): Fix Arabic text rendering.
8565
8566 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8567
8568         * LyXAction.C:
8569         * commandtags.h:
8570         * lyxfunc.C: remove message-push/pop
8571
8572         * lyxserver.C:
8573         * lyxfunc.h:
8574         * lyxfunc.C: rationalise some code by removing verboseDispatch
8575           in favour of a bool argument to dispatch()
8576
8577 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8578
8579         * lyx_main.C (init): make sure to read symlinks as absolute paths
8580
8581 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * lyxfunc.h:
8584         * lyxfunc.C: no need for commandshortcut to be a member
8585
8586 2002-07-15  André Pönitz <poenitz@gmx.net>
8587
8588         * converter.C: add support for $$s (scripts from lib/scripts dir)
8589         * lyx_main.C: white space
8590
8591 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * bufferlist.C:
8594         * lyxrc.h:
8595         * lyxrc.C: remove second exit confirmation
8596
8597 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8598
8599         * BufferView.h:
8600         * BufferView.C:
8601         * BufferView2.C:
8602         * BufferView_pimpl.h:
8603         * BufferView_pimpl.C:
8604         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8605
8606 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8607
8608         * MenuBackend.C (expand): add numeric shortcuts to document menu
8609
8610         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8611
8612 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8613
8614         * lyxfont.C (setLyXFamily):
8615         (setLyXSeries):
8616         (setLyXShape):
8617         (setLyXSize):
8618         (setLyXMisc):
8619         (lyxRead):
8620         * debug.C (value):
8621         * buffer.C (asciiParagraph): use ascii_lowercase
8622
8623 2002-07-15  Mike Fabian  <mfabian@suse.de>
8624
8625         * lyxlex_pimpl.C (search_kw):
8626         * lyxlex.C (getLongString):
8627         * converter.h (operator<):
8628         * converter.C (operator<):
8629         * buffer.C (parseSingleLyXformat2Token):
8630         (asciiParagraph):
8631         * ToolbarDefaults.C (read):
8632         * MenuBackend.C (checkShortcuts):
8633         (read):
8634         * LColor.C (getFromGUIName):
8635         (getFromLyXName): use the compare_ascii_no_case instead of
8636         compare_no_case, because in turkish, 'i' is not the lowercase
8637         version of 'I', and thus turkish locale breaks parsing of tags.
8638
8639 2002-07-16  Angus Leeming  <leeming@lyx.org>
8640
8641         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8642         now takes a Buffer const & argument.
8643
8644 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * BufferView.C (resize): check there's a buffer to resize
8647
8648 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8649
8650         * lyxfunc.C: remove dead code
8651
8652         * lyxserver.h:
8653         * lyxserver.C: use lyx_guii::set_read_callback
8654
8655 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8656
8657         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8658         an inset in a RTL paragraph.
8659
8660 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * lyxfunc.C: repaint after a font size update
8663
8664 2002-07-15  André Pönitz <poenitz@gmx.net>
8665
8666         * lyxlength.C: inBP should be able to return negative values
8667
8668 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * lyxfunc.C: use lyx_gui::update_fonts()
8671
8672 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8673
8674         * lyxfunc.C: use lyx_gui::update_color()
8675
8676 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * bufferlist.C:
8679         * lyxfunc.h:
8680         * lyxfunc.C:
8681         * lyxrc.h:
8682         * lyxrc.C: remove file->new asks for name option, and let
8683           buffer-new take an argument
8684
8685 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * BufferView_pimpl.C: remove unneeded extra repaint()
8688
8689 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8690
8691         * LyXAction.C: allow command-sequence with NoBuffer
8692
8693         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8694
8695 2002-07-10  Angus Leeming  <leeming@lyx.org>
8696
8697         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8698
8699 2002-07-09  Angus Leeming  <leeming@lyx.org>
8700
8701         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8702
8703 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8704
8705         * lengthcommon.h: whitespace
8706
8707         * lyxfunc.C: update scrollbar after goto paragraph
8708
8709         * lyxtext.h: factor out page break drawing, and fix it so
8710           page break/added space paints as selected nicely
8711
8712 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8713
8714         * BufferView_pimpl.C: add FIXMEs, clean up a little
8715
8716 2002-07-09  André Pönitz <poenitz@gmx.net>
8717
8718         * lyxfont.[Ch]: support for wasy symbols
8719
8720 2002-07-08  André Pönitz <poenitz@gmx.net>
8721
8722         * BufferView_pimpl.C: apply John's patch for #93.
8723
8724 2002-07-05  Angus Leeming  <leeming@lyx.org>
8725
8726         * BufferView_pimpl.C (buffer): generate previews if desired.
8727
8728         * LColor.h: add "preview" to the color enum.
8729
8730         * LColor.C (LColor): add a corresponding entry to the items array.
8731
8732         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8733         with this buffer.
8734
8735 2002-07-05  Angus Leeming  <leeming@lyx.org>
8736
8737         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8738         The body of the code is now in the method that is passed an ostream &
8739         rather than a file name.
8740         Pass an additional only_preamble parameter, useful for the forthcoming
8741         preview stuff.
8742
8743 2002-07-03  André Pönitz <poenitz@gmx.net>
8744
8745         * lyxfunc.C: simplify getStatus() a bit for math stuff
8746
8747 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8748
8749         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8750
8751 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * text.C (changeRegionCase): do not change case of all the
8754         document when region ends at paragraph end (bug #461)
8755
8756 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * paragraph.C (startTeXParParams):
8759         (endTeXParParams): add \protect when necessary
8760
8761 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8762
8763         * BufferView_pimpl.C (workAreaExpose): remove warning
8764
8765 2002-06-27  Angus Leeming  <leeming@lyx.org>
8766
8767         * Makefile.am: add lyxlayout_ptr_fwd.h.
8768
8769 2002-06-26  André Pönitz <poenitz@gmx.net>
8770
8771         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8772
8773 2002-06-25  Angus Leeming  <leeming@lyx.org>
8774
8775         * lyxfunc.C (dispatch): Comment out the call to
8776         grfx::GCache::changeDisplay. The method no longer exists now that the
8777         pixmap generation part of the graphics loader has been moved into
8778         InsetGraphics.
8779
8780 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8781
8782         * text2.C: layout as layout
8783
8784         * text.C: layout as layout
8785
8786         * tabular.C (OldFormatRead): layout as layout
8787
8788         * paragraph_pimpl.C (TeXDeeper): layout as layout
8789         (realizeFont): layout as layout
8790
8791         * paragraph.C (writeFile): layout as layout
8792         (validate): layout as layout
8793         (getFont): layout as layout
8794         (getLabelFont): layout as layout
8795         (getLayoutFont): layout as layout
8796         (breakParagraph): layout as layout
8797         (stripLeadingSpaces): layout as layout
8798         (getEndLabel): layout as layout
8799         (getMaxDepthAfter): layout as layout
8800         (applyLayout): layout as layout
8801         (TeXOnePar): layout as layout
8802         (simpleTeXOnePar): layout as layout
8803         (TeXEnvironment): layout as layout
8804         (layout): layout as layout
8805         (layout): layout as layout
8806
8807         * lyxtextclass.C (compare_name): new functor to work with
8808         shared_ptr, layout as layout
8809         (Read): layout as layout
8810         (hasLayout): layout as layout
8811         (operator): layout as layout
8812         (delete_layout): layout as layout
8813         (defaultLayout): layout as layout
8814
8815         * lyxlayout_ptr_fwd.h: new file
8816
8817         * lyxlayout.C (Read): layout as layout
8818
8819         * lyx_cb.C (MenuInsertLabel): layout as layout
8820
8821         * bufferlist.C (newFile): layout as layout
8822
8823         * buffer.C (readLyXformat2): layout as layout
8824         (parseSingleLyXformat2Token): layout as layout
8825         (insertStringAsLines): layout as layout
8826         (asciiParagraph): layout as layout
8827         (latexParagraphs): layout as layout
8828         (makeLinuxDocFile): layout as layout
8829         (simpleLinuxDocOnePar): layout as layout
8830         (makeDocBookFile): layout as layout
8831         (simpleDocBookOnePar): layout as layout
8832         (getLists): layout as layout
8833
8834         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8835
8836         * CutAndPaste.C (cutSelection): layout as layout
8837         (pasteSelection): layout as layout
8838         (SwitchLayoutsBetweenClasses): layout as layout
8839
8840         * BufferView_pimpl.C (Dispatch): layout as layout
8841         (smartQuote): layout as layout
8842
8843         * BufferView2.C (unlockInset): layout as layout
8844
8845 2002-06-24  André Pönitz <poenitz@gmx.net>
8846
8847         * lyxfunc.C: fix #487
8848
8849 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * lyxrc.h:
8852         * lyxrc.C:
8853         * lyxfunc.C: remove display_shortcuts, show_banner
8854
8855 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * Buffer_pimpl.C: oops, update on resize
8858
8859 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8860
8861         * buffer.C:
8862         * converter.C:
8863         * exporter.C:
8864         * lyxfunc.C:
8865         * BufferView.h:
8866         * BufferView.C: use repaint()
8867
8868         * BufferView_pimpl.h:
8869         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8870           as it's a clearer description. Remove superfluous
8871           redraws.
8872
8873 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8874
8875         * text.C: fix bug 488. Not ideal, but getting
8876           getWord() to work properly for the insets that
8877           matter is more difficult ...
8878
8879 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * BufferView_pimpl.C:
8882         * LyXAction.C:
8883         * commandtags.h:
8884         * lyxfunc.C: remove the six million index lyxfuncs to just
8885           one, and DTRT (bug 458)
8886
8887 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8888
8889         * BufferView.h:
8890         * BufferView.C:
8891         * BufferView_pimpl.h:
8892         * BufferView_pimpl.C: clean up resize() stuff,
8893           and unnecessary updateScreen()s
8894
8895 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8896
8897         * BufferView.h:
8898         * BufferView.C:
8899         * BufferView_pimpl.h:
8900         * BufferView_pimpl.C:
8901         * lyxfind.h:
8902         * lyxfind.C:
8903         * minibuffer.C: remove focus management of workarea,
8904           not needed. Use screen's greyOut()
8905
8906 2002-06-17  Herbert Voss  <voss@lyx.org>
8907
8908         * converter.C: (convert) do not post a message, when converting
8909         fails, let the calling function decide what to do in this case
8910
8911 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * lyxfunc.C: tidy up a little
8914
8915 2002-06-16    <alstrup@diku.dk>
8916
8917         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8918         Got rid of FORMS_H_LOCATION include. Now we are
8919         GUII.
8920
8921 2002-06-15  LyX Development team  <lyx@rilke>
8922
8923         * buffer.[Ch] (sgmlOpenTag):
8924         (sgmlCloseTag): Added support for avoiding pernicious mixed
8925         content. Return number of lines written.
8926
8927         (makeLinuxDocFile):
8928         (makeDocBookFile): Fixed calls to sgml*Tag.
8929         Simple white space clean.
8930
8931         (simpleDocBookOnePar): Simple white space clean.
8932
8933         * tabular.[Ch] (docBook): Renamed to docbook and got another
8934         argument to related with the pernicious mixed content.
8935
8936         (docbookRow): Fixed calls for docbook inset method.
8937
8938 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8939
8940         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8941         so it's X11 independent.
8942
8943         * kb*.[Ch]: ditto.
8944
8945         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8946
8947 2002-06-15  Lyx Development team  <lyx@electronia>
8948
8949         * intl.h: Renamed getTrans to getTransManager.
8950
8951 2002-06-14  Angus Leeming  <leeming@lyx.org>
8952
8953         * Makefile.am: nuke forgotten stl_string_fwd.h.
8954
8955 2002-06-12  Angus Leeming  <leeming@lyx.org>
8956
8957         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8958
8959 2002-06-13  Angus Leeming  <leeming@lyx.org>
8960
8961         * LaTeX.C:
8962         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8963
8964 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8965
8966         * kbmap.C (getiso): add support for cyrillic and greek
8967
8968 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * BufferView.h:
8971         * BufferView.C:
8972         * BufferView_pimpl.h:
8973         * BufferView_pimpl.C: move bogus scrolling logic
8974           to xforms
8975
8976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * lyxfunc.C:
8979         * BufferView_pimpl.C: view->resize() change
8980
8981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * BufferView_pimpl.C: topCursorVisible
8984           prototype change
8985
8986 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * Makefile.am:
8989         * lyx_gui.h:
8990         * lyx_gui.C: move to frontends/
8991
8992         * main.C:
8993         * lyx_main.h:
8994         * lyx_main.C: changes from above
8995
8996 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * intl.C:
8999         * intl.h:
9000         * kbmap.C:
9001         * kbsequence.C:
9002         * lyx_cb.C:
9003         * lyx_main.C: minor tidy
9004
9005 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * BufferView_pimpl.h:
9008         * BufferView_pimpl.C:
9009         * BufferView.h:
9010         * BufferView.C: make painter() const,
9011           remove dead code
9012
9013         * BufferView2.C: use screen() accessor
9014
9015         * lyx_main.h:
9016         * lyx_main.C: some minor cleanup
9017
9018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * BufferView_pimpl.h:
9021         * BufferView_pimpl.C: remove enter/leaveView,
9022           use workHeight()
9023
9024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * BufferView.h:
9027         * BufferView.C:
9028         * BufferView2.C:
9029         * BufferView_pimpl.h:
9030         * BufferView_pimpl.C: only construct screen once,
9031           rename
9032
9033         * lyxrc.C: remove pointless comment
9034
9035 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9036
9037         * BufferView.h:
9038         * BufferView.C: remove active() and belowMouse()
9039
9040         * BufferView_pimpl.h:
9041         * BufferView_pimpl.C: use workarea() not workarea_,
9042           and make it use a scoped_ptr instead
9043
9044 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * lyx_gui.C: add debug message on BadWindow
9047
9048 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9049
9050         * sp_spell.C: fdopen is not part of the C++ standard.
9051
9052         * paragraph.C (InsetIterator): use >= instead of ==
9053
9054 2002-06-07  Angus Leeming  <leeming@lyx.org>
9055
9056         Fixes needed to compile with Compaq cxx 6.5.
9057         * BufferView_pimpl.C:
9058         * DepTable.C:
9059         * buffer.C:
9060         * converter.C:
9061         * encoding.C:
9062         * lyx_gui.C:
9063         * lyx_main.C:
9064         * lyxtextclasslist.C:
9065         * minibuffer.C:
9066         * sp_spell.C:
9067         * tabular_funcs.C:
9068         * vc-backend.C:
9069         all c-library variables have been moved into namespace std. Wrap
9070         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9071
9072         * lyxlength.C:
9073         * tabular-old.C:
9074         * tabular.C:
9075         Add a using std::abs declaration.
9076
9077         * kbmap.h (modifier_pair):
9078         * paragraph.h (InsetTable, InsetList):
9079         * lyxfont.h (FontBits):
9080         type definition made public.
9081
9082         * bufferlist.C (emergencyWriteAll): the compiler complains that
9083         there is more than one possible lyx::class_fun template to choose from.
9084         I re-named the void specialisation as lyx::void_class_fun.
9085
9086         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9087
9088         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9089         the compiler is is unable to find tostr in write_attribute.
9090
9091 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9092
9093         * buffer.C (sgmlError): hide #warning
9094
9095 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * xtl/*: get rid of xtl, which is not in use anyway
9098
9099         * LyXAction.C (init):
9100         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9101         were unimplemented xtl experimentation
9102
9103 2002-06-04  André Pönitz <poenitz@gmx.net>
9104
9105         * lyxfunc.C: disable array operation on simple formulae
9106
9107 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * converter.C: constify a bit
9110
9111 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * lyx_gui.C: check xforms version correctly
9114
9115 2002-04-30  Herbert Voss  <voss@lyx.org>
9116
9117         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9118         "keep" option
9119
9120 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9123           attempt to register it with a VCS)
9124
9125 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyx_main.C (init): honor variables LYX_DIR_13x and
9128         LYX_USERDIR_13x
9129
9130 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9131
9132         * buffer.h:
9133         * buffer.C:
9134         * lyx_main.C: fix a crash on bad command line,
9135           and give a useful exit status on error
9136
9137         * lyxfunc.C (doImport): allow -i lyx to work
9138
9139 2002-03-30  André Pönitz <poenitz@gmx.net>
9140
9141         * lyxfunc.C: mathed font changes
9142
9143 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * LaTeX.C:
9146         * importer.h:
9147         * importer.C:
9148         * lyx_sty.h:
9149         * lyx_sty.C:
9150         * lyxlex.C:
9151         * lyxrow.h:
9152         * lyxtext.h:
9153         * paragraph.h:
9154         * paragraph.C:
9155         * texrow.h:
9156         * texrow.C:
9157         * text.C:
9158         * trans_mgr.h: srcdocs, and some minor cleanups
9159
9160 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9161
9162         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9163         call getFont all the time)
9164
9165 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9166
9167         * switch from SigC signals to boost::signals
9168
9169 2002-05-29  André Pönitz <poenitz@gmx.net>
9170
9171         * paragraph_pimpl.C (getChar): don't call size() too often...
9172
9173 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9174
9175         * paragraph_pimpl.C (insertChar): do not try to update tables when
9176         appending (pos == size())
9177
9178         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9179         in order to reduce drastically the number of comparisons needed to
9180         parse a large document
9181
9182 2002-05-29  André Pönitz <poenitz@gmx.net>
9183
9184         * text.C:
9185         * text2.C:
9186         * lyxtextclass.C:
9187         * sp_pspell.h:
9188         * textclasslist.[Ch]:
9189         * sp_ispell.h: whitespace change
9190
9191 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9194         lyxaction directly now.
9195
9196 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * trans.C:
9199         * lyxfont.C:
9200         * lyxvc.C: remove unused headers
9201
9202 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * Makefile.am:
9205         * buffer.h:
9206         * undostack.h:
9207         * undostack.C:
9208         * undo_funcs.h:
9209         * undo_funcs.C: some cleanups. Use shared_ptr
9210           and a template for the undo stacks.
9211
9212 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * BufferView_pimpl.h:
9215         * BufferView_pimpl.C:
9216         * kbmap.h:
9217         * kbmap.C:
9218         * kbsequence.h:
9219         * kbsequence.C:
9220         * lyxfunc.h:
9221         * lyxfunc.C:
9222         * text2.C: use key_state/mouse_state
9223
9224 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9227         and LSubstring
9228
9229         * chset.C: change include order
9230         (loadFile): use boost regex and get rid of LRegex and LSubstring
9231
9232         * Makefile.am (BOOST_LIBS): new variable
9233         (lyx_LDADD): use it
9234
9235         * LaTeX.C: change include order.
9236         (scanAuxFile): use boost regex and get rid of LRegex and
9237         LSubstring
9238         (deplog): ditto
9239
9240 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * ColorHandler.h:
9243         * ColorHandler.C:
9244         * FontInfo.h:
9245         * FontInfo.C: moved to frontends/xforms/
9246
9247         * FontLoader.h:
9248         * FontLoader.C: moved into frontends for GUIIzation
9249
9250         * Makefile.am:
9251         * lyx_gui.C:
9252         * lyxfont.C:
9253         * lyxfunc.C: changes from above
9254
9255 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9256
9257         * LColor.C: remove spurious X include
9258
9259         * BufferView_pimpl.C:
9260         * Makefile.am:
9261         * font.h:
9262         * font.C:
9263         * text.C:
9264         * text2.C: move font metrics to frontends/
9265
9266 2002-05-24  Juergen Vigna  <jug@sad.it>
9267
9268         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9269         setting the undo_cursor.
9270
9271         * ParagraphParameters.h: include local includes first.
9272
9273 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * BufferView_pimpl.C:
9276         * BufferView_pimpl.h:
9277         * Makefile.am:
9278         * WorkArea.h:
9279         * WorkArea.C:
9280         * screen.C: move WorkArea into frontends/
9281
9282         * lyxscreen.h:
9283         * screen.C:
9284         * text.C:
9285         * BufferView.C:
9286         * BufferView2.C: move LyXScreen into frontends/
9287
9288         * lyxlookup.h:
9289         * lyxlookup.C:
9290         * lyx_gui.C: move lyxlookup into frontends/xforms/
9291
9292 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9293
9294         * BufferView2.C:
9295         * BufferView_pimpl.C:
9296         * FontLoader.C:
9297         * LyXView.h:
9298         * LyXView.C:
9299         * Makefile.am:
9300         * WorkArea.C:
9301         * XFormsView.h:
9302         * XFormsView.C:
9303         * buffer.C:
9304         * bufferlist.C:
9305         * bufferview_funcs.C:
9306         * converter.C:
9307         * importer.C:
9308         * lyx_cb.C:
9309         * lyx_gui.C:
9310         * lyx_main.C:
9311         * lyx_find.C:
9312         * lyxfunc.C:
9313         * lyxvc.C:
9314         * minibuffer.C:
9315         * text.C:
9316         * text2.C:
9317         * trans.C:
9318         * vc-backend.C: move LyX/XFormsView into frontends/
9319
9320 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * Makefile.am:
9323         * PainterBase.C:
9324         * PainterBase.h:
9325         * Painter.C:
9326         * Painter.h:
9327         * WorkArea.C:
9328         * WorkArea.h:
9329         * screen.C:
9330         * tabular.C:
9331         * text.C:
9332         * text2.C: move Painter to frontends/
9333
9334 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * buffer.C: comment out some some code that depend upon lyx_format
9337         < 220
9338
9339         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9340         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9341
9342         * buffer.h (NO_COMPABILITY): turn off compability
9343
9344         * ColorHandler.C: include scoped_array.hpp
9345
9346         * font.C: Use more specific smart_ptr header.
9347         * Painter.C: ditto
9348         * gettext.C: ditto
9349         * ShareContainer.h: ditto
9350         * lyx_main.h: ditto
9351         * kbmap.h: ditto
9352         * FontInfo.h: ditto
9353         * BufferView_pimpl.h: ditto
9354         * ColorHandler.h: ditto
9355
9356         * kbmap.C (defkey): change call to shared_ptr::reset
9357
9358 2002-05-21  Juergen Vigna  <jug@sad.it>
9359
9360         * buffer.C (insertErtContents): fix to insert ert asis if it is
9361         non empty. Skip it completely if it contains only whitespaces.
9362
9363 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9364
9365         * BufferView_pimpl.C:
9366         * BufferView2.C: clear selection on paste (bug 393)
9367
9368 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * DepTable.C: include ctime
9371
9372 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9373
9374         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9375
9376 2002-05-14  Juergen Vigna  <jug@sad.it>
9377
9378         * text.C (breakParagraph): fixed function to honor the keepempty
9379         layout in the right maner and also to permit the right breaking
9380         algorithm on empty or non empyt keepempty paragraphs.
9381
9382         * paragraph.C (breakParagraph): we have to check also if the par
9383         is really empty (!size()) for isempty otherwise we do the wrong
9384         paragraph break.
9385
9386 2002-05-10  Juergen Vigna  <jug@sad.it>
9387
9388         * buffer.[Ch] : The following are only changes to the ert
9389         compatibility read reading old LaTeX layout and font stuff and
9390         convert it to ERTInsets.
9391
9392         * buffer.h: added isErtInset().
9393
9394         * buffer.C (struct ErtComp): add a fromlayout bool to check
9395         if we're inside a LaTeX layout.
9396         (isErtInset): new helper function.
9397         (insertErtContents): look for other ert insets before this one
9398         and insert the contents there, so that we don't have subsequent
9399         ERT insets with nothing between them. This way we create only one
9400         inset with multiple paragraphs. Also check if we don't insert only
9401         spaces ' ' as they are ignored anyway afterwards in the .tex file
9402         so if we have only spaces we will ignore this latex part in the
9403         new file.
9404         (parseSingleLyXformat2Token \\layout): better compatibility when
9405         reading layout-latex stuff.
9406         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9407         language tag.
9408         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9409         stuff after reading the inset only get the information back from
9410         the stack.
9411
9412 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9413
9414         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9415
9416         * LaTeXFeatures.C (getBabelOptions): New method.
9417
9418 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9419
9420         * BufferView_pimpl.C (Dispatch): work around missing argument for
9421         'layout'
9422
9423 2002-05-08  Juergen Vigna  <jug@sad.it>
9424
9425         * text.C (leftMargin): handle paragraph leftindent.
9426
9427         * paragraph.C (writeFile): write the new \\leftindent tag.
9428         (validate): handle leftindent code.
9429         (TeXEnvironment): handle paragraphleftindent code again.
9430
9431         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9432
9433         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9434         for paragrap_extra indent code and new token \\leftindent.
9435         (latexParagraphs): handle the leftindent as environment.
9436
9437         * ParameterStruct.h: added leftindent support.
9438
9439         * ParagraphParameters.C (leftIndent): added support functions for
9440         the paragraph left indent.
9441
9442         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9443         more appropriate.
9444
9445 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9446
9447         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9448         inside insetERT.
9449
9450         * text.C (computeBidiTables): No bidi in insetERT.
9451
9452         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9453         in RTL documents.
9454
9455 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9456
9457         * version.C.in: pre 5
9458
9459 2002-05-02  José Matos  <jamatos@fep.up.pt>
9460         * buffer.C (makeDocBookFile): white space changes, add newline to
9461         command styles.
9462         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9463
9464         * tabular.C (docBook): fix typo.
9465
9466 2002-05-03  Juergen Vigna  <jug@sad.it>
9467
9468         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9469         change in LyXText as we can not be sure it was not freed.
9470         (drawOneRow): remove unused code.
9471
9472         * text.C (drawInset): redo the calculation of the need_break_row as
9473         it could have a row which was already freed.
9474         (draw): look at the return value of drawInset and return false if
9475         it also returned false.
9476         (paintRowText): look at the return value of draw and return false if
9477         it also returned false.
9478
9479         * lyxtext.h: added bool return type to drawInset() and draw() so that
9480         if we have a change in the row so that the rowbreak has to be redone
9481         we abort drawing as it will be called again.
9482
9483 2002-05-02  Juergen Vigna  <jug@sad.it>
9484
9485         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9486         a change in the maintext also if we're inside an inset.
9487         (Dispatch): set the cursor again after a break line and after the
9488         screen has been updated as it could be we're in a different row.
9489
9490         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9491         to set the cursor behind the pargraph with > size().
9492         (setCursor): check also for the same paragraph when checking where
9493         to put the cursor if we have a NFR inset.
9494
9495         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9496         parts of layout read further up as it still was in the wrong
9497         position.
9498
9499 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * screen.C (drawFromTo): change sine fullRebreak always return
9502         true.
9503
9504         * buffer.C (parseSingleLyXformat2Token): reindent some
9505
9506         * BufferView_pimpl.C (update): change since fullRebreak always
9507         return true.
9508         (Dispatch): git rid of the last hardcoded "Standard"s.
9509
9510 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9511
9512         * text2.[Ch] (fullRebreak): make it return void now that we always
9513         returned true.
9514
9515 2002-04-30  Juergen Vigna  <jug@sad.it>
9516
9517         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9518         ert compatibility check for "latex" layout.
9519
9520 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9523         minipages: use col% instead of p%, and also use the current font.
9524         (makeLaTeXFile): Fix use babel condition.
9525         (parseSingleLyXformat2Token): Correct font when reading old floats.
9526
9527 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9528
9529         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9530         inserting list of floats.
9531
9532 2002-04-25  Herbert Voss  <voss@lyx.org>
9533
9534         * MenuBackend.C (expand): don't add the graphics extensions to the
9535         export menu
9536
9537 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9540         non-existing layout, do not complain if it was the default layout
9541         of the original class (bug #342)
9542
9543 2002-04-24  Juergen Vigna  <jug@sad.it>
9544
9545         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9546         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9547
9548 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9549
9550         * buffer.C (getBibkeyList): If using \bibliography, return the
9551         option field with the reference itself. Enables us to provide natbib
9552         support when using \bibliography.
9553
9554 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9555
9556         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9557
9558         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9559         natbib is provided by the LaTeX class.
9560
9561 2002-04-23  Juergen Vigna  <jug@sad.it>
9562
9563         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9564         Wakeup functions.
9565
9566         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9567
9568 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9571
9572         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9573         ensuremath around textordmasculine, textordfeminine and
9574         textdegree.
9575
9576 2002-04-19  Juergen Vigna  <jug@sad.it>
9577
9578         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9579         reinitializing the buffer otherwise row-dimensions may be wrong.
9580         (update): reset also the selection cursors if they do exits otherwise
9581         their x/y positions may be wrong.
9582
9583         * text2.C (cursorDown): don't enter the inset if we came from a row
9584         above and are one row over the inset.
9585
9586         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9587         really leaving an inset.
9588
9589 2002-04-18  Juergen Vigna  <jug@sad.it>
9590
9591         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9592         of the selected paragraph does not have the selected layout also if
9593         the last one had!
9594
9595         * text2.C (setLayout): fixed bug which did not change last selected
9596         paragraph.
9597
9598         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9599         changed the read and substituted \\end_float with \\end_inset!
9600
9601         * BufferView_pimpl.C (cursorPrevious):
9602         (cursorNext): fixed to make it work with rows heigher than the work
9603         area without moving the cursor only the draw of the row.
9604         (workAreaMotionNotify): fix jumping over high rows.
9605
9606 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9609         Ressler.
9610
9611 2002-04-16  Juergen Vigna  <jug@sad.it>
9612
9613         * text2.C (setCursor): set also the irow().
9614         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9615         (cursorUp):
9616         (cursorDown): support for locking an inset if the x_fix value goes
9617         inside it. That way I can transverse insets too with cursor up/down.
9618
9619         * lyxrow.h: added irow helper function same as other (i) functions.
9620
9621         * BufferView_pimpl.C (cursorPrevious):
9622         (cursorNext): fixed for insets!
9623
9624 2002-04-15  Juergen Vigna  <jug@sad.it>
9625
9626         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9627         position otherwise it is wrong in some cases.
9628
9629         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9630         inside the inset before the call.
9631
9632 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9633
9634         * buffer.[Ch] (getBibkeyList): make it const.
9635
9636 2002-04-12  Juergen Vigna  <jug@sad.it>
9637
9638         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9639
9640         * text2.C (getCursorX): new helper function
9641         (setCursor): compute also ix_
9642         (setCursorFromCoordinates): set also ix.
9643
9644         * lyxcursor.h: added ix_ and helper functions.
9645
9646         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9647
9648         * buffer.C (insertStringAsLines): dont break paragraph if the this
9649         paragraph is inside an inset which does not permit it!
9650
9651         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9652         also with no chars on this paragraph.
9653         (paintRowText): only paint stuff if it's inside the workarea!
9654
9655         * paragraph.C (breakParagraph): honor keepempty flag and break the
9656         paragraph always below not above.
9657
9658         * BufferView2.C (unlockInset): update the paragraph layout on inset
9659         unlock as we changed paragraph in such a case.
9660
9661         * lyxfind.C (LyXFind): clear the former selection if not found!
9662
9663         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9664         again called in insertChar().
9665
9666         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9667         an inset which uses the whole row!
9668         (rightMargin): ditto.
9669         (insertChar): force a rebreak if we inserted an inset!
9670
9671 2002-03-28  Herbert Voss  <voss@lyx.org>
9672
9673         * lyxlength.[Ch]: add inBP() to get the right PS-point
9674         units (BigPoint). With inPixels we have rounding errors
9675
9676 2002-04-11  Juergen Vigna  <jug@sad.it>
9677
9678         * text2.C (setCursorFromCoordinates): set iy to the right value.
9679         (setCursor): add check if row->previous exists!
9680
9681         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9682         an old float_type as this was the case in the old code!
9683
9684         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9685
9686         * BufferView2.C (showLockedInsetCursor): use iy
9687         (fitLockedInsetCursor): ditto
9688
9689         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9690         locked insets as there we have the right value now.
9691
9692         * lyxcursor.C: added iy_ variable and iy functions to set to the
9693         baseline of cursor-y of the locked inset.
9694
9695         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9696         (setCursor): fixed for insets which need a full row.
9697
9698         * text.C (rowLastPrintable): don't ignore the last space when before
9699         an inset which needs a full row.
9700         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9701         as last character of a row when before a inset which needs a full row.
9702
9703 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9704
9705         * version.C.in: update date
9706
9707         * text2.C (fullRebreak): try to always return true and see what
9708         happens...
9709
9710 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * MenuBackend.C (expand): use Floating::listName
9713
9714         * FloatList.C (FloatList): add listName argument to the built-in
9715         floats
9716
9717         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9718         text associated with the float.
9719
9720 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9721
9722         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9723
9724 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * ShareContainer.h: add a couple of missing typenames.
9727
9728 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9729
9730         * lyxrc.C (getDescription): use _() correctly rather than N_().
9731
9732 2002-03-28  Herbert Voss  <voss@lyx.org>
9733
9734         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9735         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9736
9737 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9740         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9741
9742 2002-03-29  Juergen Vigna  <jug@sad.it>
9743
9744         * lyxfunc.C (dispatch): add a missing fitCursor call.
9745
9746         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9747         it was scrolled by a cursor move, so return the bool status.
9748
9749         * BufferView.C (fitCursor): return the bool flag also to the outside
9750         world as this is needed.
9751
9752         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9753
9754         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9755         call the edit() as it is not needed (and wrong) IMO.
9756         (workAreaButtonPress): set the screen_first variable before evt.
9757         unlock the inset as this may change screen_first and then we have
9758         a wrong y position for the click!
9759
9760 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9761
9762         * MenuBackend.C (expand): another translation that I missed
9763
9764 2002-03-28  Juergen Vigna  <jug@sad.it>
9765
9766         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9767
9768         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9769
9770 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9771
9772         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9773
9774         * MenuBackend.C (expand): fix export/view/update when there is no
9775         document open.
9776
9777 2002-03-27  Herbert Voss  <voss@lyx.org>
9778
9779         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9780         and text%
9781
9782 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * bufferview_funcs.C (currentState): only show paragraph number
9785         for is DEVEL_VERSION is set.
9786
9787         * lyxfunc.C (dispatch): put warning in INFO channel
9788
9789         * MenuBackend.C (expand): translate the name of floats
9790
9791         * FloatList.C (FloatList): mark the float names for translation
9792
9793         * converter.C (convert): use LibScriptSearch
9794
9795 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * MenuBackend.C (defaults): fix default menu (we might as well get
9798         rid of it...)
9799
9800 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9801
9802         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9803         directory.
9804
9805 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * lyxvc.C: reorder includes.
9808
9809 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9812           properly
9813
9814 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * CutAndPaste.C: change layouts earlier on paste
9817           to avoid crashing when calling getFont()
9818
9819 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9820
9821         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9822         irritating #error.
9823
9824 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9825
9826         * WorkArea.C: remove 'Pending' debug message.
9827
9828         * most files: ws cleanup
9829
9830         * buffer.[Ch]: ws changes
9831
9832         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9833
9834 2002-03-21  Juergen Vigna  <jug@sad.it>
9835
9836         * tabular.C (SetMultiColumn): collapse also the contents of the
9837         cells and set the last border right. Added a Buffer const * param.
9838
9839 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9840
9841         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9842         linking or not.
9843
9844 2002-03-19  Juergen Vigna  <jug@sad.it>
9845
9846         * text2.C (clearSelection): reset also xsel_cache.
9847
9848         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9849         where it needs to be called (John tells us to do so too :)
9850         (selectionLost): reset sel_cache.
9851
9852         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9853
9854 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * text2.C (setCursorIntern): put debuging code in INSETS channel
9857
9858 2002-03-19  André Pönitz <poenitz@gmx.net>
9859
9860         * lyxfunc.C: tiny whitespace change
9861
9862 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9863
9864         * ToolbarDefaults.C (init):
9865         * LyXAction.C (init):
9866         * commandtags.h:
9867         * BufferView_pimpl.C (Dispatch):
9868         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9869
9870 2002-03-19  Allan Rae  <rae@lyx.org>
9871
9872         * exporter.C (Export): removeAutoInsets before doing anything else.
9873         While I've just introduced a dependency on BufferView this really is
9874         the best place to clean the buffer otherwise you need to cleanup in
9875         a dozen places before calling export or cleanup in a dozen functions
9876         that export calls.
9877
9878         * converter.C (runLaTeX):
9879         (scanLog): Better handling of removeAutoInsets and screen updates.
9880
9881         * lyxfunc.C (dispatch): small whitespace changes
9882
9883 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9884
9885         * WorkArea.C (C_WorkAreaEvent): return a value.
9886         (event_cb): return 1 if we handled the event, 0 otherwise.
9887
9888         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9889
9890 2002-03-18  Juergen Vigna  <jug@sad.it>
9891
9892         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9893         (GetAdditionalWidth): ditto.
9894         (RightLine): ditto.
9895         (LeftLine): ditto.
9896
9897         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9898         inset if we're there actually (probably not used right now but this
9899         is the direction to go for unifying code).
9900         (paste): disable code to clear the selection.
9901
9902         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9903         inside an InsetText and move the check further up as it is in the
9904         wrong place.
9905
9906         * text2.C (pasteSelection): set a selection over the pasted text.
9907
9908 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9909
9910         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9911         and libgraphics to build on Cygwin.
9912
9913 2002-03-15  Juergen Vigna  <jug@sad.it>
9914
9915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9916         inserting an Inset into the paragraph. I know this is not the best
9917         fix but we already use current_view in CutAndPaste so we will remove
9918         all of it's using at the same time.
9919
9920         * buffer.C (sgmlError): deactivated function till it is rewritten in
9921         the right mode, now it can create problems.
9922
9923         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9924         before accessing it.
9925
9926 2002-03-14  Juergen Vigna  <jug@sad.it>
9927
9928         * undo_funcs.C (textHandleUndo): do the right thing when updating
9929         the inset after the undo/redo.
9930
9931         * text2.C (setCursor): just some testcode for #44 not ready yet.
9932
9933         * undo_funcs.C (textHandleUndo): set the next() and previous()
9934         pointers of the paragraph to 0 before deleting otherwise we have
9935         problems with the Paragraph::[destructor].
9936
9937         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9938         on a paragraph insertion.
9939
9940 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9941
9942         * buffer.C (asciiParagraph): use += operator for char append to
9943         string.
9944
9945         * paragraph.C (getFontSettings): compare >= not just >
9946         (highestFontInRange): ditto
9947         (setFont): ditto
9948
9949 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * paragraph.C: change several algorithm to be more appripriate for
9952         the problem domain. This is lookip in FontList and in the InsetList.
9953
9954 2002-03-13  André Pönitz <poenitz@gmx.net>
9955
9956         * commandtags.h:
9957         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9958
9959 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * commandtags.h:
9962         * LyXAction.C:
9963         * lyxfunc.C:
9964         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9965
9966 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * Painter.C (display): anon helper function, adjust code for this
9969         change.
9970         (pixmap): remove function.
9971
9972         * Painter.h: remove private display variable.
9973
9974         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9975
9976 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * WorkArea.[Ch]: remove figinset_canvas cruft.
9979
9980 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9981
9982         * lyxtextclass.C (operator): add one item cache optimization.
9983
9984         * bufferlist.h: doxy changes
9985
9986         * bufferlist.C: ws changes
9987
9988         * DepTable.[Ch] (ext_exist): place const in the right spot.
9989
9990         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9991         call resizeInsets.
9992         (workAreaExpose): call resizeInsets when the with BufferView changes.
9993         (Dispatch): adjust for protectedBlank removal
9994         (specialChar): call updateInset if the insert went ok.
9995
9996         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9997         specialChar instead.
9998
9999         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10000
10001         * BufferView.h: doxy change
10002
10003         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10004
10005         * lyxtextclass.C (operator[]): remove non-const version
10006         (defaultLayout): remove non-const version
10007
10008 2002-03-12  Juergen Vigna  <jug@sad.it>
10009
10010         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10011         did resize the LyXText too.
10012
10013         * buffer.C (readLyXformat2): set layout information on newly allocated
10014         paragraphs.
10015
10016         * tabular.C (OldFormatRead): set layout information on the paragraph.
10017
10018 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10019
10020         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10021
10022 2002-03-11  Juergen Vigna  <jug@sad.it>
10023
10024         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10025         plainly wrong.
10026         (resizeCurrentBuffer): force also the insets to resize themselfes.
10027         (moveCursorUpdate): fixed up for InsetText.
10028
10029 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10030
10031         * commandtags.h:
10032         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10033         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10034         value of Dialogs::tooltipsEnabled().
10035         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10036
10037 2002-03-08  Juergen Vigna  <jug@sad.it>
10038
10039         * BufferView_pimpl.C (updateInset): update inset inside inset also
10040         if it isn't inside theLockingInset().
10041
10042 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10043
10044         * buffer.C (asciiParagraph): redo some of the word and line length
10045         handling.
10046         (getLists): look for Caption instead of caption.
10047
10048 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * buffer.C (Buffer): initialize niceFile to true
10051         (makeLaTeXFile):
10052         (makeLinuxDocFile):
10053         (makeDocBookFile): make sure niceFile is true on exit
10054
10055 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10058
10059 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10060
10061         * LyXSendto.C: remove.
10062         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10063         * lyx_gui.C: remove now-redundant comment.
10064         * ColorHandler.h: remove forward declaration of class WorkArea.
10065         * lyxfunc.C: remove #include "WorkArea.h".
10066
10067 2002-03-07  Juergen Vigna  <jug@sad.it>
10068
10069         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10070         got moved away with the DEPM and also set the inset_owner always
10071         right which before could have been omitted.
10072
10073 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10076         wanted layout is not found.
10077
10078 2002-03-07  Juergen Vigna  <jug@sad.it>
10079
10080         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10081
10082 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10083
10084         * paragraph.C (breakParagraph): use default layout not layout of
10085         prev paragraph.
10086         (Paragraph): clear ParagraphParameters.
10087
10088 2002-03-06  Juergen Vigna  <jug@sad.it>
10089
10090         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10091         otherwise it would not be a valid lenght. Fixed a special case in
10092         the minipage compatibility read where we end the document with a
10093         minipage.
10094
10095         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10096         was set as it could be 0 for InsetTexts first entry.
10097
10098 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * paragraph.C (writeFile): if layout is empty write out
10101         defaultLayoutName().
10102
10103         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10104         file without named layout we set layout to defaultLayoutName().
10105
10106 2002-03-06  Juergen Vigna  <jug@sad.it>
10107
10108         * CutAndPaste.C (copySelection): set layout for new paragraph.
10109
10110         * text.C (prepareToPrint): leave ERT inset left aligned
10111         (leftMargin): don't indent paragraphs inside ERT insets
10112
10113 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10114
10115         * paragraph.C (breakParagraph): dont call clear do the work manually
10116
10117         * paragraph.[Ch] (clear): remove function
10118
10119 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10120
10121         * paragraph.C (Paragraph): dont call clear, the work has already
10122         been done.
10123
10124         * lyxtextclass.C (operator): assert if n is empty
10125
10126         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10127         work manually instead.
10128
10129 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView_pimpl.C: protect selectionLost against text == 0
10132
10133 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10134
10135         * text.C (breakParagraph): fix a setting layout to '0' problem.
10136
10137 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10138
10139         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10140         final location of file, for the included files, and graphics.
10141
10142 2002-03-05  Juergen Vigna  <jug@sad.it>
10143
10144         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10145
10146 2002-03-04  Juergen Vigna  <jug@sad.it>
10147
10148         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10149
10150         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10151         last column of multicolumn cells.
10152         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10153
10154 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10155
10156         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10157         file if it doesn't go to a temporary file.
10158
10159         * buffer.C (sgmlOpenTag):
10160         (sgmlCloseTag):  remove extra newline insertion.
10161
10162 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10163
10164         * text.C (getRowNearY): comment out debug msg
10165
10166 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10167
10168         * text2.C: first -> first_y
10169
10170         * text.C (getRowNearY): add some attemts at a possible
10171         optimization, not working.
10172
10173         * tabular.[Ch]: add BufferParams to several function so that newly
10174         created paragraph can be initialized to he default layotu for the
10175         buffers textclass.
10176
10177         * tabular-old.C (ReadOld): add buf->params to call of Init
10178
10179         * screen.C: rename text->first to text->first_y
10180
10181         * paragraph.C (breakParagraph): always set layout in the broken
10182         paragraph
10183
10184         * lyxtextclass.C (Read): remove lowercase
10185         (hasLayout): ditto
10186         (operator): ditto
10187         (delete_layout): ditto
10188
10189         * lyxtext.h: rename first -> first_y
10190
10191         * lyxlayout.C (Read): remove lowercase
10192         (name): ditto
10193         (setName): ditto
10194         (obsoleted_by): ditto
10195
10196         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10197
10198         * buffer.C (insertErtContents): add params are to InsetERT
10199         (parseSingleLyXformat2Token): add code to check if a paragraphs
10200         layout really exist.
10201         (parseSingleLyXformat2Token): add params to several inset
10202         constructors
10203         (asciiParagraph): remove lowercase, do the layout comparisons with
10204         no_case
10205
10206         * BufferView_pimpl.C (cursorNext): first -> first_y
10207         (resizeCurrentBuffer): first -> first_y
10208         (updateScrollbar): first -> first_y
10209         (scrollCB): first -> first_y
10210         (workAreaMotionNotify): first -> first_y
10211         (workAreaButtonPress): first -> first_y
10212         (checkInsetHit): first -> first_y
10213         (cursorPrevious): first -> first_y
10214         (cursorNext): first -> first_y
10215         (Dispatch): add buffer_->params to severl inset contructors
10216
10217 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * lyxlayout.C (Read): remove some debug info that I forgot.
10220
10221         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10222         clean up the code slightly.
10223         (makeLinuxDocFile): ditto
10224         (makeDocBookFile): ditto
10225
10226         * text2.C: layout as string
10227
10228         * text.C: layout as string
10229
10230         * paragraph_pimpl.C: layout as string
10231
10232         * paragraph.[Ch]: layout as string
10233
10234         * lyxtextclasslist.[Ch]: layout as string
10235
10236         * lyxtextclass.[Ch]: layout as string
10237
10238         * lyxtext.h: layout as string
10239
10240         * lyxlayout.[Ch]: layout as string
10241
10242         * lyx_cb.C: layout as string
10243
10244         * bufferview_funcs.C: layout as string
10245
10246         * bufferparams.C: layout as string
10247
10248         * buffer.C: layout as string
10249
10250         * LyXView.[Ch]: layout as string
10251
10252         * LaTeXFeatures.[Ch]: layout as string
10253
10254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10255
10256         * BufferView_pimpl.C: change current_layout to string, remove
10257         lyx::layout_type.
10258         (Dispatch):
10259         (smartQuote):
10260         (insertInset):
10261         (workAreaButtonRelease): layout as string
10262
10263         * BufferView2.C (unlockInset): adjust
10264
10265         * vspace.C (asLatexCommand): use an explict temp variable.
10266
10267 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * Makefile.am: use FRONTEND_*
10270
10271 2002-03-01  Juergen Vigna  <jug@sad.it>
10272
10273         * tabular.C (SetWidthOfMulticolCell): changed to something better
10274         I hope but still work in progress.
10275         (recalculateMulticolumnsOfColumn): renamed function from
10276         recalculateMulticolCells as it is more appropriate now.
10277         (SetWidthOfCell): calculate multicols better.
10278
10279 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10282
10283         * lyxfunc.C (processKeySym): print sequence also if it is
10284         `deleted' (complete)
10285
10286         * kbsequence.C (print): print sequence even if it is deleted
10287         (complete would be a better word, actually).
10288
10289         * lyxfunc.C (dispatch): print complete options after a prefix key
10290
10291         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10292
10293 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10294
10295         * text2.C (setCharFont): eliminate setCharFont code duplication.
10296
10297 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10300         LFUN_TABULAR_FEATURE (bug #177)
10301
10302 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10303
10304         * Makefile.am: remove figure.h
10305
10306 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10307
10308         * Bufferview_pimpl.C:
10309         * CutAndPasteC:
10310         * LaTeX.C:
10311         * LyXSendto.C:
10312         * buffer.C:
10313         * bufferlist.C:
10314         * converter.C:
10315         * language.C:
10316         * lyxfunc.C:
10317         * lyxvc.C:
10318         * paragraph.C:
10319         * text.C:
10320         * text2.C: remove #include "lyx_gui_misc.h".
10321
10322         * LaTeX.C: added #include <cstdio>
10323
10324 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10327         that the paragraph following this one can have.
10328
10329         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10330
10331         * vspace.C (asLatexCommand): fix bogus gcc warning
10332
10333         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10334
10335 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10336
10337         * text2.C (setLayout): get rid of redundant code
10338
10339 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10340
10341         * text2.C (incDepth): make sure depth cannot be increased beyond
10342         reasonable values.
10343
10344 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10345
10346         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10347         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10348
10349         * PainterBase.h (image):
10350         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10351         a LyXImage const *.
10352
10353 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * BufferView.C:
10356         * BufferView.h:
10357         * BufferView_pimpl.C:
10358         * BufferView_pimpl.h:
10359         * LaTeXFeatures.C:
10360         * LyXAction.C:
10361         * LyXView.C:
10362         * Makefile.am:
10363         * UpdateList.h:
10364         * UpdateList.C:
10365         * buffer.C:
10366         * figure.h:
10367         * figureForm.C:
10368         * figureForm.h:
10369         * figure_form.C:
10370         * figure_form.h:
10371         * lyx_cb.C:
10372         * lyx_gui.C:
10373         * lyx_gui_misc.C:
10374         * lyxfunc.C:
10375         * sp_base.h:
10376         * sp_ispell.h:
10377         * sp_pspell.h:
10378         * sp_spell.C: remove fig inset, and the crap house of
10379           cards that follows it
10380
10381 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * Makefile.am:
10384         * lyxserver.C:
10385         * os2_defines.h:
10386         * os2_errortable.h:
10387         * nt_defines.h: move .h into support/
10388
10389         * vms_defines.h: remove
10390
10391         * WorkArea.C: add space in debug output
10392
10393         * text2.C:
10394         * paragraph.C:
10395         * buffer.C: add WITH_WARNINGS
10396
10397         * vc-backend.h:
10398         * vc-backend.C:
10399         * bufferlist.C: s/retrive/retrieve/, add docs
10400
10401         * vspace.h:
10402         * vspace.C:
10403         * kbmap.h:
10404         * lyxlength.h:
10405         * lyxgluelength.h:
10406         * length_common.h:
10407         * chset.h:
10408         * chset.C: add docs
10409
10410         * lyxgui.C: add ID to X error handler
10411
10412         * lyxtestclass.c: fix typo
10413
10414 2002-02-26  Juergen Vigna  <jug@sad.it>
10415
10416         * tabular_funcs.C (write_attribute): changed so that some default
10417         attributes are not written at all.
10418         (getTokenValue): set default values before trying to read the
10419         value so we have the return value always set as default if we don't
10420         find the token we search for.
10421
10422         * tabular.C (Write): write bools as bools not as strings!
10423
10424 2002-02-22  Juergen Vigna  <jug@sad.it>
10425
10426         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10427         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10428
10429         * text.C (leftMargin): don't add an indent for paragraphs inside
10430         tabular cells (fix #208).
10431
10432 2002-02-21  José Matos  <jamatos@fep.up.pt>
10433
10434         * tabular.C (docBook): fixed support for long tables.
10435
10436 2002-02-20  Juergen Vigna  <jug@sad.it>
10437
10438         * text2.C (getFont): get the drawing font of the Inset if this
10439         paragraph is inside an inset (only important for InsetERT for now).
10440
10441         * buffer.C (insertErtContents): use new lanugage params in ERT
10442         constructor.
10443
10444         * CutAndPaste.C: commenting out seemingly uneeded code.
10445
10446 2002-02-19  Allan Rae  <rae@lyx.org>
10447
10448         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10449         Iterators might be simple to use but they also get invalidated.
10450         (removeAutoInsets): renamed saved cursor tracking variables and added
10451         some comments to clarify what everything does.
10452
10453 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10454
10455         * Chktex.C:
10456         * LaTeX.C:
10457         * LyXSendto.C:
10458         * converter.C:
10459         * lyx_cb.C:
10460         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10461         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10462
10463         * lyxfunc.C:
10464         * vc-backend.h: remove #include "support/syscall.h"
10465
10466         * LaTeX.C:
10467         * LyXSendto.C:
10468         * converter.C: rearrange #includes in Lars' approved fashion.
10469
10470         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10471         forward declare class Timeout in the header file.
10472
10473         * XFormsView.C: changes due to the above.
10474
10475         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10476         similar to LyXView.
10477
10478         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10479         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10480
10481 2002-02-18  José Matos  <jamatos@fep.up.pt>
10482
10483         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10484         insets contents.
10485
10486 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10487
10488         * a lot of small ws changes
10489         * add a lot of using std::XXX
10490         * use std construcs some places where approp.
10491         * use some exisint stuff from lyxfunctional where approp.
10492         * Make file changes to use partial linking (lets test this now...)
10493
10494 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10495
10496         * Chktex.C:
10497         * buffer.C:
10498         remove #include "support/syscontr.h" as it's redundant. Always has been.
10499
10500         * Chktex.C:
10501         * LaTeX.C:
10502         * LyXSendto.C:
10503         * converter.C:
10504         * lyx_cb.C:
10505         * vc-backend.C:
10506         change Systemcalls::System to Systemcalls::Wait and
10507         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10508         No change of functionality, just reflects the stripped down Systemcalls
10509         class.
10510
10511 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10512
10513         * debug.[Ch]: add a GRAPHICS type to the enum.
10514
10515 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10518
10519         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10520         there is an inset.
10521
10522 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10525         match the changes below.
10526
10527         * text2.C (toggleInset): if there is not editable inset at cursor
10528         position, try to see if cursor is _inside_ a collapsable inset
10529         and close it.
10530
10531 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10534         document menu has a nice checkbox
10535
10536 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10537
10538         * lyxlength.C (asLatexString): change PW to output as percent of
10539         \textwidth.
10540
10541         * lengthcommon.C: change '%' to 't%'
10542
10543         * lyxfunc.C (dispatch): a few comments from Martin
10544
10545 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * WorkArea.h:
10548         * WorkArea.C:
10549         * BufferView_pimpl.h:
10550         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10551           the X selection.
10552
10553 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * vspace.C (inPixels): fix compiler warning
10556
10557 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * lyxfunc.C (getStatus): fix status message for disabled commands.
10560
10561 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * BufferView_pimpl.C: fix crash on close buffer
10564         during selection (#227)
10565
10566 2002-01-27  Herbert Voss  <voss@lyx.org>
10567
10568         * buffer.C: link old Figure to new graphic inset
10569
10570 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10571
10572         * FontLoader.C (getFontinfo): Change the latex font names in order
10573         to match the names of type1inst.
10574
10575 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10578
10579         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10580         (extchanged): ditto
10581         (ext_exist): ditto
10582         (remove_files_with_extension): ditto
10583         (remove_file): ditto
10584         (write): ditto
10585
10586         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10587         document is smaller than the work area height. Do not initialize
10588         static variables to 0.
10589
10590 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10593
10594         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10595         LFUN_LAYOUT_PARAGRAPHS.
10596
10597         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10598         tabular. It is possible to provide a possible cell, which will
10599         typically be the actcell from the corresponding insettabular
10600
10601         * lyxfunc.C (getStatus): small cleanup; disable
10602         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10603         true
10604
10605 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10606
10607         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10608
10609         * paragraph.C (startTeXParParams):
10610         (endTeXParParams): new methods. The LaTeX code to
10611         start/end paragraph formatting
10612         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10613         empty (fixes bug #200)
10614
10615         * vspace.C (inPixels): adapt to the change below
10616         (inPixels): [later] more cleanups (remove unused variables)
10617
10618         * lyxlength.C (inPixels): change to use a width and a height as
10619         parameter.
10620
10621 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10624         Replaced with \paperwidth
10625
10626         * DepTable.C (insert): add std:: qualifier
10627
10628 2002-01-18  Allan Rae  <rae@lyx.org>
10629
10630         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10631         updated also?
10632
10633         * text.C (drawInset): Turned out I didn't know enough about how
10634         rebreaking worked.  This fixes most of the redraw problems.  I see
10635         an occasional cursor trail when a line is broken now and the cursor
10636         placement can seem out by a few pixels also after a rebreak.
10637
10638 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * buffer.C (parseSingleLyXformat2Token): update because minipage
10641         width is now a LyXLength
10642
10643         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10644
10645         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10646         math insets
10647
10648 2002-01-17  Juergen Vigna  <jug@sad.it>
10649
10650         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10651
10652         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10653         is set correctly and the inset is updated correctly.
10654
10655 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10658         the beginning of the loop.
10659
10660 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * lyxrc.C: improve help for use_scalable_fonts
10663
10664 2002-01-17  Allan Rae  <rae@lyx.org>
10665
10666         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10667
10668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10671         make sure to set their inset_owner to the right value (bug #171)
10672
10673 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10674
10675         * DepTable.h
10676         * DepTable.C: Implement mtime checking to reduce time spent doing
10677         CRCs.
10678
10679 2002-01-16  Juergen Vigna  <jug@sad.it>
10680
10681         * tabular.C (GetAdditionalHeight): one of error fixed.
10682
10683         * lyxrc.C (output): small fix in writing use_pspell.
10684
10685 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * sp_base.h: #include LString.h
10688
10689 2002-01-16  Allan Rae  <rae@lyx.org>
10690
10691         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10692         Can someone check this please?
10693
10694         * text.C (drawInset): It was possible that p.row would be removed by
10695         breakAgainOneRow upsetting a few other settings.  There may be another
10696         small tweak possible by setting need_break_row = 0 when p.row has been
10697         removed but I don't know enough about the logic here.
10698
10699 2002-01-15  Allan Rae  <rae@lyx.org>
10700
10701         * text.C (insertChar): removed conditional truism.
10702
10703         * BufferView2.C (removeAutoInsets): More tweaks.
10704         cur_par_prev could be a stray pointer.  Check for trailing empty line
10705         in case last line was cur_par and only had an error inset on it.
10706
10707 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10710         absolute
10711
10712         * vc-backend.C (most methods):
10713         * exporter.C (Export):
10714         * converter.C (convert):
10715         (runLaTeX):
10716         * LyXSendto.C (SendtoApplyCB):
10717         * lyxfunc.C (dispatch):
10718         (menuNew):
10719         (open):
10720         (doImport):
10721         * lyx_cb.C (AutoSave):
10722         (InsertAsciiFile):
10723         * BufferView_pimpl.C (MenuInsertLyXFile):
10724         * buffer.C (runChktex): use Buffer::filePath().
10725
10726         * buffer.h: rename filename to filename_; rename filepath to
10727         filepath_ and make it private
10728         (filePath): new method
10729
10730         * buffer.C (writeFile): use fileName()
10731         (getLatexName):
10732
10733         * lyx_main.C (init): fix starting  of LyX when the binary is a
10734         link from so,ewhere else.
10735
10736         * minibuffer.C: include <cctype> for isprint
10737
10738 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10741         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10742         name clash with InsetCollapsable's width function.
10743
10744 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * lastfiles.C: include <iterator>
10747
10748 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10749
10750         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10751         std::count.
10752
10753         * buffer.C (makeLaTeXFile): ditto.
10754         Also make loop operation more transparent.
10755
10756 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10757
10758         * ToolbarDefaults.C: remove trailing comma closing namespace.
10759
10760         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10761
10762         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10763         as in WorkArea.
10764
10765         * trans.C (Load): comment out unused variable, allowed.
10766
10767 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10768
10769         * minibuffer.[Ch] (append_char): new method to recieve input from the
10770         drop-down completion browser. If a key was pressed, then recieve this
10771         char and append it to the existing string.
10772         (peek_event): modify the positioning data passed to the completion
10773         browser so that it can be placed above the minibuffer rather than below.
10774 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10775
10776         * LyXAction.C (init): alloe error-next for readonly documents.
10777
10778         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10779         count.
10780
10781 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * bufferlist.C (readFile): create the buffer _after_ checking that
10784         the file exists.
10785
10786         * lyxfunc.C (verboseDispatch): fix handling of arguments
10787
10788         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10789
10790         * lyxrc.C: use string::erase() instead of initializing to "".
10791
10792
10793 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * BufferView_pimpl.h:
10796         * BufferView_pimpl.C:
10797         * WorkArea.h:
10798         * WorkArea.C:
10799         * text2.C: tell X when we have made a selection for copying
10800
10801 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * BufferView_pimpl.C (MenuInsertLyXFile):
10804         * lyxfunc.C (menuNew):
10805         (open):
10806         (doImport): add shortcuts to directory buttons
10807
10808         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10809         open a float)
10810
10811         * lyxfunc.C (setStatusMessage):
10812         (getStatusMessage): new methods
10813         (getStatus):use setStatusMessage instead of setErrorMessage
10814         (dispatch): when function is disabled, set error message here
10815         [instead of in getStatus previously]
10816
10817         * BufferView_pimpl.C (workAreaButtonRelease): update
10818         toolbar/menubar here too.
10819
10820 2002-01-13  Allan Rae  <rae@lyx.org>
10821
10822         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10823         Now seems indestructible.  Remaining task is to audit all other
10824         code affected by deleteEmptyParagraphMechanism.  One small quirk
10825         left is that an empty document with an error in the preamble can
10826         be made to report an error but no error box appears.  I don't know
10827         where it goes.
10828         (removeAutoInsets): Improved comments.
10829
10830 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * Thesaurus.h:
10833         * Thesaurus.C: update for Aiksaurus 0.14
10834
10835 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10836
10837         * text2.C (firstParagraph): removed member function, all uses
10838         replaces with ownerParagraph
10839         (redoParagraphs): here
10840         (updateInset): here
10841         (toggleAppendix): here
10842         * BufferView2.C (insertErrors): here
10843         (setCursorFromRow): here
10844
10845 2002-01-13  Allan Rae  <rae@lyx.org>
10846
10847         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10848         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10849         There is still a way to segfault this although you may have to do this
10850         multiple times: Have an InsetERT with an unknown command in it.
10851         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10852         <down-arrow>, <Enter> again, View->DVI, BANG!
10853
10854         * text2.C (setCursor):
10855         (deleteEmptyParagraphMechanism):
10856         * lyxtext.h (setCursor):
10857         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10858         Making use of the return value may help fix other bugs.
10859
10860 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10863
10864         * LyXView.C (updateMenubar): call MenuBar::update here
10865         (updateToolbar): but not here
10866         (showState): do not update toolbar/menubar
10867
10868         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10869         should need to care about that.
10870
10871         * lyxfunc.C (verboseDispatch): simplify a bit
10872         (getStatus): have a version which takes a pseudoaction, and
10873         another which requires a (kb_action,string).
10874
10875         * LyXAction.C (retrieveActionArg): make it work also when action
10876         is not a pseudo-action.
10877         (getActionName): simplify a bit
10878         (helpText):
10879
10880 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * lyxfunc.C (verboseDispatch): new families of methods with
10883         several ways to specify a command and a bool to indicate whether
10884         the command name and shortcut should be displayed in minibuffer
10885         (eventually, we could extend that to a finer bitmask like
10886         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10887         (dispatch): the pristine dispatch command which just, well,
10888         dispatchs! Note it still sets its result to minibuffer; I'm not
10889         sure we want that.
10890
10891         * lyxfunc.h: remove setHintMessage
10892
10893         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10894
10895 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10896
10897         * BufferView_pimpl.C (specialChar): delete new inset if we have
10898         not been able to insert it.
10899
10900         * kbmap.C: revert to using int instead of kb_action, since all we
10901         are dealing with is pseudo-actions.
10902
10903         * LyXAction.C (searchActionArg): change to return int instead of
10904         kb_action, since the result is a pseudoaction.
10905
10906 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10907
10908         * buffer.C (insertErtContents): Fix (partially) the font bug.
10909
10910 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10911
10912         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10913         as the other one is broken on my machine!
10914
10915 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10916
10917         * commandtags.h:
10918         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10919
10920 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10921
10922         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10923         reflect their actual use. Provide compatibility code for older lyxrc
10924         files.
10925
10926         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10927         FL_NORMAL_STYLE.
10928         change names of popup font variables in line with the changes to lyxrc.C
10929
10930 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * buffer.C (asciiParagraph): avoid outputing a word twice after
10933         an inset.
10934
10935         * lyxrc.C (getDescription): document that document_path and
10936         template_path can be empty.
10937
10938 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * LaTeXFeatures.C (getMacros):
10941         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10942
10943         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10944
10945         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10946         getPackages.
10947         (getPackages): rename feature "floats" to "float". Use an array to
10948         iterate over 'simple' features (i.e. just a \usepackage). Add
10949         handling of "amsmath" (renamed from "amsstyle").
10950
10951 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10952
10953         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10954         features list.
10955
10956 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10957
10958         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10959         FuncStaus::FuncStatus & FuncStaus::some_method().
10960
10961 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10962
10963         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10964         of the func_satus stuff. Edited and massaged in various ways by
10965         JMarc.
10966
10967         * lyxfunc.C (getStatus): use FuncStatus
10968
10969 2002-01-08  Juergen Vigna  <jug@sad.it>
10970
10971         * text.C (nextBreakPoint): use function Inset::isChar().
10972
10973         * paragraph.C (TeXOnePar): use function
10974         Inset::forceDefaultParagraphs.
10975
10976         * buffer.C (latexParagraphs): use function
10977         Inset::forceDefaultParagraphs.
10978
10979 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10980
10981         * lyx_gui.C (init): set the style of the menu popups to
10982         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10983
10984 2002-01-07  Juergen Vigna  <jug@sad.it>
10985
10986         * text.C (setHeightOfRow): small fix
10987         (prepareToPrint): don't look at alignment if we don't have the place
10988         for doing it.
10989
10990 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10991
10992         * box.C: New file. Move the Box methods and functions out of box.h,
10993         following Lars' suggestion.
10994
10995 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10996
10997         * box.h: #include "support/LOstream.h", needed for inlined function.
10998
10999         * lyxtextclass.C:
11000         * lyxtextclasslist.C: added some using std declarations.
11001
11002 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * box.h: make signed dimensions to allow insets wider than
11005           the screen (bug #162)
11006
11007         * BufferView_pimpl.C: add some insetHit debug
11008
11009 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * vc-backend.C: add FIXME
11012
11013 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * lyxfunc.C (getStatus): enable code for showing math font status
11016         in toolbar/menu.
11017
11018 2002-01-07  Juergen Vigna  <jug@sad.it>
11019
11020         * text.C (nextBreakPoint): removed debug output not needed anymore.
11021
11022 2002-01-06  Juergen Vigna  <jug@sad.it>
11023
11024         * text.C (nextBreakPoint): fixed up this function we had this bug
11025         since ever but now hopefully we break row better.
11026         (insertChar): we have to check if an inset is the next char as it
11027         could now happen that a large inset is causing a break.
11028
11029 2002-01-05  Juergen Vigna  <jug@sad.it>
11030
11031         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11032         if it doesn't like to be drawed.
11033
11034 2002-01-04  Juergen Vigna  <jug@sad.it>
11035
11036         * BufferView2.C (lockInset): forgot to set a cursor.
11037
11038         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11039
11040 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11041
11042         * FormMathsPanel.C:
11043         * FormMathsPanel.h
11044         * MathsSymbols.C:
11045         * form_maths_panel.C:
11046         * form_maths_panel.h:
11047         * form_maths_panel.fd: implemented sub- and super- buttons in math
11048         panel.
11049
11050         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11051         (or ^ space) to be used as in TeX (req'd by André).
11052
11053         * lyxfunc.C: Allow ^ and _ again to be used both as
11054         super/subscript (mathed) and as themselves (in text).
11055
11056 2002-01-03  Allan Rae  <rae@lyx.org>
11057
11058         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11059         "LyX" or the filename of the current buffer if it has one.  This is a
11060         modified form of John Levon's patch.
11061
11062         * XFormsView.C (setWindowTitle): also set icon title.
11063
11064         * LyXView.h (setWindowTitle): signature changed.
11065         * XFormsView.h (setWindowTitle): ditto.
11066
11067 2002-01-02  Juergen Vigna  <jug@sad.it>
11068
11069         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11070
11071 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * screen.C (topCursorVisible): introduce a temp var for
11074         text->cursor.row(), handle the case where this row is null. (kindo
11075         hachish)
11076
11077         * text2.C (setCursor): add a couple of asserts.
11078
11079         * paragraph.h (inset_iterator): add -> operator
11080
11081         * paragraph.[Ch] (autoDeleteInsets): remove member function
11082
11083         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11084         cursor pos correctly and handle inset deletion by itself.
11085         (insertErrors): move iterator declaration out of for expression
11086
11087         * lyxtextclass.C: add <algorithm>
11088
11089         * Makefile.am: added the new files to sources, removed layout.C
11090
11091         * layout.C: removed file
11092
11093         * layout.h: remove LYX_DUMMY_LAYOUT
11094
11095         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11096         layout.
11097
11098         * lyxlayout.[Ch]:
11099         * lyxtextclass.[Ch]:
11100         * lyxtextclasslist.[Ch]: new files
11101
11102         * include order changes to a lot of files, also changes because of
11103         the six new files.
11104
11105 2001-12-27  Juergen Vigna  <jug@sad.it>
11106
11107         * buffer.C (asciiParagraph): more fixes.
11108
11109         * tabular.C (ascii): make ascii export support export of only the
11110         data separated by a column-delimiter.
11111         (ascii): better support for ascii export.
11112
11113         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11114
11115 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * tabular_funcs.C: use a "using std::getline" instead of the
11118         previous fix from Angus (necessary for cxx + lyxstring)
11119
11120 2001-12-24  Juergen Vigna  <jug@sad.it>
11121
11122         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11123
11124         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11125         problems. First check a minipage also if we have some ert-contents
11126         (not only on par->size(), second set the right depth of the paragraph
11127         on the relink to the root-paragraph-list!
11128
11129         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11130         which then did not anymore update the main paragraphs on undo/redo!
11131
11132 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11135         code. Support all font-changing funcs (even those which are not in
11136         menu currently). Support for reporting font settings in
11137         mathed (disabled until Andre provides a function on mathed's side).
11138
11139         * func_status.h (toggle): small helper function to set toggle
11140         state on a flag.
11141
11142 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11143
11144         * tabular_funcs.C: getline -> std::getline
11145
11146 2001-12-21  Juergen Vigna  <jug@sad.it>
11147
11148         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11149         accessed and could be 0 (I couldn't generate this but it seems
11150         Michael could!).
11151
11152 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11155         * tabular_funcs.h: here and include iosfwd
11156
11157 2001-12-20  Juergen Vigna  <jug@sad.it>
11158
11159         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11160         inside inset but undo_par was.
11161
11162 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * Thesaurus.C: always include <config.h> in sources.
11165
11166         * Painter.h:
11167         * lyxlookup.h:
11168         * box.h: do not include <config.h> in header files
11169
11170         * text.C (paintLastRow): remove unused variable
11171
11172         * text.C (transformChar):
11173         (insertChar):
11174         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11175
11176         * Painter.C (text):
11177         * font.C (width): rewrite to use uppercase() instead of
11178         islower/toupper.
11179
11180         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11181
11182 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * lyxfind.C: clean up of find failure position change
11185
11186 2001-12-20  Juergen Vigna  <jug@sad.it>
11187
11188         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11189
11190         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11191         (TeXRow): added to LaTeX a single tabular row.
11192         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11193         (Latex): simplified and finally good LT-h/f support.
11194         (various_functions): just small adaptions for LT-h/f support.
11195
11196         * tabular_funcs.[hC]: added and moved here all not classfunctions
11197         of LyXTabular.
11198
11199 2001-12-19  Juergen Vigna  <jug@sad.it>
11200
11201         * tabular.[Ch]: better support for longtabular options (not finished
11202         yet!)
11203
11204 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * text.C (paintLastRow): use the label font instead of the font of
11207         the last character to compute the size of *_BOX. This makes more
11208         sense and avoids a crash with empty paragraphs.
11209         Use Painter::rectangle to draw EMPTY_BOX.
11210
11211 2001-12-19  Juergen Vigna  <jug@sad.it>
11212
11213         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11214         the paragraphs if the replaced paragraph is not the first one!
11215         Tried to delete not used paragraphs but does not work yet so for
11216         now it's inside #ifdef's and by default off!
11217
11218 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * MenuBackend.C: include "lyx_main.h" instead of declaring
11221         lastfiles (actually was declared as LastFiles* instead of a
11222         scoped_ptr).
11223
11224 2001-12-17  Juergen Vigna  <jug@sad.it>
11225
11226         * tabular.C (AppendColumn): applied John's fix
11227
11228 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * BufferView.h:
11231         * BufferView.C:
11232         * BufferView_pimpl.h:
11233         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11234
11235         * Makefile.am:
11236         * box.h: new start of class for above
11237
11238         * lyxfunc.C: ignore space-only minibuffer dispatches.
11239           Show the command name when it doesn't exist
11240
11241         * minibuffer.C: don't add empty lines to the history
11242
11243         * minibuffer.C: add a space on dropdown completion
11244
11245 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * text.C: fix line above/below drawing in insets
11248
11249 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * lyxlength.C (LyXLength): Initialize private variables.
11252
11253 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11254
11255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11256         when inserting error insets.
11257
11258 2001-12-13  Juergen Vigna  <jug@sad.it>
11259
11260         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11261         actually sometimes the before-paragraph.
11262         (setUndo): don't clear the redostack if we're not actually undoing!
11263
11264 2001-12-06  Juergen Vigna  <jug@sad.it>
11265
11266         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11267         and fixed redoing of main paragraph, so we can use it now ;)
11268
11269         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11270
11271 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11274         Juergen's request
11275
11276 2001-12-13  André Pönitz <poenitz@gmx.net>
11277
11278         * undostack.[Ch]:
11279         * undo_func.C: minor cleanup
11280
11281 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11284         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11285         font in urw-fonts package which is marked as -urw-fontspecific and
11286         does not work (incidentally, changing the encoding in the
11287         fonts.dir of this package to -adobe-fontspecific fixes the
11288         problem).
11289
11290         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11291         is a crash when undoing first paragraph (Juergen, please take a
11292         look). THis does not mean the undo fix is wrong, just that it
11293         uncovers problems.
11294
11295         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11296         the (Paragraph*) version when needed instead of duplicating the
11297         code.
11298
11299         * text.C (workWidth): use Inset::parOwner to find out where the
11300         inset has been inserted. This is a huge performance gain for large
11301         documents with lots of insets. If Inset::parOwner is not set, fall
11302         back on the brute force method
11303
11304         * paragraph_pimpl.C (insertInset):
11305         * paragraph.C (Paragraph):
11306         (cutIntoMinibuffer): set parOwner of insets when
11307         inserting/removing them
11308
11309         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11310
11311 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11312
11313         * commandtags.h:
11314         * LyXAction.C:
11315         * lyx_main.C:
11316         * lyxfunc.C:
11317         * mathed/formulabase.C:
11318         * mathed/math_cursor.[Ch]:
11319         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11320
11321
11322 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * lyxlength.[Ch] (operator!=): new function
11325
11326 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * text.C (workWidth): use Inset::parOwner to find out where the
11329         inset has been inserted. This is a huge performance gain for large
11330         documents with lots of insets. If Inset::parOwner is not set, fall
11331         back on the brute force method
11332
11333         * paragraph_pimpl.C (insertInset):
11334         * paragraph.C (Paragraph):
11335         (cutIntoMinibuffer): set parOwner of insets when
11336         inserting/removing them
11337
11338         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11339
11340 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * tabular-old.C (getTokenValue):
11343         * tabular.C (getTokenValue):
11344         (write_attribute): new versions for LyXLength
11345         (everywhere): adjust the use of widths
11346
11347         * tabular.h: change the type of widths from string to LyXLength
11348
11349 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11350
11351         * paragraph.C: fixed missing line number count when exporting
11352         Environments to LaTeX file
11353
11354         * buffer.C: added informational message for checking line numbers.
11355
11356 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11357
11358         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11359         paragraph, do the 'double space' part, but not the 'empty
11360         paragraph' one.
11361
11362         * text.C (workWidth): small optimization
11363         (getLengthMarkerHeight): use minimal size for negative lengths.
11364
11365 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11366
11367         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11368
11369         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11370
11371 2001-12-11  André Pönitz <poenitz@gmx.net>
11372
11373         * FontLoader.C:
11374         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11375
11376 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * text2.C: keep selection on a setFont()
11379
11380 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * lyx_cb.C: another bv->text misuse, from insert label
11383
11384 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * kbsequence.h:
11387         * kbsequence.C: re-instate nmodifier mask
11388
11389 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * lyx_main.h: make lyxGUI private.
11392
11393 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * lyxfind.C: place the cursor correctly on failed search
11396
11397 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * text.C (getLengthMarkerHeight): for small heights, the arrows
11400         are not always on top/bottom of the text
11401         (drawLengthMarker): smaller arrows; take the left margin in
11402         account; draw also vfills.
11403         (paintFirstRow):
11404         (paintLastRow): remove special code for vfill and standard spaces,
11405         since everything is handled in drawLengthMarker now.
11406
11407 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * buffer.C (insertErtContents): try to handle font and language
11410         interaction a bit better.g
11411
11412         * ColorHandler.C (updateColor): change the hash to cover the whole
11413         LColor enum, ws cleanup
11414         (getGCLinepars): ditto
11415         (getGCLinepars): only lookup in the linecache once.
11416
11417 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * iterators.C (operator++): Make the iterator more robust
11420
11421         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11422         (John's patch)
11423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11424
11425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * lyxtext.h:
11428         * text.C: better added space drawing
11429
11430 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * LyXView.C:
11433         * BufferView2.C: fix layout combo update on inset unlock
11434
11435 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * Makefile.am: don't compile unused files
11438
11439 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11440
11441         * lyxfunc.C:
11442         * commandtags.h:
11443         * LyXAction.C: remove old LFUN_LAYOUTNO
11444
11445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * paragraph_pimpl.h:
11448         * paragraph_pimpl.C: isTextAt() doesn't need font param
11449
11450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * lyxlex.h:
11453         * lyxlex.C: little cleanup
11454
11455 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * BufferView_pimpl.C: fix insertAscii for insets
11458
11459 2001-12-05  Juergen Vigna  <jug@sad.it>
11460
11461         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11462         set the right font on the "multi" paragraph paste!
11463
11464 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11465
11466         * trans_decl.h:
11467         * trans_mgr.[Ch]:
11468         * trans.[Ch]:
11469         * lyxgluelength.C:
11470         * lyxlength.C: remove out-commented code.
11471
11472         * BufferView_pimpl:
11473         * CutAndPaste.C:
11474         * DepTable.C:
11475         * buffer.C:
11476         * chset.C:
11477         * lastfiles.C:
11478         * lyxlex.C:
11479         * lyxlex_pimpl.C:
11480         * lyxserver.C:
11481         * screen.C:
11482         * tabular-old.C:
11483         * tabular.C:
11484         * text.C:
11485         * trans_mgr.C:
11486         * vc-backend.C: change "while(" to "while ("
11487
11488         * lyxlength.[Ch]: add zero function to check if length is zero or
11489         not
11490         * lyxgluelength.C: use it
11491
11492 2001-12-05  Allan Rae  <rae@lyx.org>
11493
11494         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11495         Works for 2.95.3, from what I understand of Garst's reports this should
11496         work for other g++ versions.  We're screwed if the abs(int) definition
11497         changed between bugfix releases of gcc.
11498
11499 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * text.C: fix chapter label offset !
11502
11503 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxtext.h:
11506         * text.C: fix hfill at end of line, clean up
11507
11508 2001-12-04  Juergen Vigna  <jug@sad.it>
11509
11510         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11511         that we force an update of the inset and it's owners if neccessary.
11512
11513 2001-12-03  Juergen Vigna  <jug@sad.it>
11514
11515         * text.C (rowLast): simplified code
11516
11517 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * lyxfunc.C: fix show options on timeout
11520
11521 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * screen.C (topCursorVisible): scroll half a page when the cursor
11524         reached top of bottom of screen
11525
11526 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * minibuffer.C: deactivate on loss of focus
11529
11530 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * vspace.[Ch] (operator!=): add operator.
11533
11534 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * BufferView_pimpl.C: refuse to open an inset when
11537         there's a selection.
11538
11539 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * BufferView_pimpl.C: allow to click on RHS of full row insets
11542
11543 2001-11-30  Juergen Vigna  <jug@sad.it>
11544
11545         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11546         insets for undo reasons.
11547
11548 2001-11-28  André Pönitz <poenitz@gmx.net>
11549
11550         * vspace.[Ch]: cosmetical changes
11551
11552 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * LyXAction.h:
11555         * LyXAction.C:
11556         * lyxfunc.h:
11557         * lyxfunc.C:
11558         * kbmap.h:
11559         * kbmap.C:
11560         * lyxrc.C:
11561         * kbsequence.h:
11562         * kbsequence.C: part re-write of old kb code
11563
11564         * Painter.C:
11565         * WorkArea.C: remove Lgb_bug_find_hack
11566
11567 2001-11-30  José Matos <jamatos@fep.up.pt>
11568
11569         * buffer.C (makeDocBookFile): add a comment to point a hack.
11570         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11571         Fixed a double write of labels.
11572
11573 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11574
11575         * LaTeX.C:
11576         * LaTeX.h Fixed bug in LaTeX class where it would not
11577         re-run latex if no depfiles were changed, but the .dvi was removed.
11578
11579 2001-11-28  André Pönitz <poenitz@gmx.net>
11580
11581         * all the files from the change on 2001/11/26:
11582         use lyx::layout_type instead of LyXTextClass::size_type
11583         use lyx::textclass_type instead of LyXTextClassList::size_type
11584
11585 2001-11-29  Juergen Vigna  <jug@sad.it>
11586
11587         * text.C: added support for paragraph::isFreeSpacing()
11588
11589         * buffer.C: same as above
11590
11591         * paragraph.h: inserted isFreeSpacing() function to enable
11592         FreeSpacing inside InsetERT.
11593
11594         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11595         of the paragraph's in the cut/copy buffer to 0!
11596
11597         * text2.C (removeRow): remove the assert as it can!
11598
11599         * lyxtext.h: added helper function firstRow returning firstrow and
11600         made firstrow private again.
11601
11602         * BufferView2.C (lockInset): don't relock if we're already locked!
11603
11604         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11605         the only paragraph.
11606         (removeRow): added Assert::(firstrow)
11607
11608         * debug.C: forgot to add INSETTEXT here.
11609
11610 2001-11-28  Juergen Vigna  <jug@sad.it>
11611
11612         * sp_spell.C (initialize): changed error text to more general
11613         spellchecker command use (not only ispell!)
11614
11615         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11616
11617         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11618
11619 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * vspace.C: initialise lyxgluelength on failure
11622
11623 2001-11-28  Allan Rae  <rae@lyx.org>
11624
11625         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11626         declaration & definition that looks like a function declaration.
11627
11628 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * BufferView2.C (copy):
11631         (copyEnvironment): do not clear the selection when doing a copy.
11632
11633         * text.C (paintFirstRow): compilation fix
11634
11635 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11636
11637         * tabular.C (Latex): correct line count when writing latex.
11638
11639 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * paragraph_pimpl.h:
11642         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11643           bug a bit
11644
11645 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * text.C:
11648         * LColor.h:
11649         * LColor.C: change vfillline->added_space
11650
11651         * text.C: add markers and text for added space
11652
11653         * vspace.C: fix comment
11654
11655 2001-11-28  André Pönitz <poenitz@gmx.net>
11656
11657         * paragraph.C: whitespace changes
11658         * all the other files from the change on 2001/11/26:
11659         change *::pos_type into lyx::pos_type
11660
11661 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11664         language of the document when inserting error insets.
11665
11666 2001-11-26  André Pönitz <poenitz@gmx.net>
11667
11668         * BufferView_pimpl.[Ch]:
11669         *       CutAndPaste.C:
11670         * buffer.[Ch]:
11671         * lyxcursor.[Ch]:
11672         * lyxfind.C:
11673         * lyxfunc.C:
11674         * lyxrow.[Ch]:
11675         * paragraph.[Ch]:
11676         * paragraph_pimpl.[Ch]:
11677         * sp_spell.C:
11678         * text.C:
11679         * text2.C: reduce header dependencies, introduce type for positions
11680
11681 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * <various>: change to use Alert.h
11684
11685 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11686
11687         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11688         when encountering an unknown token.
11689         (readLyXformat2): Show an error message if there were unknown tokens.
11690
11691 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * BufferView2.C:
11694         * BufferView_pimpl.C:
11695         * buffer.C:
11696         * paragraph.h:
11697         * text.C:
11698         * text2.C: use par->isInset()
11699
11700 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * paragraph_pimpl.h:
11703         * paragraph_pimpl.C: cleanup
11704
11705 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * text2.C (removeRow):
11708         * text.C (setHeightOfRow): remove useless (and costly) call to
11709         getRow.
11710
11711 2001-11-20  Allan Rae  <rae@lyx.org>
11712
11713         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11714         Now need Inset*::checkInsertChar() to return true for appropriate
11715         cases so that the characters in the minibuffer will actually be
11716         inserted.
11717
11718 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * text.C: change the order of the includes.
11721         (workWidth): initialize it at once.
11722         (workWidth): make maxw unsigned
11723         (setHeightOfRow): remove unused variable (inset)
11724         (selectSelectedWord): remove unused variable (inset)
11725         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11726
11727 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11728
11729         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11730         server is not running.
11731         (openConnection):
11732         (closeConnection): add debug info when server is disabled.
11733
11734         * ColorHandler.C (getGCForeground): send debug message to GUI
11735         channel.
11736
11737         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11738
11739         * kbmap.C (bind): modify because return conventions of
11740         kb_sequence::parse have changed.
11741
11742         * kbsequence.C (parse): only ignore spaces and not any stupid
11743         control character. This avoids tests like s[i] <= ' ', which are
11744         guaranteed to fail with 8bit characters and signed chars.
11745         Change return code to string::npos when there have been no error
11746         (0 was a bad idea when error is at first character)
11747
11748 2001-11-14  José Matos  <jamatos@fep.up.pt>
11749
11750         * buffer.h:
11751         * buffer.C (simpleDocBookOnePar): removed unused argument.
11752
11753 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11754
11755         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11756         insets which are part of a word. Paragraph::isLetter takes care of
11757         that now. Use Paragraph::isInset to identify insets.
11758         (selectSelectedWord): do not test for hyphenation break.
11759
11760         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11761         that protected spaces are considered as spaces.
11762
11763         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11764         Inset::isLetter.
11765
11766 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * lyxserver.h:
11769         * lyxserver.C: fix it. and small cleanup.
11770
11771 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * BufferView_pimpl.C: use inline helpers
11774
11775         * LaTeXFeatures.h:
11776         * LaTeXFeatures.C: fix typos
11777
11778         * Spacing.h:
11779         * Spacing.C: move spacing_string into class
11780
11781         * ToolbarDefaults.C: move stuff into namespace anon
11782
11783         * layout.h: update enum
11784
11785         * lyxfunc.C: use better debug
11786
11787         * minibuffer.h: fix typo
11788
11789         * debug.h:
11790         * debug.C:
11791         * WorkArea.C: add and use Debug::WORKAREA
11792
11793         * lyxtext.h:
11794         * text.C:
11795         * text2.C: code re-organisation, inline helpers
11796
11797 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11798
11799         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11800         std::vector.empty().
11801
11802 2001-11-09  Allan Rae  <rae@lyx.org>
11803
11804         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11805         '\n's after tables.  Tabular and ERT inset work now makes this no
11806         longer necessary.
11807
11808 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * minibuffer.h:
11811         * minibuffer.C: fix crash, improve drop-down completion
11812
11813 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * lyxserver.h:
11816         * lyxserver.C: invalidate fd's when doing endPipe()
11817
11818 2001-11-08  José Matos  <jamatos@fep.up.pt>
11819
11820         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11821         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11822
11823         * paragraph.h:
11824         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11825
11826 2001-11-07  José Matos  <jamatos@fep.up.pt>
11827
11828         * buffer.h:
11829         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11830         const qualifier.
11831
11832         * buffer.C (sgmlOpenTag):
11833         * buffer.C (sgmlCloseTag): removed debug info.
11834
11835         * buffer.h (sgmlOpenTag):
11836         * buffer.h (sgmlCloseTag): made public.
11837
11838 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11839
11840         * buffer.C (saveParamsAsDefaults):
11841         * lyx_cb.C (MenuLayoutSave): remove
11842
11843         * LyXAction.C (init):
11844         * commandtags.h:
11845         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11846
11847 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * buffer.C (setPaperStuff): removed from here...
11850
11851         * bufferparams.C (setPaperStuff): ... and moved there.
11852
11853 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * minibuffer.h:
11856         * minibuffer.C:
11857         * XFormsView.C: add support for drop-down completion
11858
11859 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11860
11861         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11862         commands.
11863
11864 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11867         disabled.
11868
11869 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * lyx_main.C: change ref to known bugs
11872
11873 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11874
11875         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11876         to work around older babel problems.
11877
11878 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11879
11880         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11881
11882 2001-10-24  Juergen Vigna  <jug@sad.it>
11883
11884         * tabular-old.C (ReadOld): below variable changes reflected.
11885
11886         * tabular.[Ch]: added ltType struct for longtable header/footer
11887         defines and changed all instances where they are used. Added
11888         future support for double top/bottom rows.
11889
11890 2001-10-24  José Matos  <jamatos@fep.up.pt>
11891
11892         * buffer.h (docbookHandleCaption):
11893         * buffer.C (docbookHandleCaption): removed unused function.
11894         (makeDocBookFile): moved docbook supported version to v4.1.
11895
11896 2001-10-24  José Matos  <jamatos@fep.up.pt>
11897
11898         * tabular.h:
11899         * tabular.C (docbookRow): new function to export docbook code of a row.
11900         (DocBook): now honors the longtable flags.
11901
11902 2001-10-23  José Matos  <jamatos@fep.up.pt>
11903
11904         * LaTeXFeatures.h:
11905         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11906         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11907
11908         * buffer.C (makeLinuxDocFile):
11909         (makeDocBookFile): reworked the preamble, more clean, and with
11910         support for lyx defined entities. Changed the document declaration
11911         to be more XML friendly.
11912
11913         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11914         if we need to output XML that should be done with a filter.
11915
11916 2001-10-22  Juergen Vigna  <jug@sad.it>
11917
11918         * sp_pspell.h (class PSpell): add alive function needed in the
11919         controller to see if the spellchecker could be started.
11920
11921 2001-10-22  Juergen Vigna  <jug@sad.it>
11922
11923         * buffer.C (insertStringAsLines): modify the font for inserting
11924         chars in certain conditions by calling checkInsertChar(font).
11925
11926 2001-10-19  Juergen Vigna  <jug@sad.it>
11927
11928         * text.C (workWidth): use getRow instead of wrong algorithm.
11929         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11930
11931 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * lyxserver.h:
11934         * lyxserver.C:
11935         * lyx_main.h:
11936         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11937
11938 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11939
11940         * text.C (workWidth): do not search for the exact row when
11941         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11942         optimization for big documents.
11943
11944 2001-10-18  Juergen Vigna  <jug@sad.it>
11945
11946         * text.C (workWidth): new function with added Inset * parameter.
11947
11948 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11951
11952         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11953         change return type of getColumnNearX.
11954
11955
11956         * text.C (changeRegionCase): use uppercase/lowercase instead of
11957         toupper/tolower.
11958         (leftMargin):
11959         (rightMargin): simplify code by factoring out the uses of
11960         textclasslist.
11961         (labelFill):
11962         (numberOfHfills):
11963         (setHeightOfRow):
11964         (appendParagraph): use Paragraph::size_type
11965
11966 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11967
11968         * vspace.C (asLatexString): add a missing break
11969
11970 2001-10-15  Herbert Voss  <voss@perce.de>
11971
11972         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11973
11974 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11975
11976         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11977         is not available.
11978
11979 2001-10-10  André Pönitz <poenitz@gmx.net>
11980
11981         * lyxfunc.C: removed greek_kb_flag.
11982
11983 2001-10-10  Herbert Voss  <voss@perce.de>
11984
11985         * lyx_main.C: delete global string help_lyxdir.
11986
11987 2001-10-09  Herbert Voss  <voss@perce.de>
11988
11989         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11990
11991         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11992
11993         * lyx_main.C: added global string help_lyxdir.
11994
11995         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11996
11997 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11998
11999         * lyxrc.C (set_font_norm_type): support iso8859-4
12000
12001 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12002
12003         * LaTeX.C (deplog): add another regex for MikTeX
12004
12005 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12006
12007         * lyxrc.C (set_font_norm_type): support iso8859-3
12008
12009 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12012
12013         * LaTeXFeatures.C: remove special case of french and index
12014
12015         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12016         before \begin{document}). This solves several incompatibilities.
12017
12018 2001-10-03  Garst Reese  <reese@isn.net>
12019
12020         * lyx_cb.C: change CheckTex error msg.
12021
12022 2001-10-03  José Matos  <jamatos@fep.up.pt>
12023
12024         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12025
12026 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12027
12028         * .cvsignore: update
12029
12030         * lyx_main.C (commandLineVersionInfo): use new style version info.
12031
12032         * buffer.C (writeFile):
12033         (makeLaTeXFile):
12034         (makeLinuxDocFile):
12035         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12036
12037         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12038
12039         * version.h: update to use stuff in version.C
12040
12041         * version.C.in: new file. Contains version information determined
12042         at compile time. This is a merging of version.h and
12043         version_info.h.in.
12044
12045 2001-10-03  Juergen Vigna  <jug@sad.it>
12046
12047         * BufferView_pimpl.C (update): don't change "dirty" status in
12048         updateInset call.
12049
12050 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * WorkArea.C (c-tor): re-position version string slightly.
12053
12054 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12055
12056         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12057         revert to previous code.
12058
12059         WorkArea.[Ch]: (show, destroySplash): methods removed.
12060
12061         WorkArea.C: rework code so that it's an amalgam of the codes before and
12062         after the splash screen was moved to WorkArea.
12063
12064 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12065
12066         * lyxrc.C (read):
12067         * vspace.C (inPixels):
12068         (lyx_advance):
12069         * kbmap.C (bind):
12070         * buffer.C (insertStringAsLines):
12071         (asciiParagraph): fix types to be large enough
12072
12073         * lyxlex_pimpl.h: change member status from short to int
12074
12075         * layout.h: fix type of endlabeltype
12076
12077         * kbmap.C (bind):
12078         * kbsequence.C (parse): change return type to string::size_type
12079
12080         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12081         variable
12082
12083         * Bullet.C (bulletSize):
12084         (bulletEntry): do not use short ints as parameters
12085
12086         * BufferView2.C (insertLyXFile): change a char to an int.
12087
12088         * WorkArea.C (WorkArea): remove unneeded floats in computation
12089
12090 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12093
12094         * paragraph.C (asString): Do not ignore newline/hfill chars when
12095         copying to the clipboard.
12096
12097 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12100         after a multi-line inset.
12101
12102 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12103
12104         * paragraph.C (validate): Set NeedLyXFootnoteCode
12105
12106 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12107
12108         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12109         and decrease-error to decrease.
12110
12111 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12112
12113         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12114         it more readable (should be equivalent)
12115
12116 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12117
12118         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12119
12120 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12123         of a cursor (row, etc.) after a character has been deleted
12124         (deleteEmptyParagraphMechanism): call the method above on _all_
12125         cursors held by the LyXText when a double space has been
12126         detected/deleted.
12127
12128 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12129
12130         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12131         pixmap.
12132         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12133
12134         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12135         background. Use greyOut() and the new show() methods to toggle between
12136         the foreground and background. Add code to remove the splash after
12137         its initial showing.
12138
12139         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12140         (create_forms): no longer call Dialogs::showSplash.
12141
12142 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12143
12144         * .cvsignore: add version_info.h
12145
12146 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * version_info.h.in: new file
12149
12150         * Makefile.am: add version_info.h.in
12151
12152         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12153         version_info.h instead of VERSION_INFO
12154
12155 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12156
12157         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12158         The ERT inset now returns string().
12159
12160 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12161
12162         * lyxtext.h, text.C (selectNextWord): renamed as
12163         selectNextWordToSpellcheck.
12164
12165         * text.C (selectNextWordToSpellcheck): Modified to not select
12166         words inside an ERT inset.
12167
12168 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12169
12170         * lyx_cb.C (MenuLayoutSave): change a bit the question
12171
12172         * sp_base.h: include <sys/types.h>
12173
12174 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12175
12176         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12177
12178 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12179
12180         * several files: fix typos in user-visible strings
12181
12182 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * text2.C (pasteSelection): do not set the selection, since it
12185         will be cleared later. Actually, the intent was to fix the way the
12186         selection was set, but I figured rmoving the code was just as good.
12187
12188 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12189
12190         * FontLoader.C (available): Check if font is available without
12191         loading the font.
12192
12193 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12194
12195         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12196
12197 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * lyxrc.[Ch]: added display_graphics variable and associated code.
12200
12201 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12202
12203         * bufferparams.C (hasClassDefaults): new method. Returns true if
12204         the buffer parameters correspond to known class defaults
12205
12206 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12207
12208         * XFormsView.C (show): set minimum size to the main window.
12209
12210 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * text2.C (copySelection):
12213         (cutSelection):
12214         * lyxfind.C (LyXReplace):
12215         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12216         LyXText::selectionAsString.
12217
12218         * paragraph.C (asString): add "label" argument to the second form
12219
12220         * text2.C (selectionAsString): add "label" argument and pass it to
12221         Paragraph::asString.
12222
12223 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * lyx_main.C (commandLineHelp): remove version information
12226
12227 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12228
12229         * lyx_main.C: add -version commandline option
12230
12231 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * paragraph.h: make the optional constructor arg required instead.
12234         some modifications to other files because of this.
12235
12236         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12237
12238         * lyxserver.C (C_LyXComm_callback): make it static
12239
12240         * lyx_main.C (error_handler): make it static
12241
12242         * lyx_gui.C (LyX_XErrHandler): make it static
12243
12244         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12245
12246         * WorkArea.C: make the extern "C" methods static.
12247
12248         * Makefile.am (lyx_LDADD): simplify
12249
12250 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12251
12252         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12253         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12254
12255         * LyXAction.C (init):
12256         * lyxfunc.C (dispatch): associated code removal.
12257
12258 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * lyxfont.h (isSymbolFont): shut off warning
12261
12262         * text.C (setHeightOfRow):
12263         (getVisibleRow): fix crash with empty paragraphs which have a
12264         bottom line
12265
12266 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12267
12268         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12269         code.
12270
12271 2001-09-04  José Matos  <jamatos@fep.up.pt>
12272         * buffer.C
12273         * buffer.h
12274         * tabular.C (docbook): rename docBook method to docbook.
12275
12276 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12277
12278         * Makefile.am: add dependencies to main.o.
12279
12280 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12281
12282         * FontLoader.C (available): Return false if !lyxrc.use_gui
12283
12284 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12285
12286         * FontInfo.C (query):
12287         * converter.C (view):
12288         * importer.C (Import):
12289         * exporter.C (Export): Can not -> cannot.
12290
12291 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * BufferView_pimpl.C: allow to create index inset even if
12294           string is empty
12295
12296 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12297
12298         * buffer.C (getLists): replace boost::tie code with an explicit pair
12299         as boost::tie can break some compilers.
12300
12301         * iterators.h: Added a std:: declaration to the return type of
12302         ParIterator::size.
12303
12304 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12307           case.
12308
12309 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12310
12311         * iterators.[Ch]: New files. Provide paragraph iterators.
12312
12313         * buffer.C (changeLanguage): Use paragraph iterators.
12314         (isMultiLingual): ditto
12315
12316         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12317
12318 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12319
12320         * FontLoader.C: Support for cmr font.
12321
12322 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12323
12324         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12325         (available): New method.
12326
12327         * FontInfo.C (getFontname): Use scalable fonts even when
12328         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12329         found.
12330
12331 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * converter.C (Formats::view): reverted! Incorrect fix.
12334
12335 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12336
12337         * converter.C (Formats::view): only output the -paper option
12338         if the dvi viewer is xdvi, thereby fixing bug #233429.
12339
12340 2001-08-23  Herbert Voss  <voss@perce>
12341
12342         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12343
12344 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12345
12346         * Spacing.h (Spacing): Set space to Default on in the default
12347         constructor.
12348
12349 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * vc-backend.h (RCS::versionString): add RCS to version
12352         (CVS::versionString): add CVS to version
12353
12354         * vc-backend.C (scanMaster): do not add CVS to version.
12355         (scanMaster): do not add RCS to version
12356
12357         * lyxvc.C (versionString): new method
12358
12359         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12360
12361 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * Spacing.C (set): initialize fval
12364
12365 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12366
12367         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12368         " or \.
12369
12370 2001-08-16  Juergen Vigna  <jug@sad.it>
12371
12372         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12373
12374 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * BufferView_pimpl.C:
12377         * figureForm.C:
12378         * lyxtext.h:
12379         * text2.C: setParagraph takes linespacing now
12380
12381 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * LyxAction.C: add internal LFUN_CITATION_INSERT
12384
12385         * LyXView.C: actually apply fix
12386
12387         * bufferlist.C: fix open non-existent file
12388
12389         * lyxfind.C: fix indentation
12390
12391         * lyxfunc.C: remove unneeded assert, fix typo
12392
12393 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * MenuBackend.C: use "Floatname List"
12396
12397 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12398
12399         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12400         when converting LaTeX layout to insetERT.
12401         Generate a non-collapsed float when reading old float
12402
12403 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12404
12405         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12406         ERT insets.
12407
12408 2001-08-13  Juergen Vigna  <jug@sad.it>
12409
12410         * text.C (fill): return 0 instead of 20 as this seems to be the more
12411         correct value.
12412
12413 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12414
12415         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12416         lyxrc.font_norm.
12417
12418 2001-08-13  Juergen Vigna  <jug@sad.it>
12419
12420         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12421         casesensitive off.
12422         (SearchBackward): comment out the unlocking of the inset_owner this
12423         should not be needed!
12424
12425 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * Many files: Remove inherit_language, and add latex_language
12428
12429         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12430         collapsible insets.
12431
12432 2001-08-10  Juergen Vigna  <jug@sad.it>
12433
12434         * text.C (prepareToPrint): fixed hfill-width in draw!
12435
12436         * BufferView2.C (selectLastWord): save the selection cursor as this
12437         now is cleared in the function LyXText::clearSelection!
12438
12439 2001-08-08  Juergen Vigna  <jug@sad.it>
12440
12441         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12442         BACKSPACE type functions.
12443
12444         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12445         is only cutted from the document but not put in the cut-buffer, where
12446         still the old stuff should be.
12447
12448         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12449
12450         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12451
12452         * tabular.C (SetWidthOfCell): fixed special case where the width
12453         was not updated!
12454         (LeftLine): handle '|' in align_special.
12455         (RightLine): ditto
12456         (LeftAlreadyDrawed): ditto
12457         (SetWidthOfCell): ditto
12458
12459 2001-08-07  Juergen Vigna  <jug@sad.it>
12460
12461         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12462
12463 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12466         * lyxlex.[hC]: ditto
12467
12468 2001-08-06  Juergen Vigna  <jug@sad.it>
12469
12470         * text.C (getVisibleRow): fix up row clearing a bit.
12471
12472 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * minibuffer.C: make sure the X server sees the changes in the input.
12475
12476 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * paragraph.C (getFont): split into...
12479         (getLabelFont): this
12480         (getLayoutFont): and this
12481         * paragraph_pimpl.C (realizeFont): calling this
12482
12483         * text2.C (getFont): split into...
12484         (getLayoutFont): this
12485         (getLabelFont): and this
12486         (realizeFont): all three calling this
12487
12488         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12489         files where used.
12490
12491 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12494
12495 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12496
12497         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12498         layouts from the Quote inset insertion.
12499
12500 2001-08-03  Juergen Vigna  <jug@sad.it>
12501
12502         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12503
12504         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12505         only if status not is already CHANGED_IN_DRAW (second level).
12506
12507         * text.C (draw): don't set the need_break_row when inside an
12508         InsetText LyXText.
12509
12510 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * buffer.C (parseSingleLyXformat2Token): handle more latex
12513         conversion cases.
12514
12515         * bufferview_funcs.[hC]: change function names to
12516         begin with small char, adjust other files.
12517
12518 2001-08-02  André Pönitz <poenitz@gmx.net>
12519
12520         * lyxfunc.C:
12521         BufferView_pimpl.C: remove broken special code for math-greek
12522
12523 2001-08-02  Juergen Vigna  <jug@sad.it>
12524
12525         * BufferView_pimpl.C (update): redone this function so that we
12526         update the text again if there was a CHANGE_IN_DRAW.
12527
12528         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12529         (drawFromTo): added a new internal bool which is used by draw() and
12530         redraw() function.
12531         (general): some cursor drawing problems fixed.
12532
12533 2001-08-01  Juergen Vigna  <jug@sad.it>
12534
12535         * lyxfind.C (LyXFind): fixed
12536         (SearchForward): ditto
12537         (SearchBackward): ditto
12538
12539         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12540         spurius drawing of the cursor in the main area.
12541
12542         * text2.C (status): small fix which could lead to a segfault!
12543         (clearSelection): remove unneeded BufferView param.
12544
12545 2001-08-01  André Pönitz <poenitz@gmx.net>
12546
12547         * lyxfunc.C: small change due to changed mathed interface
12548
12549 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12550
12551         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12552
12553 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * lyxfunc.c: fail gracefully if file doesn't exist
12556
12557         * LyXSendto.C:
12558         * buffer.C:
12559         * lyxfunc.C:
12560         * BufferView_pimpl.C: IsDirWriteable() proto changed
12561
12562         * LyXView.C: fix updateWindowTitle() to store the last title
12563
12564 2001-07-31  Juergen Vigna  <jug@sad.it>
12565
12566         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12567         the font (wrong since using of Paragraph::highestFontInRange).
12568
12569         * paragraph.C (highestFontInRange): added a default_size parameter.
12570
12571         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12572         (setHeightOfRow): reformat
12573
12574 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * converter.[hC] + affected files: move to (inital-char)lowercase
12577         function names.
12578
12579         * ParagraphParameters.C (ParagraphParameters): remove commented code
12580
12581         * PainterBase.[Ch]: remove commented code
12582
12583         * LaTeXFeatures.h: add "bool floats" for float.sty
12584
12585         * LaTeXFeatures.C (LaTeXFeatures): init floats
12586         (require): handle float
12587         (getPackages): do it with floats
12588
12589 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12590
12591         * BufferView_pimpl.C (Dispatch): improve handling of
12592         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12593
12594         * commandtags.h: #include lyxfont.h here temporarily to avoid
12595         keybinding bug.
12596
12597         * bufferlist.h: include LString.h here.
12598
12599 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12600
12601         * text2.C (getStringToIndex): new method.
12602
12603 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12604
12605         * *: Reduced header file dependencies all over.
12606
12607 2001-07-30  Baruch Even  <baruch@lyx.org>
12608
12609         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12610
12611 2001-07-29  Baruch Even  <baruch@lyx.org>
12612
12613         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12614
12615 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * ParameterStruct.h (endif): add a default constructor to make
12618         sure that all variables is initialized.
12619
12620         * ParagraphParameters.C (ParagraphParameters): adjust
12621
12622 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12623
12624         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12625         index; also, check that there is something to index, and that it
12626         does not span over several paragraphs.
12627         (doubleClick): use WHOLE_WORD_STRICT for double click.
12628
12629         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12630
12631         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12632         scheme.
12633
12634 2001-07-26  Baruch Even  <baruch@lyx.org>
12635
12636         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12637         an InsetFig figure, backwards compatible reading of old figure code.
12638
12639 2001-07-27  Juergen Vigna  <jug@sad.it>
12640
12641         * text2.C: font.realize function adaption.
12642
12643         * text.C (draw): add a warnings lyxerr text if needed.
12644
12645         * layout.C: font.realize function adaption.
12646
12647         * language.C: add inherit_language and implement it's handlings
12648
12649         * bufferview_funcs.C (StyleReset): remove language parameter from
12650         font creation (should be language_inherit now).
12651
12652         * bufferparams.C (writeFile): handle ignore_language.
12653
12654         * paragraph.C (getFontSettings): the language has to be resolved
12655         otherwise we have problems in LyXFont!
12656
12657         * lyxfont.C (lyxWriteChanges): added document_language parameter
12658         (update): removed unneeded language parameter
12659
12660         * paragraph.C (validate): fixed wrong output of color-package when
12661         using interface colors for certain fonts in certain environments,
12662         which should not seen as that on the final output.
12663
12664 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * BufferView_pimpl.C:
12667         * Thesaurus.h:
12668         * Thesaurus.C:
12669         * Makefile.am:
12670         * commandtags.h:
12671         * LyXAction.C: add thesaurus support
12672
12673         * lyxfind.h:
12674         * lyxfind.C: add "once" parameter, for thesaurus, to not
12675           move to the next match
12676
12677 2001-07-26  Juergen Vigna  <jug@sad.it>
12678
12679         * lyxfont.C (realize): honor ignore_language too!
12680         (resolved): ditto.
12681
12682         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12683
12684         * text.C (draw): one place more for ignore_language to not draw
12685         itself!
12686
12687 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12690
12691 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12694         the minipage conversion problem.
12695
12696 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12699         insert an inset.
12700
12701 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * BufferView.h: don't forward declare WorkArea
12704
12705         * BufferView.C: don't include WorkArea.h
12706
12707 2001-07-25  André Pönitz <poenitz@gmx.net>
12708
12709         * commandtags.h:
12710         * LyXAction.C:
12711         * lyxfunc.C:  new LFUN 'math-space'
12712
12713         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12714
12715 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * text2.C (toggleInset): call open/close
12718
12719 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * lyxfunc.C (dispatch): add debug for the disabled case
12722
12723         * font.C (buttonText): make similar to rectText
12724
12725         * buffer.C (readInset): comment out parsing of insetlist and
12726         insttheorem
12727
12728         * PainterBase.C (rectText): small correction
12729
12730         * BufferView_pimpl.C: comment out insettheorem and insetlist
12731         * LyXAction.C: ditto
12732         * commandtags.h: ditto
12733
12734 2001-07-24  Juergen Vigna  <jug@sad.it>
12735
12736         * text.C (draw): honor the ignore_language.
12737
12738         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12739
12740 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12743         char inset.
12744
12745 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12746
12747         * lyxtext.h: remove unused (and unimplemented) methods
12748
12749 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12750
12751         * text.C (getVisibleRow): honor background color
12752
12753         * PainterBase.h:
12754         * Painter.h: remove default color argument for fillRectangle
12755
12756         * text.C (backgroundColor): new method
12757
12758 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * text.C (getVisibleRow): adjust
12761
12762         * font.[Ch] (rectText): new method, metrics
12763         (buttonText): new method, metrics
12764
12765         * PainterBase.[hC]: make rectText and buttonText always draw and take
12766         fewer paramteres.
12767
12768 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12769
12770         * ToolbarDefaults.C (read):
12771         * MenuBackend.C (read): allow escaping in all strings
12772
12773         * BufferView_pimpl.C (insertAndEditInset): new method.
12774         (Dispatch): use insertAndEditInset whenever appropriate.
12775
12776         * BufferView_pimpl.C (insertNote): removed
12777
12778         * BufferView_pimpl.C (smartQuote): new method, moved from
12779         BufferView; if an insetquote cannot be inserted, insert a '"'
12780         character instead.
12781
12782         * BufferView2.C: remove insertCorrectQuote();
12783
12784         * lyxfunc.C (getStatus): Add support for all remaingin
12785         inset-insert lfuns.
12786
12787         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12788
12789         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12790         command (necessary to pass " as parameter of self-insert.
12791
12792         * text.C (selectWordWhenUnderCursor):
12793         (selectWord): add word_location parameter
12794         (selectWordWhenUnderCursor): same + remove special code for word
12795         boundary.
12796         (selectNextWord): use kind() to guess type of insetspecialchar,
12797         not latex().
12798
12799         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12800         (insertErtContents): create ert insets as collapsed.
12801         (readInset): better compatibility code for Info inset.
12802
12803 2001-07-20  Juergen Vigna  <jug@sad.it>
12804
12805         * lyxfunc.C (dispatch): use always LyXFind now!
12806
12807         * text2.C (init): add a reinit flag so that the LyXText can be
12808         reinited instead of deleted and reallocated (used in InsetText).
12809
12810         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12811
12812         * text.C: ditto
12813
12814         * text2.C: ditto
12815
12816 2001-07-18  Juergen Vigna  <jug@sad.it>
12817
12818         * text.C (selectNextWord): handle insets inside inset by calling
12819         always the bv->text functions so that we can go up the_locking_inset!
12820
12821         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12822         in strange locations when inside an inset!
12823
12824         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12825         handling to include insets.
12826
12827         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12828
12829 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12830
12831         * LyXAction.C (init):
12832         * commandtags.h:
12833         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12834         LIGATURE_BREAK, since the name is so stupid.
12835
12836 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12839         InsetInfos.
12840
12841         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12842
12843         * sp_form.[Ch]: remove.
12844
12845         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12846
12847         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12848         InsetInfo.
12849
12850         * src/buffer.C (readInset): ditto.
12851
12852 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12853
12854         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12855         menuSeparator(), endOfSentenceDot(), ldots() and
12856         hyphenationPoint(), which are therefore removed.
12857         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12858
12859         * LyXAction.C (init):
12860         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12861
12862         * paragraph.C (getWord): removed.
12863
12864         * BufferView_pimpl.C (Dispatch): use last word or selection for
12865         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12866
12867         * lyx_main.C (queryUserLyXDir): do not ask before creating
12868         user_dir, except if it has been named explicitely.
12869
12870 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12871
12872         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12873         a document of zero size.
12874
12875 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12876
12877         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12878         approriately in the c-tor and in require().
12879         (getPackages): output the appropriate LaTeX for natbib support.
12880
12881         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12882         variables "use_natbib" and "use_numerical_citations" when reading the
12883         LyX file.
12884         (readInset): read the various natbib cite commands.
12885         (validate): white-space change.
12886
12887         * bufferparams.[Ch]: new variables "bool use_natbib" and
12888         "bool use_numerical_citations".
12889         (writeFile): output them in the LyX file.
12890
12891 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12892
12893         * lyxfunc.C (getStatus): add support for all the inset insertion
12894         commands.
12895
12896         * text2.C (insertInset):
12897         * paragraph.C (insetAllowed):
12898         * BufferView_pimpl.C (insertInset): update to take in account the
12899         renaming of insertInsetAllowed
12900
12901         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12902
12903         * text2.C (getInset): new method. returns inset at cursor position.
12904
12905         * BufferView_pimpl.C (Dispatch): changes because of this.
12906
12907         * LyXAction.C (init): rename open-stuff to inset-toggle.
12908
12909         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12910
12911         * text2.C (toggleInset): renamed from openStuff; use
12912         Inset::open().
12913
12914 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12915
12916         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12917
12918         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12919
12920 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * buffer.C (readLyXformat2): Add filename to the error dialog
12923
12924 2001-07-18  Juergen Vigna  <jug@sad.it>
12925
12926         * tabular.C (GetCellNumber): put an assert here instead of the check!
12927
12928 2001-07-17  Juergen Vigna  <jug@sad.it>
12929
12930         * BufferView_pimpl.C (toggleSelection): adapted too.
12931
12932         * text.C (selectNextWord): adapted for use with insets.
12933         (selectSelectedWord): ditto
12934
12935 2001-07-17  Juergen Vigna  <jug@sad.it>
12936
12937         * sp_spell.C (PSpell): fix initialitation order.
12938
12939 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * paragraph.C: spacing
12942
12943 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12944
12945         * sp_spell.C: repair language selection for pspell
12946
12947 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * lyxfunc.h: change more methods to begin with lower char.
12950
12951 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12952
12953         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12954         for unknown layouts.
12955
12956 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12957
12958         * buffer.C (readLyXformat2): Generate an error dialog if there are
12959         unknown layouts.
12960
12961 2001-07-16  Juergen Vigna  <jug@sad.it>
12962
12963         * sp_spell.C: always compile ISpell part.
12964
12965         * lyxrc.C: added use_pspell entry and it's handling.
12966
12967 2001-07-13  Juergen Vigna  <jug@sad.it>
12968
12969         * sp_spell.C: removed double includes.
12970
12971 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12972
12973         Consistent use of Lsstream.h:
12974         * Lsstream.h: added using std::stringstream for consistencies sake.
12975
12976         * buffer.C: removed using std::stringstream
12977
12978         * lyxfont.C (stateText):
12979         * paragraph.C (asString):
12980         * text.C (selectNextWord, selectSelectedWord):
12981         * text2.C (setCounter):
12982         * vspace.C (asString, asLatexString):
12983         std::ostringstream -> ostringstream.
12984
12985 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12986
12987         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12988         * commandtags.h: add LFUN_HELP_ABOUTLYX
12989         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12990
12991 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12992
12993         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12994         cursorToggle()
12995         * lyx_gui_misc.C: remove spellchecker
12996         * lyxfunc.C: showSpellchecker
12997         * sp_base.h: added
12998         * sp_ispell.h: added
12999         * sp_pspell.h: added
13000         * sp_spell.C: added
13001         * sp_form.[Ch]: removed
13002         * spellchecker.[Ch]: removed
13003
13004 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13005
13006         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13007         is set.
13008         (simpleTeXSpecialChars): Simply print the input character without
13009         any special translation if pass_thru is set.
13010
13011         * layout.h: Added bool pass_thru to layout class for being able to
13012         implement pass through of a paragraph for Literate Programming.
13013
13014         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13015         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13016         * layout.C (Read): add "passthru" to list of layout tags and add
13017         code to set the pass_thru boolean when it is read.
13018
13019 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * trans_decl.h: remove allowed from KmodInfo
13022
13023         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13024         remove allowed code
13025         (Load): adjust
13026
13027         * paragraph_pimpl.C (erase): use boost::prior
13028
13029         * Painter.C (text): use data() instead of c_str() when length is
13030         also provided.
13031         * WorkArea.C (putClipboard): ditto
13032         * font.h (width): ditto
13033
13034         * BufferView2.C: use it-> instead of (*it). for iterators
13035         * texrow.C: ditto
13036         * paragraph_pimpl.C: ditto
13037         * paragraph.C: ditto
13038         * minibuffer.C: ditto
13039         * language.C: ditto
13040         * kbmap.C: ditto
13041         * encoding.C: ditto
13042         * counters.C: ditto
13043         * converter.C: ditto
13044         * chset.C: ditto
13045         * Variables.C: ditto
13046         * TextCache.C: ditto
13047         * MenuBackend.C: ditto
13048         * LyXAction.C: ditto
13049         * LColor.C: ditto
13050         * FloatList.C: ditto
13051         * DepTable.C: ditto
13052         * ColorHandler.C (LyXColorHandler): ditto
13053
13054 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13057
13058         * text2.C (openStuff): reintroduce this method (which had been
13059         nuked in NEW_INSETS frenzy).
13060
13061         * lyxfunc.C (Dispatch): when an action has not been handled, use
13062         its name in the error message, not its number.
13063
13064         * paragraph.C (inInset): change method name to begin with lowercase.
13065
13066         * undo_funcs.C:
13067         * text2.C: updates because of this.
13068
13069 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13070
13071         * ToolbarDefaults.C (add): add spaces in error message
13072
13073 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13076         (readLyXformat2): rename return_par to first_par, use lyxlex's
13077         pushToken and remove the manual push handling.
13078         (parseSingleLyXformat2Token): add another ert comp. variable:
13079         in_tabular, rename return_par to first_par. handle newlines better
13080
13081 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13084
13085 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * text2.C (getParFromID): removed
13088
13089         * buffer.C (getParFromID): new method moved form lyxtext.
13090         * BufferView2.C (insertErrors): adjust
13091         (setCursorFromRow): adjust
13092         * BufferView_pimpl.C (restorePosition): adjust
13093         * lyxfunc.C (Dispatch): adjust
13094         * undo_funcs.C (textUndo): adjust
13095         (textRedo): adjust
13096         (textHandleUndo): adjust
13097         (textHandleUndo): adjust
13098
13099 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * buffer.C: up' the LYX_FORMAT
13102
13103         * lyxfont.h: turn NO_LATEX on as default
13104
13105         * buffer.C (insertErtContents): new methods of tex style compability.
13106         (parseSingleLyXformat2Token): use it several places.
13107         * tabular.C (OldFormatRead): and here
13108
13109 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * text2.C: remove some commented code.
13112         reindent file.
13113
13114         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13115         * trans.C: changes because of the above.
13116
13117 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * text2.C (setCounter): Fix counters bug with bibliography layout.
13120
13121 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13124         own member functions
13125         (simpleTeXSpecialChars): ditto
13126
13127 2001-07-06  Juergen Vigna  <jug@sad.it>
13128
13129         * a lot of files: changed the access to LyXText::status and the
13130         call of undo-functions.
13131
13132         * undo.[Ch]: added a inset_id to the undo informations.
13133
13134         * undo_funcs.[Ch]: added and moved here all undo functions.
13135
13136         * lyxtext.h: give the status enum a weight, made status_ a private
13137         variable and made accessor functions for it, removed the whole bunch
13138         of undo-functions as they are now in their own file, make some
13139         functions publically available. Added function ownerParagraph with
13140         int parameter.
13141
13142         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13143         made InInset() a const function, added getParFromID() function.
13144
13145         * buffer.[Ch]: added const version for inset_iterator functions,
13146         added getInsetFromID() function.
13147
13148         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13149         changed undo functions for new version.
13150
13151 2001-07-05  Juergen Vigna  <jug@sad.it>
13152
13153         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13154         unknow mechanism does not call the proper constructor but only this
13155         one also if I request the other!?
13156
13157 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13160
13161         * text2.C (LyXText): use initialization lists.
13162
13163         * lyxtext.h (Selection): initialize set_ and mark_
13164         (init): remove method
13165
13166 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13169
13170 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * screen.[Ch]: change method names to begin with lowercase
13173
13174         * BufferView_pimpl.C (updateScrollbar): simplify further and
13175         hopefully make it a bit faster.
13176
13177 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13180         calling directly xforms functions.
13181
13182         * Painter.C (Painter):
13183         * lyx_cb.C (MenuWrite):
13184         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13185         fl_display.
13186
13187         * lyx_gui.C: remove bogus guiruntime extern declaration.
13188
13189 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13190
13191         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13192         in NEW_INSETS
13193         (redoDrawingOfParagraph): ditto
13194         (redoParagraphs): ditto
13195         (cutSelection): don't create a object for CutAndPaste use the
13196         static method directly
13197         (pasteSelection): ditto
13198
13199         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13200         LyXview (+ rename)
13201
13202 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * modifications to some other files because of this.
13205
13206         * Makefile.am (lyx_SOURCES): add XFormsView
13207
13208         * XFormsView.[Ch]: new files
13209
13210         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13211         the main window. Move the gui dependent stuff to XFormsView
13212
13213 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * tabular.C (GetCellInset): update cur_cell also in the row/col
13216         version of this function.
13217
13218         * lyxfunc.C: no need to include figure_form.h here.
13219
13220         * FontLoader.h:
13221         * lyxfunc.h:
13222         * lyxscreen.h:
13223         * text2.C:
13224         * lyxvc.C: no need to include forms.h here.
13225
13226 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13227
13228         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13229
13230         * lyxfunc.C (Dispatch):
13231         * Spacing.C (set):
13232         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13233         constructor argument.
13234
13235 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * paragraph.C (Paragraph): dont't clear, and just set layout.
13238         (makeSameLayout): use params's copy contructor.
13239
13240         * ParagraphParameters.[Ch] (makeSame): delete method
13241
13242 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * Variables.[Ch]: fix indentation, rename set to isSet
13245
13246 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * lyxfunc.C (Dispatch): fix typo
13249
13250 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13253         upper_bound.
13254
13255         * bufferlist.C: include assert.h for emergencyWrite().
13256
13257 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13260           give up at last (bug #425202) !
13261
13262 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * lyx_gui_misc.C:
13265         * sp_form.h:
13266         * sp_form.C:
13267         * spellchecker.h:
13268         * spellchecker.C: strip spellchecker options and bring up
13269           preferences tab instead
13270
13271 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13274         the istringstream constructor
13275
13276 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * paragraph.C (getLayout): fix return value
13279
13280         * paragraph.h: do not declare getLayout as inline.
13281
13282         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13283
13284 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * lyxcursor.h (operator<): new func
13287         (operator>): new func
13288         (operator>=): new func
13289         (operator<=): new func
13290
13291         * text.C (changeCase): use selection.start and selection.end
13292         (changeRegionCase): require from to be <= to. Require par to be a
13293         valid paragraph.
13294
13295         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13296
13297 2001-06-27  Juergen Vigna  <jug@sad.it>
13298
13299         * text.C (cursorLeftOneWord): changed to return the cursor and added
13300         overlay with BufferView * parameter which calls this one.
13301         (getWord): added
13302         (selectWord): use new getWord function.
13303         (changeCase): renamed from changeWordCase as and extended to work
13304         also on selections.
13305
13306         * lyxtext.h: added enum word_location
13307
13308         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13309         changeCase as this operates now also on selections.
13310
13311 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13312
13313         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13314
13315         * many files: send debug output to Debug::INFO instead of
13316         Debug::ANY.
13317
13318         * converter.C (View):
13319         (Convert):
13320         (Move): send debug output to Debug::FILES instead of console.
13321
13322 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13323
13324         * lyxfunc.C (getStatus): use func_status
13325
13326         * func_status.h: new header, describing the results of
13327         LyXFunc::getStatus;
13328
13329         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13330         LFUN_MATH_HALIGN.
13331
13332 2001-06-25  The LyX Project  <jug@sad.it>
13333
13334         * buffer.C (sgmlOpenTag):
13335         (sgmlCloseTag):
13336         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13337
13338 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * text2.C: remove some dead code
13341
13342         * tabular.C (GetCellInset): store the last cell checked (gotten)
13343
13344         * tabular.h: add the helper for the speedup
13345
13346         * lyxtext.h: remove some dead code
13347
13348 2001-06-26  The LyX Project  <Asger>
13349
13350         * paragraph.C: Change export to LaTeX of alignment to
13351         \begin{center} and family for better roundtrip work with reLyX.
13352
13353         * Tune the math drawing a bit.
13354
13355 2001-06-25  The LyX Project  <Asger>
13356
13357         * LColor.C (LColor): New color for math background. New color
13358         for buttons.
13359
13360 2001-06-25  The LyX Project  <jug@sad.it>
13361
13362         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13363
13364         * lyxfunc.C (Open):
13365         * bufferlist.C (newFile): do not restrict to files ending with
13366         .lyx
13367
13368         * BufferView_pimpl.C (MenuInsertLyXFile):
13369
13370 2001-06-24  The LyX Project  <jug@sad.it>
13371
13372         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13373         of compare_no_case
13374
13375 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13376
13377         * lyxtext.h: rename most methods to begin with a small char.
13378         Lots of changes because of this.
13379
13380         * paragraph.C (Paragraph): do not call fitToSize
13381         (erase): call Pimpl::erase
13382         (insertChar): call Pimpl::insertChar
13383         (insertInset): call Pipl::insertInset
13384         (breakParagraph): do not call fitToSize
13385         (breakParagraphConservative): do not call fitToSize
13386         (fitToSize): remove method
13387
13388         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13389
13390 2001-06-24  The LyX Project  <Asger>
13391
13392         * Fix Qt compilation^2
13393
13394 2001-06-24  The LyX Project  <jug@sad.it>
13395
13396         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13397         depthHook(getDepth()-1).
13398
13399         * paragraph.h:
13400         * ParagraphParameters.h:
13401         * ParameterStruct.h: change type of depth to unsigned int ==
13402         depth_type. Many adaptations to other files before of that.
13403
13404 2001-06-24  The LyX Project  <Asger>
13405
13406         * Fix Qt compilation.
13407
13408 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13409
13410         * paragraph.h: renamed several methods to begin with small letter.
13411         several changes to many parts of the code because of this.
13412
13413 2001-06-23  The LyX Project  <jug@sad.it>
13414
13415         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13416         rewritten to discard all double spaces when KeepEmpty is off
13417         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13418         to only handle newlines but not fiddle with spaces and friends.
13419
13420         * lyxfunc.C (MenuNew): when doing 'new from template', use
13421         template_path as default directory
13422
13423 2001-06-23  The LyX Project  <Asger>
13424
13425         * Clean-up of header file includes all over
13426         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13427
13428 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.h: renamed from lyxparagraph.h
13431
13432 2001-06-23  Asger  <lyx@violet.home.sad.it>
13433
13434         * Buffer.h: Removed Buffer::resize
13435         * BufferList.h: Removed BufferList::resize
13436         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13437         the document lazily when we change the width, or the font settings.
13438
13439 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13442
13443 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * buffer.h: remove out of date comment
13446
13447 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * lyxscreen.h:
13450         * screen.C: fix "theoretical" GC leak
13451
13452 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13453
13454         * LaTeX.C (scanAuxFile):
13455         (deplog): remove trailing \r when reading stream (useful under
13456         win32)
13457
13458 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13461         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13462         and BufferView::theLockingInset(Inset*), so should use them and not
13463         access bv_->text->the_locking_inset directly.
13464
13465         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13466
13467 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13468
13469         * Makefile.am:
13470         * tex-defs.h: remove old unused file
13471
13472 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * BufferView_pimpl.C: fix typo, remove minibuffer message
13475           when buffer has loaded
13476
13477 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13478
13479         * lyxfunc.C (Dispatch): use stringstream
13480         (MenuNew): use stringstream
13481         (Open): use stringstream
13482
13483         * importer.C (Import): use stringstream
13484
13485         * bufferview_funcs.C (CurrentState): use stringstream
13486
13487         * LaTeX.C (run): use stringstream
13488
13489         * BufferView_pimpl.C (savePosition): use stringstream
13490         (restorePosition): use stringstream
13491         (MenuInsertLyXFile): use stringstream
13492
13493 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * BufferView.C:
13496         * Bullet.C:
13497         * ColorHandler.C:
13498         * FontInfo.C:
13499         * FontLoader.C:
13500         * LColor.C:
13501         * LaTeXFeatures.C:
13502         * Painter.C:
13503         * gettext.C:
13504         * lyx_gui_misc.C:
13505         * lyxserver.C:
13506         * vspace.C: removed // -*- C++ -*- as first line.
13507
13508         * lyxfind.h:
13509         * version.h: added // -*- C++ -*- as first line.
13510
13511 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13514
13515         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13516         of string
13517
13518 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13521         of floats.
13522
13523 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * gettext.C: include LString.h even when --disable-nls is on.
13526
13527 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * converter.h (Get): changed argument type from int to
13530         FormatList::size_type to avoid unnecessary conversion.
13531
13532         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13533         before using it.
13534
13535 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13536
13537         * gettext.h: include LString.h even when --disable-nls is on.
13538
13539 2001-06-07  Juergen Vigna  <jug@sad.it>
13540
13541         * text.C (BreakAgain): subst spaces with tabs.
13542
13543         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13544         (resizeInsetsLyXText): set force on resizeLyXText.
13545
13546 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * gettext.h (gettext_init):
13549         (locale_init): use a real definition instead of a macro
13550
13551 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * Bufferview_pimpl.C:
13554         * LColor.h:
13555         * LColor.C: further lcolor tidies
13556
13557 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13558
13559         * BufferView_pimpl.C (updateScrollbar): simplify.
13560
13561         * BufferView2.C: don't include insets/insetinfo.h, change
13562         prototype for insertInset and call the Pimpl version. let
13563         updateInset call Pimpl version.
13564
13565         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13566         gotoInset to BufferView::Pimpl
13567
13568 2001-06-01  Juergen Vigna  <jug@sad.it>
13569
13570         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13571         inside a LockingInset (is the update needed at all?).
13572
13573 2001-05-31  Juergen Vigna  <jug@sad.it>
13574
13575         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13576         here not the old one otherwise how should we compare it afterwards
13577         if it's the same!
13578
13579 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * lyxfont.C:
13582         * tabular.C:
13583         * tabular-old.C:
13584         * FontInfo.C: bring C functions into global namespace when
13585         necessary
13586
13587 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * LString.h: make sure config.h has been loaded before LString.h.
13590
13591         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13592         (one for each char read by EatLine!).
13593
13594         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13595         variables.
13596
13597 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13598
13599         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13600         to the same as the par we break from
13601
13602 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13605
13606         * MenuBackend.C (expand): also create menu entries for wide
13607         versions of the floats.
13608
13609         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13610
13611         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13612
13613         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13614         frontends/Makefile.am
13615
13616         * text2.C: adjust
13617         * text.C: adjust
13618
13619
13620         * tabular.C (getTokenValue): add std::
13621
13622         * tabular-old.C (getTokenValue): add std::
13623         (getTokenValue): ditto
13624         (getTokenValue): ditto
13625
13626         * screen.C (ToggleSelection): adjust
13627
13628         * lyxtext.h: put selection cursors inside a Selection struct.
13629
13630         * lyxfunc.C (moveCursorUpdate): adjust
13631
13632         * lyxfont.C (latexWriteStartChanges): add std::
13633
13634         * lyxfind.C: adjust
13635
13636         * font.h: delete with(char const *, LyXFont const &)
13637
13638         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13639
13640         * FontInfo.C (getFontname): add std::
13641
13642         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13643         (workAreaButtonPress): adjust
13644         (tripleClick): adjust
13645         (update): adjust
13646         (moveCursorUpdate): adjust
13647         (Dispatch): adjust
13648
13649         * BufferView2.C (gotoInset): adjust
13650
13651 2001-05-30  Juergen Vigna  <jug@sad.it>
13652
13653         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13654         to check pspell I add this as default as I now have new pspell
13655         libraries and they seem to use this.
13656
13657 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * text2.C (CutSelection): make the cursor valid before the call to
13660         ClearSelection.
13661
13662 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13665         relied on 0 terminated strings and other horrors. Bug found due to
13666         the new assert in lyxstring!
13667
13668         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13669         KP_ keys.
13670
13671 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13674         to latinkeys.bind.
13675
13676         * lyxfunc.C (processKeySym): change method of getting to the
13677         self-insert char.
13678
13679         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13680         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13681         * BufferView_pimpl.[Ch]: here as private methods.
13682
13683 2001-05-28  Juergen Vigna  <jug@sad.it>
13684
13685         * text.C (SetHeightOfRow): added the update() call again as it is
13686         needed to initialize inset dimensions!
13687
13688 2001-05-16  Juergen Vigna  <jug@sad.it>
13689
13690         * text2.C (SetCharFont): Add new function with BufferView * and
13691         bool toggleall parameters for setting insets internal fonts.
13692         (SetFont): Freeze the undo as we may change fonts in Insets and
13693         all this change should be inside only one Undo!
13694
13695         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13696         setting font's in insets as for them we have the SetFont function!
13697
13698 2001-05-15  Juergen Vigna  <jug@sad.it>
13699
13700         * text2.C (ClearSelection): to be sure we REALLY don't have any
13701         selection anymore!
13702
13703         * tabular.C (TeXCellPreamble): fixed the left border problem for
13704         multicolumn cells.
13705
13706 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13707
13708         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13709         dependancy file
13710
13711 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13714         LFUN_BREAKPARAGRAPH.
13715
13716         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13717         help test to "internal only", similar for LFUN_INSERT_URL
13718
13719         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13720         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13721         auto_region_delete and deadkeys.
13722
13723 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * LColor.h:
13726         * LColor.C: remove some dead entries, tidy a little
13727
13728 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13731         commented code.
13732         (Dispatch): implement LFUN_ESCAPE
13733
13734         * commandtags.h: add LFUN_ESCAPE
13735
13736         * LyXAction.C (init): add entry for LFUN_ESCAPE
13737
13738         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13739         Remove commented code.
13740         (insertNote): moved here
13741         (open_new_inset): moved here
13742
13743         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13744         BufferView_pimpl
13745
13746 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * kbmap.C (findbinding): clean it up and make it work correctly.
13749
13750         * lyx_main.C (init): do not pass argc and argv as parameters
13751
13752 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13753
13754         * buffer.C: fix path for OS/2 & Win32
13755
13756         * lyx_gui.C:
13757         * lyx_main:
13758         * lyx_main.C: Added os:: class.
13759
13760         * os2_defines.h: update
13761
13762 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13765         better by trying again with reduced state.
13766
13767 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * lyxrc.C (read): print error about invalid key sequence only when
13770         debugging (because not all latinX keysyms are known to some X
13771         servers)
13772
13773         * kbsequence.C (getiso): add a few std:: qualifiers
13774         (getiso): comment out extra return statement.
13775
13776 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13779         handling.
13780         (Dispatch): enhance the accent inset a bit. (not perfect)
13781
13782 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13785
13786 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * bufferlist.C (emergencyWrite): fix assert() call
13789
13790 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13791
13792         * text.C (InsertChar): Added trivial patch to only send the "you
13793         can not do multiple spaces this way" message once during a
13794         session.
13795
13796 2001-05-08  Baruch Even  <baruch@lyx.org>
13797
13798         * Makefile.am: Changed order of libraries to get LyX to link properly
13799         with the gnome frontend.
13800
13801 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * LaTeXFeatures.h: add a std:: qualifier
13804
13805 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * paragraph.C (String): use stringstream
13808
13809 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * paragraph.C (writeFile): remove footflag arg
13812
13813         * buffer.C (makeLaTeXFile): use stringstream
13814         (latexParagraphs): remove footnot gurba
13815
13816         * LaTeXFeatures.C (getPackages): use stringstream
13817         (getMacros): likewise
13818         (getTClassPreamble): likewise
13819         (getFloatDefinitions): new method
13820
13821         * paragraph.C (writeFile): reindent
13822         (Erase): reindent
13823
13824         * WorkArea.h: revert the xpos + etc changes.
13825
13826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13827
13828         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13829
13830         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13831         (pasteSelection): likewise
13832         * text2.C (CreateUndo): likewise
13833
13834 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * minibuffer.C (peek_event): temporarily reduce the functionality
13837         of the minibuffer (to allow args on lfuns)
13838
13839         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13840         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13841
13842         * buffer.C (readInset): add compability reading of old float
13843         lists, add reading of new style float list.
13844         (readInset): avoid reevaluation of inscmd.getCmdName()
13845         (getLists): reindent
13846
13847         * MenuBackend.C (MenuItem): implement parsing of
13848         md_floatlistinsert and md_floatinsert.
13849         (expand::LastFiles): move initalizaton of iterators out of loop,
13850         avoid reevaluation.
13851         (expand::Documents): introduce typdedef vector<string> Strings,
13852         and use it.
13853         (expand::ExportFormats): introduce typedef vector<Format const *>
13854         Formats, and use it.
13855         (expand): implement FloatListInsert and FloatInsert.
13856
13857         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13858         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13859         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13860
13861         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13862         handling.
13863         (Dispatch::LFUN_FLOAT_LIST): implement
13864
13865 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13866
13867         * LaTeX.C (run): Fix problem with --export code.
13868
13869 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13870
13871         * BufferView.[Ch] (workarea): removed.
13872         (getClipboard) new method; wrapper for workarea()->getClipboard()
13873
13874         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13875         bug.
13876
13877         * WorkArea.h (width, height, xpos, ypos): These methods all
13878         returned the dimensions of the work_area sub-area of WorkArea,
13879         resulting in a position error if the WorkArea were resized. Now
13880         return the dimensions of the entire WorkArea.
13881
13882         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13883
13884 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * LaTeX.C (deplog): correct the syntax of regex reg1
13887
13888 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * undo.C: remove !NEW_INSETS cruft
13891
13892 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * text2.C: remove !NEW_INSETS cruft
13895
13896         * text.C: remove !NEW_INSETS cruft
13897
13898         * tabular.C: remove !NEW_INSETS cruft
13899
13900         * spellchecker.C: remove !NEW_INSETS cruft
13901
13902         * lyxtext.h: remove !NEW_INSETS cruft
13903
13904         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13905
13906         * lyxfunc.C: remove !NEW_INSETS cruft
13907
13908         * lyxfind.C: remove !NEW_INSETS cruft
13909
13910         * lyx_cb.C: remove !NEW_INSETS cruft
13911
13912         * figureForm.C: remove  !NEW_INSETS cruft
13913
13914         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13915
13916         * buffer.[Ch]: remove !NEW_INSETS cruft
13917
13918         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13919
13920         * CutAndPaste.C: remove !NEW_INSETS cruft
13921
13922         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13923
13924         * BufferView2.C: remove !NEW_INSETS cruft
13925
13926         * BufferView.h: remove !NEW_INSETS cruft
13927
13928 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * Lsstream.h: include LString.h before the sstream headers to
13931         fix problem with gcc 2.95.3 and lyxstring
13932
13933 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * lyx_main.C: add using directives when needed for C functions
13936         declared in std:: namespace.
13937
13938 2001-04-27  Juergen Vigna  <jug@sad.it>
13939
13940         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13941         (SetHeightOfRow): comment out the update call should not be needed!
13942
13943 2001-04-13  Juergen Vigna  <jug@sad.it>
13944
13945         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13946         (LyXTabular): tried to minimize operator= operations (and realized
13947         hopfully Lars wish).
13948
13949 2001-04-27  Juergen Vigna  <jug@sad.it>
13950
13951         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13952
13953 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13956
13957         * buffer.C (readInset): hack to make listof algorithm work
13958
13959         * BufferView_pimpl.C: hack to make listof algorithm work
13960
13961 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * LyXAction.C: removed all !NEW_INSETS cruft
13964         (init): moved lfun_item in method
13965
13966         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13967
13968 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * BufferView2.C (theLockingInset): white space.
13971
13972 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * minibuffer.C: include <iostream>
13975
13976         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13977
13978         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13979
13980         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13981
13982         * text.[Ch] (TransposeChars): new method
13983
13984 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13985
13986         * call message directly through LyXView instead of through LyXFunc
13987         * BufferView2.C: adjust
13988         * BufferView_pimpl.C: adjust
13989         * FontLoader.C: adjust
13990         * buffer.C: adjust
13991         * bufferview_funcs.C: adjust
13992         * converter.C: adjust
13993         * figureForm.C: adjust
13994         * importer.C: adjust
13995         * lyx_cb.C: adjust
13996         * lyx_gui_misc.C: adjust
13997         * lyxfunc.C: adjust
13998         * lyxvc.C: adjust
13999         * text2.C: adjust
14000         + more files in subdirs
14001
14002         * lyxparagraph.h (size): move up int file
14003         (GetLayout): ditto
14004
14005         * adjust all uses of Assert to lyx::Assert.
14006
14007         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14008         lyxfunctional in namespace lyx
14009         * layout.C (hasLayout): ditto
14010         (GetLayout): ditto
14011         (GetLayout): ditto
14012         (delete_layout): ditto
14013         (NumberOfClass): ditto
14014         * converter.C (GetFormat): ditto
14015         (GetNumber): ditto
14016         (Add): ditto
14017         (Delete): ditto
14018         (SetViewer): ditto
14019         * bufferlist.C (getFileNames): ditto
14020         (emergencyWriteAll): ditto
14021         (exists): ditto
14022         (getBuffer): ditto
14023         * MenuBackend.C (hasSubmenu): ditto
14024         (hasMenu): ditto
14025         (getMenu): ditto
14026         * BufferView_pimpl.C (getInsetByCode): ditto
14027
14028 2001-04-18  Juergen Vigna  <jug@sad.it>
14029
14030         * vspace.C (asLatexString): fixed the 100% problem.
14031
14032 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * lyxfunc.C (Dispatch):
14035         * minibuffer.C:
14036         * minibuffer.h: add a few std:: qualifiers
14037
14038 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * minibuffer.[Ch]: reimplement so that commands is initiated and
14041         run from lyxfunc, simplified som handling, and made the completion
14042         and history code for complete. wip.
14043
14044         * lyxfunc.C (processKeySym): call message
14045         (miniDispatch): new temporary method
14046         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14047         (LFUN_MESSAGE): implement
14048         (LFUN_MESSAGE_PUSH): implement
14049         (LFUN_MESSAGE_POP): implement
14050         (initMiniBuffer): the initial/defualt minibuffer message.
14051
14052         * lyxfont.[Ch]: inline some more getters
14053
14054         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14055
14056         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14057
14058         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14059         (AutoSave): use LFUN_MESSAGE
14060         (Reconfigure): ditto
14061
14062         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14063
14064         * figureForm.C: use LFUN_MESSAGE
14065
14066         * converter.C (runLaTeX): use LFUN_MESSAGE
14067
14068         * bufferview_funcs.C: use LFUN_MESSAGE
14069         (Melt): ditto
14070         (changeDepth): ditto
14071
14072         * bufferparams.h: use boost::
14073
14074         * bufferlist.h: inherit privately from noncopyable
14075
14076         * bufferlist.C (loadLyXFile): remove some commented code.
14077
14078         * buffer.C (runChktex): use LFUN_MESSAGE
14079
14080         * ShareContainer.h: inherit privately from noncopyable
14081
14082         * ParagraphParameters.[hC] (depth): inline it.
14083
14084         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14085         methods.
14086         (message): new method
14087         (messagePush): ditto
14088         (messagePop): ditto
14089         (show): init minibuffer
14090         (showState): direct call
14091
14092         * LaTeX.[Ch]: inherit privately from noncopyable
14093         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14094         instead of WriteStatus.
14095
14096         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14097
14098         * BufferView_pimpl.C (buffer): don't init minibuffer
14099         (workAreaButtonPress): use LFUN_MESSAGE
14100         (workAreaButtonRelease): ditto
14101         (savePosition): ditto
14102         (restorePosition): ditto
14103         (MenuInsertLyXFile): ditto
14104         (workAreaExpose): don't init minibuffer
14105         (update): remove commented code, simplify
14106
14107         * BufferView2.C (openStuff): use LFUN_MESSAGE
14108         (toggleFloat): ditto
14109         (menuUndo): ditto
14110         (menuRedo): ditto
14111         (copyEnvironment): ditto
14112         (pasteEnvironment): ditto
14113         (copy): ditto
14114         (cut): ditto
14115         (paste): ditto
14116         (gotoInset): ditto
14117         (updateInset): remove some commented code
14118
14119         * lastfiles.h: inherit privately from noncopyable
14120         * layout.h: ditto
14121         * lyx_gui.h: ditto
14122         * lyx_main.h: ditto
14123         * lyxlex.h: ditto
14124         * lyxlex_pimpl.h: ditto
14125
14126         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14127         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14128         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14129
14130         * LyXAction.h: inherit privately from noncopyable, add methods
14131         func_begin, func_end, returning iterators to the func map.
14132
14133         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14134         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14135         (func_begin): new method
14136         (func_end): new method
14137
14138         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14139         and not)
14140         (copySelection): ditto
14141         (pasteSelection): ditto
14142
14143         * BufferView.C: whitespace change
14144         * BufferView.h: inherit privately from noncopyable
14145
14146 2001-04-16  Allan Rae  <rae@lyx.org>
14147
14148         * tabular-old.C (l_getline):
14149         * spellchecker.C (sc_check_word):
14150         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14151         an unrecognised preprocessor directive.  So ensure they're wrapped.
14152
14153 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * src/exporter.C (Export): Give an error message when path to file
14156         contains spaces.
14157
14158 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * LaTeX.C (deplog): Always check that foundfile exists.
14161
14162 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * lyx_main.h:
14165         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14166
14167 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14168
14169         * tabular.[Ch] (getLabelList): implement new method
14170
14171         * minibuffer.h: comment ouf setTiimer
14172
14173         * minibuffer.C (ExecutingCB): constify res
14174         (peek_event): constify s
14175         (Set): constify ntext
14176         (Init): constify nicename
14177
14178         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14179
14180         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14181         (savePosition): use two params to Minibuffer::Set
14182         (restorePosition): ditto
14183
14184 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14185
14186         * lyx_main.C: include language.h
14187
14188         * Makefile.am (lyx_main.o): add language.h
14189
14190 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * exporter.C:
14193         * paragraph.C:
14194         * screen.C:
14195         * tabular.C:
14196         * CutAndPaste.C: include gettext.h
14197
14198         * lyxfont.h: remove old hack with ON and OFF.
14199
14200         * lyxparagraph.h:
14201         * lyxfont.h: do not include language.h...
14202
14203         * BufferView2.C:
14204         * LaTeXFeatures.C:
14205         * Painter.C:
14206         * bufferview_funcs.C:
14207         * font.C:
14208         * lyxfont.C:
14209         * text.C:
14210         * text2.C:
14211         * trans_mgr.C:
14212         * paragraph.C: ... but do it here instead
14213
14214 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14217
14218         * tabular.C: small reformat
14219
14220         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14221         NEW_INSETS version
14222         (GetChar): ditto
14223         (BreakParagraph): ditto
14224         (SetOnlyLayout): ditto
14225         (SetLayout): ditto
14226
14227         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14228         with one arg less.
14229
14230         * lastfiles.C: removed most using decl, add std:: where needed
14231
14232         * buffer.C: ws changes
14233
14234         * MenuBackend.C (class compare_format): put into anon namespace
14235         (expand): constify label, names, action, action2
14236         (expand):
14237
14238         * text.C (SingleWidth): constify font
14239         (IsBoundary): constify rtl2
14240         (GetVisibleRow): constify ww
14241
14242         * LaTeX.C (deplog): constify logfile
14243
14244         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14245         start_x, end_x
14246         (workAreaExpose): constify widthChange, heightChange
14247
14248         * lyxrow.C (par): moved
14249         (height): moved
14250         (next): moved
14251         * lyxrow.h: as inlines here
14252
14253         * lyxfont.h (shape): moved from lyxfont.C
14254         (emph): moved from lyxfont.C
14255
14256         * lyxfont.C (LyXFont): use initialization list for all
14257         constructors
14258         (shape): move to lyxfont.h as inline
14259         (emph): move to lyxfont.h as inline
14260
14261
14262 2001-04-04  Juergen Vigna  <jug@sad.it>
14263
14264         * vspace.C: had to include stdio.h for use of sscanf
14265
14266 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14267
14268         * BufferView.h:
14269         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14270         independent of xforms.
14271
14272 2001-04-02  Juergen Vigna  <jug@sad.it>
14273
14274         * spellchecker.C: fixed namespace placing!
14275
14276 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14277
14278         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14279         the LyXParagraph * is 0.
14280
14281 2001-03-29  Juergen Vigna  <jug@sad.it>
14282
14283         * vspace.C: added support for %, c%, p%, l%.
14284         (stringFromUnit): added helper function.
14285         (asLatexString): changed to give right results for the %-values.
14286
14287         * buffer.C: convert the widthp in a width%.
14288
14289 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14290
14291         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14292         figureForm.[Ch].
14293
14294         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14295         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14296
14297         * lyx_cb.[Ch]: see above.
14298
14299         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14300         form1.[Ch].
14301
14302         * form1.[Ch]:
14303         * lyx.[Ch]: replaced by figure_form.[Ch].
14304
14305         * lyx_gui.C:
14306         * lyx_gui_misc.C:
14307         * lyxfunc.C: changed headers associated with above changes.
14308
14309 2001-03-27  Juergen Vigna  <jug@sad.it>
14310
14311         * BufferView_pimpl.C: set the temporary cursor right!
14312
14313 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14316
14317 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14318
14319         * LString.h: removed "using std::getline"!
14320
14321         * BufferView_pimpl.C (Dispatch): changes due to changes in
14322         InsetInclude::Params.
14323
14324         * buffer.C (tag_name): removed redundant break statements as they were
14325         producing lots of warnings with my compiler.
14326
14327 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * LString.h: add "using std::getline" when using the real <string>.
14330
14331 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14332
14333         * buffer.C: removed bitset usage.
14334         PAR_TAG moved to an anonymous name space.
14335         (tag_name): new funtion, also in the anonymous namespace.
14336         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14337         (makeDocBookFile): clean code. Completed transition from string arrays
14338         to string vectors.
14339         (SimpleDocBookOnePar): code clean.
14340
14341 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14342
14343         * tabular.C: add some comments.
14344
14345 2001-03-22  Juergen Vigna  <jug@sad.it>
14346
14347         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14348         compatibility read a bit and fixed bug with minipage in different
14349         depth.
14350
14351 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14352
14353         * buffer.C (pop_tag): removed.
14354         (push_tag): removed.
14355         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14356         array replaced with vector. Added support for CDATA sections.
14357         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14358         at any nest level.
14359         (makeDocBookFile): XML conformant declaration of CDATA section,
14360         fixed bug related to <emphasis> in the first paragraph char.
14361         (sgmlOpenTag): exclude empty tags.
14362         (sgmlCloseTag): ditto.
14363
14364         * buffer.h (pop_tag): removed.
14365         (push_tag): removed.
14366
14367 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14368
14369         * language.h (Languages): added size_type and size().
14370
14371 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14372
14373         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14374         response on compability reading of minipages. One probliem is that
14375         the old usage of minipages was «flertydig»
14376
14377         * several files here and in subdirs: don't use static at file
14378         scope use anon namespaces instead.
14379
14380 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14381
14382         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14383         LaTeX output. This is necessary for Literate document
14384         processing.
14385
14386 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14387
14388         * buffer.C: insert hfill when needed.
14389
14390         * tabular.C (l_getline): use string::erase, small whitespace change.
14391
14392         * BufferView_pimpl.C: try the anon namespace.
14393         * WorkArea.C: ditto
14394
14395 2001-03-16  Juergen Vigna  <jug@sad.it>
14396
14397         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14398         otherwise it won't open options-dialogs.
14399
14400         * buffer.C: honor pextraWidth(p) on converting minipages.
14401
14402         * tabular.C (l_getline): changed the functions to strip trailing \r.
14403
14404 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14405
14406         * BufferView_pimpl.C:
14407         * minibuffer..C: added "using SigC::slot" declaration.
14408
14409 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14410
14411         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14412
14413         * text2.C: ditto
14414
14415         * text.C: ditto
14416
14417         * paragraph.C: ditto
14418
14419         * lyxtext.h: NO_PEXTRA
14420
14421         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14422
14423         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14424         * ParameterStruct.h: ditto
14425         * ParagraphParameters.h: ditto
14426         * lyxparagraph.h: ditto
14427
14428 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14429
14430         * buffer.C: add compability for minipage alignment.
14431         (latexParagraphs): remove unwanted pextra check.
14432
14433         * several files: remove CXX_WORKING_NAMESPACES
14434
14435         * buffer.C (pop_tag): tie is in namespace boost
14436
14437         * BufferView.h: noncopyable is in namespace boost
14438         * lyxlex.h: ditto
14439         * lyx_main.h: ditto
14440         * lyx_gui.h: ditto
14441         * layout.h: ditto
14442         * lastfiles.h: ditto
14443         * bufferlist.h: ditto
14444         * ShareContainer.h: ditto
14445         * LyXView.h: ditto
14446         * LyXAction.h: ditto
14447         * LaTeX.h: ditto
14448
14449 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14450
14451         * Merging changes from BRANCH_MVC back into HEAD.
14452
14453         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14454
14455 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14456
14457         * BufferView_pimpl.C: change from intl.C
14458
14459         * combox.h:
14460         * combox.C:
14461         * Makefile.am: move combox.*
14462
14463         * form1.h:
14464         * form1.C:
14465         * lyx_gui.C:
14466         * intl.h:
14467         * intl.C: remove dialog (covered by prefs)
14468
14469 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14470
14471         * lyxfunc.C (Dispatch): removed redundant break statement.
14472
14473 2001-03-14  Juergen Vigna  <jug@sad.it>
14474
14475         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14476
14477 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14478
14479         * buffer.C: add hack to fix compability reading of minipages.
14480
14481 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * buffer.C (getLists): Cleanup.
14484
14485 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * lyxfont.C (update): don't honor toggleall on font size.
14488
14489 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * bmtable.c:
14492         * bmtable.h:
14493         * Makefile.am: moved to frontends/xforms/
14494
14495         * lyx_gui_misc.C:
14496         * lyxfunc.C:
14497         * BufferView_pimpl.C: changes for moved mathpanel
14498
14499 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * gettext.h: fix gettext_init() in --disable-nls
14502
14503 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14504
14505         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14506
14507 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * lyx.C:
14510         * lyx.h: strip external form
14511
14512 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * BufferView_pimpl.C: add comment, destroySplash()
14515
14516 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * BufferView_pimpl.C:
14519         * LyXAction.C:
14520         * buffer.C:
14521         * commandtags.h:
14522         * lyxfunc.C: use re-worked insetinclude
14523
14524 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14525
14526         * buffer.C: add using std::stringstream.
14527
14528         * lyx_cb.C: readd using std::ios.
14529
14530         * buffer.C: add using std::map.
14531
14532         * BufferView_pimpl.C: add using std::vector.
14533
14534         * ShareContainer.h: add std:: to swap.
14535
14536         * buffer.h: add some typedefs
14537         * buffer.C (getLists): use them
14538         (getLists): renamed from getTocList.
14539         add a counter for the different float types and use it in the
14540         generated string.
14541         (getLists): use the same counter for the NEW_INSETS and the "non"
14542         NEW_INSETS
14543
14544         * lyx_cb.h: remove unused items, includes, using etc.
14545
14546         * ShareContainer.h: remove some commented code, add more comments
14547         and "documentation".
14548
14549 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14550
14551         * buffer.C (getTocList): make the list also when NEW_INSETS is
14552         defined.
14553
14554         * buffer.h: remove TocType
14555
14556         * buffer.C (getTocList): change to return a map<string,
14557         vector<TocItem> >, implement for dynamic number of list.
14558
14559         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14560         * text2.C (PasteSelection): adjust
14561         * CutAndPaste.C (pasteSelection): adjust
14562
14563         * FloatList.C (FloatList): update from the new_insets branch.
14564         * Floating.[Ch]: ditto
14565         * LaTeXFeatures.C: ditto
14566         * buffer.C: ditto
14567         * lyxlex_pimpl.C: ditto
14568
14569         * paragraph.C (Last): remove when NEW_INSETS is defined.
14570
14571         * other file: changes because of the above.
14572
14573 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14574
14575         * lyxparagraph.h: rename next to next_, previous to previous_,
14576         make them private for NEW_INSETS. Rename Next() to next(),
14577         Previous() to previous().
14578
14579         * other files: changes because of the above.
14580
14581 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * BufferView.h:
14584         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14585         problem.
14586
14587 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14588
14589         * main.C (main): pass lyx_localedir to gettext_init().
14590
14591         * gettext.h: remove locale_init and gettext_init macros
14592
14593         * gettext.C (locale_init): new function
14594         (gettext_init): new function
14595
14596         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14597         setlocale().
14598
14599 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14600
14601         * Moved credits to frontends:
14602         * credits.[Ch]: removed
14603         * credits_form.[Ch]: removed
14604         * lyx_gui_misc.C: remove credits stuff
14605         * Makefile.am:
14606
14607 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14608
14609         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14610
14611         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14612         unneeded destructor.
14613
14614         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14615         a standalone pointer again.
14616
14617         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14618
14619 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * Makefile.am:
14622         * filedlg.h:
14623         * filedlg.C:
14624         * LyXAction.C:
14625         * ToolbarDefaults.C:
14626         * bufferlist.C:
14627         * commandtags.h:
14628         * form1.C:
14629         * form1.h:
14630         * lyx_cb.C:
14631         * lyx_cb.h:
14632         * lyxfunc.h:
14633         * lyxfunc.C:
14634         * BufferView_pimpl.C: use new file dialog in GUII
14635
14636         * lyx_cb.h:
14637         * lyx_cb.C: remove LayoutsCB to Toolbar
14638
14639 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * ShareContainer.h (get): add std:: qualifier
14642
14643 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * ShareContainer.h: define a proper ShareContainer::value_type
14646         type (and use typename to please compaq cxx)
14647
14648 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14649
14650         * lyxparagraph.h: move serveral local vars to
14651         ParameterStruct/ParagraphParameters., use ShareContainer in
14652         FontTable., make vars in FontTable private and add getter and
14653         setter.
14654
14655         * paragraph.C: changes because of the above.
14656
14657         * lyxfont.h: remove copy constructor and copy assignment. (the
14658         default ones is ok), move number inside FontBits. move inlines to
14659         lyxfont.C
14660
14661         * lyxfont.C: add number to initializaton of statics, move several
14662         inlines here. constify several local vars. some whitespace
14663         cleanup. Dont hide outerscope variables.
14664
14665         * Spacing.h: add two new constructors to match the set methods.
14666
14667         * ShareContainer.h: new file, will perhaps be moved to support
14668
14669         * ParameterStruct.h: new file
14670
14671         * ParagraphParameters.h: new file
14672
14673         * ParagraphParameters.C: new file
14674
14675         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14676         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14677
14678         * BufferView_pimpl.C: ParagraphParameter changes.
14679         * buffer.C: Likewise.
14680         * bufferview_funcs.C: Likewise.
14681         * text.C: Likewise.
14682         * text2.C: Likewise.
14683
14684 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14685
14686         * lyxfind.C (LyXReplace): do not redefine default argument in
14687         implementation.
14688         (IsStringInText): ditto
14689         (SearchForward): ditto
14690         (SearchBackward): ditto
14691
14692 2001-03-06  Juergen Vigna  <jug@sad.it>
14693
14694         * lyxfind.C (IsStringInText): put parentes around expressions.
14695
14696 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14697
14698         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14699
14700 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14703
14704         * stl_string_fwd.h: add comment
14705
14706         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14707
14708         * tabular.h:
14709         * tabular.C: remove unused DocBook methods
14710
14711         * intl.C:
14712         * language.C:
14713         * paragraph.C:
14714         * buffer.C:
14715         killed DO_USE_DEFAULT_LANGUAGE
14716
14717 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * lyx_gui.C: do not include language.h.
14720
14721         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14722         arguments in function implementation.
14723
14724 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14725
14726         * BufferView_pimpl.C: add <ctime>
14727
14728 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14729
14730         * BufferView_pimpl.C: add using std::find_if
14731
14732 2001-02-27  José Matos  <jamatos@fep.up.pt>
14733
14734         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14735         by OnlyPath.
14736
14737 2001-02-11  José Matos  <jamatos@fep.up.pt>
14738
14739         * buffer.C (makeDocBookFile): command styles now have a parameter as
14740         "title" by default.
14741
14742 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14743
14744         * layout_forms.[Ch]: removed
14745         * lyx_cb.[Ch]: out character
14746         * lyx_gui.C: out character
14747         * lyx_gui_misc.C: out character
14748         * bufferview_funcs.C: : out character,
14749         added toggleall as parameter in ToggleAndShow
14750
14751 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14752
14753         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14754
14755         * text2.C (SetCurrentFont): Disable number property at boundary.
14756
14757 2001-02-26  Juergen Vigna  <jug@sad.it>
14758
14759         * lyxfunc.C (getStatus): added a string argument override function so
14760         that this is correctly called from LyXFunc::Dispatch if it contains a
14761         do_not_use_argument which is used!
14762         (Dispatch): added check for "custom" export and call appropriate func.
14763
14764 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * lyxrc.C: Add language_command_local, language_use_babel and
14767         language_global_options.
14768
14769         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14770
14771         * buffer.C (makeLaTeXFile): Use language_use_babel and
14772         language_global_options.
14773
14774 2001-02-23  Juergen Vigna  <jug@sad.it>
14775
14776         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14777         which works with LyXText and putted it inside BufferView. Here now we
14778         only call for that part the BufferView::Dispatch() function.
14779
14780         * BufferView.C (Dispatch): added.
14781
14782         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14783         functions which needs to use a LyXText over from LyXFunc.
14784         (MenuInsertLyXFile): added
14785         (getInsetByCode): added
14786         (moveCursorUpdate): added
14787         (static TEXT): added
14788
14789 2001-02-22  Juergen Vigna  <jug@sad.it>
14790
14791         * BufferView_pimpl.C (update): call a status update to see if LyXText
14792         needs it.
14793
14794 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14795
14796         * vc-backend.C (revert): implement for CVS
14797         (getLog): implement for CVS
14798
14799 2001-02-20  Juergen Vigna  <jug@sad.it>
14800
14801         * text2.C (ClearSelection): added BufferView param for inset_owner call
14802
14803         * lyxfunc.C (TEXT): added this function and use it instead of
14804         directly owner->view()-text of getLyXText().
14805
14806 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14807
14808         * src/layout_forms.C: out preamble
14809         * src/layout_forms.h: out preamble
14810         * src/lyx_cb.C: out preamble
14811         * src/lyx_cb.h: out preamble
14812         * src/lyx_gui.C: out preamble
14813         * src/lyx_gui_misc.C: out preamble
14814         * src/lyxfunc.C: connect with guii preamble
14815
14816 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14817
14818         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14819
14820 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14821
14822         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14823         whether to run bibtex.
14824
14825 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14828
14829 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14830
14831         * Makefile.am (lyx_SOURCES): removed bibforms.h
14832
14833         * vspace.h: doxygen
14834
14835         * text.C (GetVisibleRow): make several local vars const
14836
14837         * tabular.C: small cleanup.
14838
14839         * lyxserver.C (callback): use compare instead of strncmp
14840
14841         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14842         inlines to after class or to paragraph.C
14843
14844         * lyxfont.h: remove friend operator!=
14845
14846         * converter.h: move friend bool operator< to non friend and after
14847         class def.
14848
14849         * combox.h: small cleanup
14850
14851         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14852         to inlines after class def.
14853
14854         * buffer.C (pop_tag): use string operations instead of strcmp
14855
14856         * bmtable.c: doxygen, small cleanup
14857
14858         * LaTeX.h: remove friend operator==
14859
14860 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14861
14862         * screen.C:
14863         * lyxrc.[Ch]:
14864         * lyxfunc.C:
14865         * lyxfont.[Ch]:
14866         * lyx_cb.C:
14867         * intl.[Ch]:
14868         * commandtags.h:
14869         * buffer.C:
14870         * WorkArea.[Ch]:
14871         * LyXAction.C:
14872         * BufferView_pimpl.C:
14873         * BufferView.[Ch]: remove cruft
14874
14875 2001-02-14  Juergen Vigna  <jug@sad.it>
14876
14877         * lyxfunc.C: removed #if 0 unused code
14878
14879         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14880
14881         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14882
14883         * text2.C (SetSelection): added a BufferView * parameter
14884
14885 2001-02-13  Juergen Vigna  <jug@sad.it>
14886
14887         * lyxfunc.C (Dispatch): fixed protected blank problem.
14888         * BufferView2.C (protectedBlank): added LyxText * parameter.
14889
14890         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14891         (AppendColumn): same as above for column_info.
14892
14893         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14894         (moveCursorUpdate): use a LyXText param for support of InsetText.
14895
14896         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14897         (tripleClick): ditto
14898
14899         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14900
14901         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14902
14903         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14904
14905         * text2.C (SetSelection): set correct update status if inset_owner
14906         (ToggleFree): ditto
14907
14908 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14909
14910         * tabular.C: remove some commented code.
14911
14912 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * BufferView_pimpl.C: call hideSplash()
14915
14916         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14917
14918         * include_form.h:
14919         * bibforms.h: remove
14920
14921         * lyxfunc.C:
14922         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14923           add LFUN_CHILD_CREATE
14924
14925         * counters.h: fix tiny typo
14926
14927         * lyx_cb.C:
14928         * lyx.h:
14929         * lyx_gui.C:
14930         * lyx.C: move splash to frontends/xforms/
14931
14932         * lyx_gui_misc.C: move Include and Bibform to frontends
14933
14934         * lyxvc.h: clarify comment
14935
14936         * vspace.C: tiny housekeeping
14937
14938 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14939
14940         * text.C (PrepareToPrint): RTL Fix.
14941
14942         * paragraph.C (GetUChar): New method.
14943         (String):  Use GetUChar.
14944
14945         * buffer.C (asciiParagraph): Use GetUChar.
14946
14947 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14948
14949         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14950
14951 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * buffer.h:
14954         * buffer.C: rename to getLogName(), handle
14955           build log / latex log nicely
14956
14957 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14958
14959         * MenuBackend.C:
14960         * MenuBackend.h: remove support for reference menuitem type.
14961
14962 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14963
14964         * BufferView_pimpl.C: housekeeping
14965         * BufferView_pimpl.h:
14966         * LyXView.h:
14967         * Makefile.am:
14968         * Timeout.C:
14969         * Timeout.h:
14970         * minibuffer.h: move Timeout GUI-I
14971
14972 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * lyxrc.C (read): Update converters data-structures.
14975
14976 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14977
14978         * LaTeX.h (operator!=): add operator != for Aux_Info
14979
14980 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14983
14984         * LaTeXLog.C: deleted, useful code moved to Buffer
14985
14986         * buffer.h:
14987         * buffer.C: new function getLatexLogName()
14988
14989         * lyx_gui_misc.C:
14990         * lyx_gui.C:
14991         * lyxvc.C:
14992         * lyxvc.h:
14993         * lyxfunc.C: use frontends for LaTeX and VC logs
14994
14995 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * LaTeX.h: yet another std:: that Allan forgot.
14998
14999         * Variables.C (set): renamed from isset(), because this clashes
15000         with some HP-UX macros (grr).
15001
15002 2001-02-06  Allan Rae  <rae@lyx.org>
15003
15004         * LaTeX.h: Another bug fix.  Missing std:: this time.
15005
15006 2001-02-04  Allan Rae  <rae@lyx.org>
15007
15008         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15009         floats problem. I've left it commented out because it's not quite
15010         correct.  It should also test that the current object is a table or
15011         figure inset.  But I haven't gotten around to figuring out how to do
15012         that.  I *think* it'll be something like: "table" == inset.type()
15013
15014         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15015         bool.
15016
15017 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15020         all the citation/databases/styles in the auxilary file.
15021         (run): Rerun latex if there was a babel language error.
15022
15023 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * text.C (Backspace): Preserve the font when changing newline char
15026         with a space.
15027         (BreakParagraph): If the cursor is before a space, delete the space.
15028
15029         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15030
15031 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15032
15033         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15034         new argument (code).
15035         (ChangeCitationsIfUnique): New method.
15036
15037         * paragraph.C (GetPositionOfInset): Handle bibkey.
15038
15039 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * BufferView_pimpl.h: change type of Position::par_pos to
15042         LyXParagraph::size_type.
15043
15044 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15045
15046         * BufferView_pimpl.C (savePosition, restorePosition): Write
15047         messages to minibuffer.
15048
15049 2001-01-28  José Matos  <jamatos@fep.up.pt>
15050
15051         * buffer.C (makeDocBookFile): adds support for document language.
15052         A silly restriction on the name of LatexCommand types where removed.
15053         Added support for CDATA sections, allows to chars unescaped, used
15054         among others in code, to avoid escape < and >.
15055
15056 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15059         saved positions instrad of a stack. Furthermore, a position is
15060         stored using paragraph id/paragraph position.
15061
15062         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15063         Remove LFUN_REF_BACK.
15064
15065 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * converter.C (dvipdfm_options): New method.
15068
15069 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * vspace.C (isValidLength): Fix for empty input string.
15072
15073 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * LyXAction.C (init): change description of LFUN_FIGURE to
15076         "Insert Graphics"
15077
15078 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * LaTeX.C: add using directive
15081
15082 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * MenuBackend.C (expand): Fix the sorting of the formats.
15085
15086 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15087
15088         * lyx_main.C: tiny error message fix
15089
15090 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15091
15092         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15093         calling fl_initialize(). This fixes the problem with ',' as
15094         decimal separator in text files.
15095
15096 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15097
15098         * trans.C (process): Fix the keymap bug.
15099
15100 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15101
15102         * LaTeX.C (scanAuxFiles): New method. Provides support for
15103         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15104         (scanLogFile) Scan for "run BibTeX" messages.
15105
15106         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15107         OT1 font encoding. Also, load the aecompl package if the ae
15108         package is loaded.
15109
15110         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15111
15112 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * texrow.C (increasePos): turn two error messages into debug
15115         messages.
15116
15117 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15118
15119         * LaTeX.C (scanAux): Handle the \@input macro.
15120         (runBibTeX): Use scanAux().
15121
15122         * language.C (latex_options_): New field.
15123
15124         * LaTeXFeatures.C (getMacros): Add language macros.
15125
15126         * buffer.C (makeLaTeXFile): Small fix.
15127
15128 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15129
15130         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15131
15132         * text2.C: add a using directive.
15133
15134 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * BufferView2.C:
15137         * lyx_gui_misc.h:
15138         * lyxfr1.C:
15139         * lyxfunc.C: kill LyXBell.
15140
15141 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * text.C (IsBoundary): Remove the error message
15144
15145         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15146
15147         * lyxrc.C (setDefaults): Correct initialization value for
15148         font_norm_type.
15149
15150 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15153         gotoError().
15154
15155         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15156         and GotoNextNote().
15157
15158         * src/LyXAction.C: Added reference-next.
15159
15160         * text.C (InsertChar): Use contains instead of strchr.
15161
15162         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15163
15164 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15165
15166         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15167         alignment commands (when needed).
15168
15169         * text.C (InsertChar): Add ':' to number separator chars.