]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
some spellcheck fixes
[lyx.git] / src / ChangeLog
1
2 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * BufferView.C (setCursor, putSelectionAt): call edit to open the
5         insets where we are putting the cursor.
6         * ControlSpellchecker.C (isLetter, nextWord): check for inTextEd,
7         use forwardPos.
8
9 2004-03-31  Angus Leeming  <leeming@lyx.org>
10
11         * lfuns.h:
12         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
13
14         * lyxrc.[Ch] (read, write): overloaded member functions taking
15         a std::[io]stream arguments.
16
17         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
18
19 2004-03-31  Angus Leeming  <leeming@lyx.org>
20
21         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
22         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
23
24         * lyxtextclass.C (load): if the text class couldn't be loaded, then
25         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
26
27 2004-03-31  Angus Leeming  <leeming@lyx.org>
28
29         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
30         the LFUN_ALL_INSETS_TOGGLE code.
31
32 2004-03-30  Angus Leeming  <leeming@lyx.org>
33
34         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
35         has died. Fall through to the generic Dialogs::show("document").
36         
37 2004-03-30  Angus Leeming  <leeming@lyx.org>
38
39         * lfuns.h:
40         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
41         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
42
43         * lyxfunc.C (getStatus, dispatch): define the actions for these
44         lfuns. Little more than a cut and pste job from ControlDocument.C
45
46         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
47
48 2004-03-30  Angus Leeming  <leeming@lyx.org>
49
50         * lfuns.h:
51         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
52         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
53
54         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
55         open/closed state of ollapsable insets. Usage:
56
57         all-inset-toggle <state> <name>, where
58         <state> == "open" || "closed" || "toggle" and
59         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
60
61         * lyxtext.h, text2.C (toggleInset): removed.
62
63         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
64         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
65         now passes LFUN_INSET_TOGGLE to the found inset.
66
67         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
68         is now invoked as "all-insets-toggle toggle branch".
69
70 2004-03-30  Angus Leeming  <leeming@lyx.org>
71
72         * dociterator.C:
73         * insetiterator.C:
74         * pariterator.[Ch]: added/corrected header blurb.
75
76 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
77
78         * dociterator.[Ch]: add an inset_ member 
79         (backwardPos): implemented
80         (backwardPos, forwardPos): use inset_ when the stack is empty.
81         (doc_iterator_begin, doc_iterator_end): implemented
82         * pariterator.[Ch]: adjust, add begin, end
83         * insetiterator.[Ch]: adjust, add begin, end
84         * cursor.C: 
85         * document.C:
86         * BufferView.C:
87         * BufferView_pimpl.C:
88         * CutAndPaste.C: adjust
89
90 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * buffer.C: increment file format to 232.
93         * LaTeXFeatures.C: add bibtopic package.
94         * bufferparams.[Ch]: param \use_bibtopic.
95         
96         * lyxrc.[Ch]: add lyxrc bibtex_command
97         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
98         
99         * buffer.C: increment file format to 231.
100
101 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * dociterator.C: implement forwardPar
104         * iterators.[Ch]: remove, replaced by
105         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
106         * BufferView.C:
107         * BufferView_pimpl.C:
108         * CutAndPaste.C:
109         * buffer.C:
110         * bufferview_funcs.C:
111         * cursor.C:
112         * lyxfind.C
113         * lyxfunc.C
114         * paragraph_funcs.C
115         * toc.C:  
116         * Makefile.am: adjust
117
118 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * CutAndPaste.C (pasteSelection): fix 2 crashes
121         (eraseSelection): fix a crash
122         * paragraph_funcs.C: remove a warning
123
124 2004-03-28  Angus Leeming  <leeming@lyx.org>
125
126         * lfuns.h:
127         * LyXAction.C (init): new LFUN_PRINT.
128
129         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
130
131 2004-03-27  Angus Leeming  <leeming@lyx.org>
132
133         * lfuns.h:
134         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
135
136         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
137
138 2004-03-27  Angus Leeming  <leeming@lyx.org>
139
140         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
141         insetlist always contains non-null pointers to insets.
142
143 2004-03-26  Angus Leeming  <leeming@lyx.org>
144
145         * src/BufferView_pimpl.C:
146         * src/CutAndPaste.C:
147         * src/buffer.C:
148         * src/iterators.C:
149         * src/output_plaintext.C:
150         * src/outputparams.h:
151         * src/paragraph_funcs.C:
152         * src/rowpainter.C:
153         * src/text.C:
154         * src/text2.C:
155         * src/frontends/controllers/ControlErrorList.C:
156         * src/frontends/gtk/FileDialogPrivate.C:
157         * src/frontends/gtk/GPainter.C:
158         * src/frontends/gtk/GToolbar.C:
159         * src/frontends/qt2/QRef.C:
160         * src/mathed/math_scriptinset.C: squash compiler warnings.
161
162 2004-03-26  Angus Leeming  <leeming@lyx.org>
163
164         * ispell.C (LaunchIspell::start):
165         * lyx_cb.C (AutoSaveBuffer::start):
166         invoke run(DontWait) rather than runNonBlocking().
167
168 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
169
170         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
171
172 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * kbsequence.C (print): adjust
175
176         * kbmap.C (printKeySym): rename and change signature
177         (printKey): use LyXKeySym::print()
178
179 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * undo.C: add using std::advance to compile for stlport
182
183 2004-03-24  Angus Leeming  <leeming@lyx.org>
184
185         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
186         it leads to a crash when no buffer is present.
187
188 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189             Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * lyxfunc.C (dispatch): 
192         * bufferparams.C (readToken): use the new LColor::setColor 
193
194         * LColor.[Ch] (setColor): new version that takes two strings as
195         argument and creates a new color entry if necessary
196
197 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
198
199         * buffer.C (makeLaTeXFile): if the main latex file that is
200         processed is usually a subdocument of some master, then pretend
201         for a while that it is actually the master
202
203 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
204
205         * buffer.C (getLabelList):
206         (getBibkeyList): use getMasterBuffer()
207         (getMasterBuffer): new method. Returns the main document in the
208         case where one is using included documents.
209
210 2004-03-25  André Pönitz  <poenitz@gmx.net>
211
212         * Makefile.am:
213         * iterators.[Ch]:
214         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
215
216         * ParagraphList_fwd.h: change ParagraphList to a std::vector
217
218         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
219         text*.C over here. Rename namespace CutAndPaste to lyx::cap
220
221         * ParameterStruct.h: merge with ParagraphParameters
222
223         * lyxtext.h: remove LyXText::parOffset() and getPar()
224
225         * text3.C: Remove all 'manual' update calls. We do now one per user
226         interaction which is completely sufficient.
227
228         * Bidi.C:
229         * BufferView.[Ch]:
230         * BufferView_pimpl.C:
231         * FontIterator.[Ch]:
232         * MenuBackend.C:
233         * ParagraphParameters.[Ch]:
234         * buffer.C:
235         * buffer.h:
236         * bufferlist.C:
237         * cursor.[Ch]:
238         * cursor_slice.[Ch]:
239         * dociterator.[Ch]:
240         * errorlist.[Ch]:
241         * factory.C:
242         * lfuns.h:
243         * lyxfind.C:
244         * lyxfunc.C:
245         * output_docbook.[Ch]:
246         * output_latex.[Ch]:
247         * output_linuxdoc.[Ch]:
248         * output_plaintext.[Ch]:
249         * paragraph.[Ch]:
250         * paragraph_funcs.[Ch]:
251         * paragraph_pimpl.[Ch]:
252         * rowpainter.C:
253         * tabular.[Ch]:
254         * text.C:
255         * text2.C:
256         * toc.C:
257         * undo.[Ch]: adjust
258
259         * frontends/controllers/ControlDocument.C:
260         * frontends/controllers/ControlErrorList.C:
261         * frontends/controllers/ControlSpellchecker.C:
262         * insets/inset.C:
263         * insets/inset.h:
264         * insets/insetbase.h:
265         * insets/insetbibitem.C:
266         * insets/insetbox.C:
267         * insets/insetbranch.C:
268         * insets/insetcaption.C:
269         * insets/insetcharstyle.C:
270         * insets/insetcharstyle.h:
271         * insets/insetcollapsable.C:
272         * insets/insetcollapsable.h:
273         * insets/insetert.C:
274         * insets/insetfloat.C:
275         * insets/insetfoot.C:
276         * insets/insetmarginal.C:
277         * insets/insetnote.C:
278         * insets/insetoptarg.C:
279         * insets/insettabular.C:
280         * insets/insettext.C:
281         * insets/insettext.h:
282         * insets/insetwrap.C:
283         * mathed/math_mboxinset.C:
284         * mathed/math_nestinset.C:
285         * mathed/math_scriptinset.C:
286         * mathed/math_scriptinset.h:
287         * support/types.h:
288
289 2004-03-24  Angus Leeming  <leeming@lyx.org>
290
291         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
292         deal with any child processes that have finished but are waiting to
293         communicate this fact to the rest of LyX.
294
295 2004-03-24  Angus Leeming  <leeming@lyx.org>
296
297         64-bit compile fixes.
298
299         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
300         (c-tor): pass lyx::pos_types rather than ints.
301
302         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
303         lyx::pos_type.
304
305         * text.C (Delete): compile fix.
306         (getPar): ensure that function declaration is the same as that in
307         the header file.
308
309 2004-03-23  Angus Leeming  <leeming@lyx.org>
310
311         * ispell.C (LaunchIspell):
312         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
313         a boost::shred_ptr rather than a std::auto_ptr.
314
315 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * lyxfunc.C (getStatus): handle read-only buffers correctly;
318         handle LFUN_FILE_INSERT_*
319
320         * lyxrc.C (setDefaults, getDescription, output, read):
321         * lyxrc.h: remove ps_command
322
323 2004-03-22  Angus Leeming  <leeming@lyx.org>
324
325         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
326         Ensure that error_handler is processed once only and that all data
327         is saved before attempting to output any warning messages.
328
329         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
330
331 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
332
333         * tabular.C (TeXRow): crash fix (from Kayvan and André)
334
335 2004-03-19  André Pönitz  <poenitz@gmx.net>
336
337         * cursor.[Ch] (reset): take main text inset as argument
338
339         * BufferView: adjust
340         * BufferView_pimpl.C: adjust
341
342         * paragraph.[Ch]: fix completely broken operator=()
343
344 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * LColor.C (getFromLyXName): make sure that the color name is used
347         as lowercase.
348
349 2004-03-17  Angus Leeming  <leeming@lyx.org>
350
351         * lfuns.h:
352         * LyXAction.C (init): remove LFUN_FORKS_KILL.
353
354         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
355         dialog and to kill a forked process.
356
357 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * text2.C (setCursorFromCoordinates): fix font problem
360
361 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
362
363         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
364         bogus "rebuild cursor" code
365
366 2004-03-11  André Pönitz  <poenitz@gmx.net>
367
368         * buffer.[Ch]: use InsetText instead of LyXText as container for
369         the main lyx text.
370
371         * dociterator.[Ch]: drop the BufferView * member which is not needed
372         anymore after the change to buffer.C
373
374         * paragraph_funcs.C:
375         * text.C:
376         * text2.C:
377         * BufferView.[Ch]:
378         * BufferView_pimpl.[Ch]:
379         * cursor.[Ch]:
380         * cursor_slice.[Ch]: adjust
381
382         * text3.C: fix bug in mathDispatch
383
384 2004-03-08  André Pönitz  <poenitz@gmx.net>
385
386         * undo.[Ch]: use 'StableDocumentIterator' as base for
387         the Undo struct.
388
389 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
390
391         * LaTeXFeatures.C:
392         * bufferparams.[Ch]: add jurabib support and param.
393
394         * LaTeX.C: add FIXME/comment.
395
396 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
397
398         * buffer.C: increment file format to 230.
399
400 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * cursor.C (dispatch): avoid infinite loops
403
404 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * rowpainter.C (paintSelection): fix x coordinates
407
408 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * text.C (rowBreakPoint): fix breaking before displayed insets
411
412 2004-03-01  André Pönitz  <poenitz@gmx.net>
413
414         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
415
416         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
417
418         * Makefile.am:
419         * BufferView.C:
420         * BufferView_pimpl.C:
421         * buffer.C:
422         * lyxfind.C:
423         * lyxfunc.C:
424         * text.C:
425         * text2.C:
426         * text3.C: adjust
427
428 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * lyxtext.h:
431         * text.C:
432         * text2.C:
433         * rowpainter.C:
434         * BufferView_pimpl.C: rename textwidth -> maxwidth,
435         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
436
437 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * Bidi.[Ch] (computeTables): const correctness
440         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
441         fill_hfill, fill_label_hfill and x from Row
442         * lyxtext.h: prepareToPrint returns a RowMetrics
443         * rowPainter.C: adjust
444         * text.C (prepareToPrint): use width, not textWidth. adjust
445         (redoParagraphInternal, cursorX): adjust
446         * text2.C (getColumnNearX): adjust
447         (init): put a default value to the top LyXText::width
448
449 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
450
451         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
452
453 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
454
455         * lyxtext.h: add FontIterator class
456
457         * text.C (FontIterator, operator*, operator->, operator++): add
458         (rowBreakPoint, setRowWidth): adjust (fixing a
459         rebreaking bug)
460
461 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * BufferView_pimpl.C (workAreaDispatch): allow also
464         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
465
466 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * text.C (rowBreakPoint): fix a bug showing with very large insets
469
470 2004-02-25  André Pönitz  <poenitz@gmx.net>
471
472         * text3.C:
473         * cursor.[Ch]: move some mathed specific code to mathed
474
475 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
476
477         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
478         use_tempdir in preferences
479         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
480         tempfile creation
481         * lyx_main.C: ensure that tempdir is valid
482         * lyxlex.h: correct typo
483         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
484         * paragraph.[Ch] (isMultiLingual): make const
485         * cursor.[Ch] (openable): make const
486
487 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
488
489         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
490
491 2004-02-20  André Pönitz  <poenitz@gmx.net>
492
493         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
494
495         * cursor.[Ch]: prepare for localized getStatus()
496
497         * lyxtext.h:
498         * tabular.C:
499         * text.C:
500         * text2.C:
501         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
502
503 2004-02-20  André Pönitz  <poenitz@gmx.net>
504
505         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
506
507 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
508
509         * text2.C (setCursorFromCoordinates): switch to absolute coords
510         (cursorUp): adjust
511         (cursorDown): adjust
512         * text3.C (dispatch): adjust
513
514 2004-02-16  André Pönitz  <poenitz@gmx.net>
515
516         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
517           insets/ChangeLog)
518
519         * cursor_slice.[Ch]: remove unneeded acessor function
520
521         * lyxtext.h: rename rtl() to isRTL()
522
523         * rowpainter.C:
524         * tabular.C:
525         * text.C:
526         * text2.C:
527         * text3.C: adjust
528
529 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * rowpainter.C (paintSelection): coord fix
532
533 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
534
535         * Spacing.C: compile fix
536
537 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
538
539         * cursor.C (dispatch): restore current_ before returning
540
541 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
542
543         * text2.C (cursorUp, cursorDown): fix coords
544         (moveUp): fix crash
545
546 2004-02-12  André Pönitz  <poenitz@gmx.net>
547
548         * lyxtext.h:
549         * text.C:
550         * text2.C:
551         * text3.C: add LCursor & parameter to most cursor movement functions
552           remove usage of LyXText::cursorRow() and cursorPar()
553
554         * cursor.[Ch]: add textRow() needed members
555
556         * BufferView.C:
557         * BufferView_pimpl.C:
558         * paragraph.[Ch]:
559         * BufferView.C:
560         * BufferView_pimpl.C: adjust
561
562 2004-02-11  André Pönitz  <poenitz@gmx.net>
563
564         * lyxfunc.C:
565         * BufferView.[Ch]:
566         * BufferView_pimpl.C: shift undo/redo handling
567
568         * cursor.[Ch]: fix mathed crash
569
570         * lyxfind.C:
571         * lyxtext.h: move selectionAsText to LCursor
572
573         * output_latex.C:
574         * paragraph.C:
575         * text.C:
576         * text2.C:
577         * text3.C: adjust
578
579         * rowpainter.C: fix excessive drawing
580
581 2004-02-06  André Pönitz  <poenitz@gmx.net>
582
583         * BufferView.[Ch]:
584         * BufferView_pimpl.[Ch]:
585         * text3.C: move some text specific LFUN handling
586
587 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * text3.C (checkInsetHit): adjust coords
590         * text2.C (getColumnNearX): adjust coords
591         (edit): adjust coords
592         * text.C (getRowNearY): add two asserts
593
594 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
595
596         * converter.C:
597         * format.C: add using std::distance to compile on gcc 2.95/stlport
598
599 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
600
601         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
602
603 2004-02-04  André Pönitz  <poenitz@gmx.net>
604
605         * BufferView.[Ch] (insertInset):
606         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
607
608         * text2.C:
609         * text3.C: adjust
610
611 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
614         on the default clause of the switch
615         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
616         wasn't catched by LCursor::dispatch
617
618 2004-02-03  André Pönitz  <poenitz@gmx.net>
619
620         * BufferView.C:
621         * cursor.[Ch]: some additional asserts
622
623         * undo.[Ch]: remove LyXText dependency in interface
624
625         * lyxfunc.C: adjust
626
627         * lyxtext.h (firstPar, lastPar): remove dead functions
628
629         * text.C:
630         * text2.C:
631         * text3.C:
632         * paragraph.[Ch]: adjust
633
634 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
635
636         * lyxfind.C (find): fix argument order in call to ::find
637
638 2004-02-02  André Pönitz  <poenitz@gmx.net>
639
640         * cursor.[Ch]: remove direct access to anchor
641
642         * text.C: remove findText() hack
643
644 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
645
646         * iterators.[Ch] (lockPath): remove in favour of...
647         * BufferView.[Ch] (setCursor): this addition
648         * BufferView.C (putSelectionAt): adjust
649         * undo.C (performUndoOrRedo): adjust
650         * lyxfunc.C (dispatch): adjust
651
652 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
653
654         * iterators.C (lockPath): add a missing slice
655         * undo.C (performUndoOrRedo): remove redundant positioning code
656
657 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
658
659         * vc-backend.C (scanMaster): ";" -> ';'
660
661 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
662
663         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
664         std::binary_function
665
666         * lyxtextclass.C (compare_name): rename to...
667         (LayoutNamesEqual): ...this
668
669         * lyxlex_pimpl.C (compare_tags): inherit from
670         std::binary_function, put back into anon namespace
671
672         * lyxfind.C (MatchString): inherig from std::binary_function
673         (findChange): use empty() istead of !size()
674
675         * format.C (FormatNamesEqual): new functor
676         (getFormat): use it
677         (getNumber): use it
678         (add): use it
679         (erase): use it
680         (setViewer): use it
681
682         * converter.C (compare_Converter): rename to...
683         (ConverterEqual): ...this, and fixup a bit.
684         (getConverter): use it, and make function const
685         (getNumber): use it, and make function const
686         (add): use it
687         (erase): use it:
688
689         * bufferlist.C: add using boost::bind
690
691         * MenuBackend.C (MenuNamesEqual): new functor
692         (hasMenu): use it, and make function const
693         (hasSubmenu): use nested bind to get rid of compare_memfun.
694
695 2004-01-30  André Pönitz  <poenitz@gmx.net>
696
697         * BufferView_pimpl.C:
698         * cursor.C:
699         * cursor.h:
700         * cursor_slice.[Ch]:
701         * lyxfunc.C:
702         * lyxtext.h:
703         * paragraph_funcs.C:
704         * paragraph_funcs.h:
705         * rowpainter.C:
706         * text.C:
707         * text2.C:
708         * text3.C: move some of the edit(x,y) handling to the insets
709         some coordinate changes.
710
711 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * text.C: add using statements for std::advance and std::distance
714
715         * paragraph.C: add using statement for std::distance
716
717         * lyxfind.C: add using statement for std::advance
718
719         * cursor.C (region): remove std:: from swap
720         (openable): use nucleus in stead of operator->
721
722         * BufferView.C: add using statements for std::distance and std::swap
723
724 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
725
726         * iterators.C: Remove the pimple, move the needed structures to
727         the header file. Create accessor for the positions stack.
728         (asPosIterator): remove function
729
730         * PosIterator.C (PosIterator): move constructors to top of file
731         (PosIterator): reimplement the constructor taking a ParIterator in
732         terms of setFrom.
733         (setFrom): new function
734         (operator!=): inline it
735
736 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
737
738         * lyxfind.C (replaceAll): use std::advance
739
740         * iterators.h: inherit from std::iterator.
741
742         * PosIterator.C (advance, distance): remove
743         * PosIterator.h: interit from std::iterator.
744
745 2004-01-26  André Pönitz  <poenitz@gmx.net>
746
747         * BufferView.[Ch]:
748         * BufferView_pimpl.[Ch]:
749         * InsetList.[Ch]:
750         * PosIterator.[Ch]:
751         * buffer.h:
752         * bufferview_funcs.C:
753         * cursor.[Ch]:
754         * cursor_slice.h:
755         * factory.[Ch]:
756         * iterators.[Ch]:
757         * lyxfind.C:
758         * lyxfunc.C:
759         * lyxtext.h:
760         * output_docbook.C:
761         * output_latex.C:
762         * output_linuxdoc.C:
763         * output_plaintext.C:
764         * paragraph.[Ch]:
765         * paragraph_funcs.[Ch]:
766         * paragraph_pimpl.[Ch]:
767         * rowpainter.C:
768         * tabular.C:
769         * tabular.h:
770         * text.C:
771         * text2.C:
772         * text3.C: more IU:  dumps most of the rest of the mathcursor
773     implementation into cursor.[Ch]; "globalize" a bit of it.
774
775 2004-01-25  Angus Leeming  <leeming@lyx.org>
776
777         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
778
779 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * LaTeXFeatures.h: add nice_ and nice() const
782         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
783
784 2004-01-20  André Pönitz  <poenitz@gmx.net>
785
786         * BufferView.[Ch]:
787         * BufferView_pimpl.C:
788         * PosIterator.C:
789         * bufferview_funcs.C:
790         * cursor.[Ch]:
791         * cursor_slice.[Ch]:
792         * factory.C:
793         * iterators.C:
794         * lyx_cb.C:
795         * lyxfind.C:
796         * lyxfunc.C:
797         * lyxtext.h:
798         * rowpainter.C:
799         * text.C:
800         * text2.C:
801         * text3.C:
802         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
803           LCursor and mathcursor parts to LCursor and InsetBase.
804
805 2004-01-15  André Pönitz  <poenitz@gmx.net>
806
807         * cursor_slice.[Ch]: add a few covienience functions
808
809         * funcrequest.[Ch]: remove BufferView * member
810
811         * BufferView_pimpl.C:
812         * cursor.C:
813         * factory.[Ch]:
814         * lyxfind.[Ch]:
815         * lyxfunc.C:
816         * lyxtext.h:
817         * text3.C:
818         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
819
820 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
823         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
824
825 2004-01-13  André Pönitz  <poenitz@gmx.net>
826
827         * textcursor.[Ch]:
828         * lyxtext.h: hide cursor and selection anchor behind accessor function
829
830         * BufferView.C:
831         * BufferView_pimpl.[Ch]:
832         * PosIterator.C:
833         * bufferview_funcs.C:
834         * cursor.h:
835         * lyxfind.C:
836         * lyxfunc.C:
837         * text.C:
838         * text2.C:
839         * text3.C:
840         * undo.C: adjust
841
842         * cursor.h:
843         * cursor_slice.[Ch]: some integer type changes for inset unification
844
845         * lyxcursor.[hC]: remove, it's CursorSlice now.
846
847         * Makefile.am:
848         * BufferView_pimpl.[Ch]:
849         * bufferview_funcs.C:
850         * cursor_slice.C:
851         * lyxtext.h:
852         * text.C:
853         * text2.C:
854         * text3.C:
855         * textcursor.[Ch]: adjust
856
857 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * text2.C (undoSpan): add and use
860         * text.C (breakParagraph): use undoSpan (fix bug 578)
861         * lyxtext.h: adjust
862
863 2004-01-08  Angus Leeming  <leeming@lyx.org>
864
865         * BufferView_pimpl.C (MenuInsertLyXFile):
866         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
867         * lyxfunc.C (menuNew, open, doImport):
868         FileFilterList change to the FileDialog open and save functions.
869
870 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
871
872         * ShareContainer.h: make isEqual and isUnique adaptable
873
874         * CutAndPaste.C: make resetOwnerAndChanges adaptable
875
876 2004-01-07  Angus Leeming  <leeming@lyx.org>
877
878         * LyXAction.C:
879         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
880
881         * BufferView_pimpl.C (dispatch): act on these LFUNs.
882
883         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
884         functions replacing find, replace and replaceAll.
885
886         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
887         LFUN_WORDFIND(FORWARD|BACKWARD).
888
889 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
890
891         * text.C (breakParagraph): remove an outdated #warning
892
893 2004-01-07  André Pönitz  <poenitz@gmx.net>
894
895         * lyxfind.C: somewhat clearer logic
896
897         * text.C: prevent crash in cursorX on unitialized row cache
898
899 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * lyxcursor.[Ch] (operator>): add
902         * textcursor.C (selStart, selEnd): use std::min and std::max
903
904 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
905
906         * Chktex.C: include boost/format.hpp
907
908 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
909
910         * InsetList.C: replace functor MathcIt with adaptable functor
911         InsetTablePosLess
912         (insetIterator): modify accordingly
913
914         * BranchList.h: move the BranchNamesEqual functor here from...
915         * BranchList.C: ... to here
916
917         * BranchList.C: new BranchListEqual fuctor, use it. Remove
918         SameName and match.
919         (add): replace a finding loop with std::find_if.
920
921 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
922
923         * output_docbook.C: moving LatexParam functionality into
924         .layout files
925
926 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
927
928         * buffer.C: increment format to 229.
929
930 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
931
932         * LaTeXFeatures.C:
933         * lyx_sty.[Ch]: remove minipageindent_def
934
935         * LyXAction.C:
936         * factory.C:
937         * lfuns.h:
938         * lyxfunc.C:
939         * text3.C: remove LFUN_INSET_MINIPAGE
940
941 2003-12-28  Angus Leeming  <leeming@lyx.org>
942
943         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
944
945 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * text2.C (setParagraph): fix off-by-one crash
948
949 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
950
951         * output_docbook.C: header stuff for AGU
952
953 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * text2.C (redoCursor): remove
956         * text.C:
957         * text3.C:
958         * BufferView_pimpl.C: remove calls to redoCursor and
959         setCursor(cursor.par(), cursor.pos()) all around
960
961 2003-12-15  Angus Leeming  <leeming@lyx.org>
962
963         * buffer.C: up the format to 228.
964
965 2003-12-15  André Pönitz  <poenitz@gmx.net>
966
967         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
968         slices
969
970         * Makefile.am:
971
972         * BufferView_pimpl.C:
973         * cursor.[Ch]:
974         * lyxcursor.[Ch]:
975         * rowpainter.[Ch]:
976         * lyxtext.h:
977         * text.C:
978         * text2.C:
979         * text3.C: adjust
980
981 2003-12-15  Angus Leeming  <leeming@lyx.org>
982
983         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
984         than getFromGUIName to manipulate the color.
985
986 2003-12-14  Angus Leeming  <leeming@lyx.org>
987
988         * BranchList.[Ch]: minimize the API.
989         (Branch::getBranch, getColor): now return a 'const &'.
990         (Branch::setSelected) now returns a bool set to true if the
991         selection status changes.
992         (BranchList::clear, size, getColor, setColor, setSelected,
993         allBranches, allSelected, separator): removed.
994         (BranchList::find): new functions, returning the Branch with
995         the given name.
996         (BranchList::add, remove): return a bool indicating that
997         the operation was successful.
998
999         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1000         new InsetBranch::isBranchSlected member function.
1001
1002         * LColor.[Ch]: mimimize the API.
1003         (fill): renamed as addColor and made private.
1004         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1005         versions of these functions taking a string arg have been removed.
1006
1007         * bufferparams.C (readToken):
1008         * lyxfunc.C (dispatch):
1009         * lyxrc.C (read): changes due to the altered BranchList and
1010         LColor APIs.
1011
1012         * factory.C (createInset, readInset): changes due to altered
1013         InsetBranch c-tor.
1014
1015 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1016
1017         * factory.C:
1018         * lyxfunc.C: remove insetminipage. "minipage-insert"
1019         now produces a frameless minipage box inset.
1020
1021 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * textcursor.[Ch] (selStart,selEnd): add new methods
1024         remove selection::start, end, use LyXCursor::operator<
1025         * lyxcursor.[Ch] (operator<): add
1026         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1027         * BufferView.[Ch] (unsetXSel): add
1028         * text2.C (clearSelection): use unsetXSel,adjust
1029         * text.C: adjust
1030         * text3.C: adjust
1031         * rowpainter.C: adjust
1032         * bufferview_funcs.C (put_selection_at): adjust
1033
1034 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * BufferView_pimpl.C: small coord. correction
1037
1038 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1041         dragging over the splash screen.
1042
1043 2003-12-11  Angus Leeming  <leeming@lyx.org>
1044
1045         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1046         as it is now handled in LyXText::dispatch.
1047
1048         * text3.C (doInsertInset): remove a level of nesting.
1049
1050 2003-12-11  Angus Leeming  <leeming@lyx.org>
1051
1052         * factory.C (createInset): changes due to the changed interface to
1053         InsetCommandMailer::string2params.
1054
1055 2003-12-10  Angus Leeming  <leeming@lyx.org>
1056
1057         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1058         'dialog-show-new-inset <inset name>'
1059
1060 2003-12-10  Angus Leeming  <leeming@lyx.org>
1061
1062         * buffer.C: up the format to 227.
1063
1064         * factory.C: the box inset is now identified simply by 'Box'.
1065
1066 2003-12-10  Angus Leeming  <leeming@lyx.org>
1067
1068         * buffer.C: up the format to 226.
1069
1070         * factory.C: the note inset is now identified simply by 'Note'.
1071
1072 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1073
1074         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1075         when a pit is enough. Standarize a couple of loops.
1076
1077 2003-12-05  Angus Leeming  <leeming@lyx.org>
1078
1079         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1080         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1081         data to the re-worked "log" dialog.
1082
1083 2003-12-03  André Pönitz  <poenitz@gmx.net>
1084
1085         * PosIterator.C:
1086         * iterators.C:
1087         * lyxtext.h:
1088         * output_latex.C:
1089         * paragraph_funcs.C:
1090         * text.C:
1091         * text2.C: use Inset::getText instead of Inset::getParagraph
1092
1093 2003-12-03  André Pönitz  <poenitz@gmx.net>
1094
1095         * buffer.[Ch]:
1096         * lyxtext.h:
1097         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1098         InsetText::read() as LyXText::read()
1099
1100 2003-12-02  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1103         type. Add a comment in the implementation that the function uses
1104         the stream's bad() function rather than fail() as the std::streams
1105         would do.
1106
1107 2003-12-02  André Pönitz  <poenitz@gmx.net>
1108
1109         * lyxlex.[Ch]: make interface more similar to std::stream
1110
1111         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1112
1113 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1116
1117 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1118
1119         * vspace.[Ch]: remove VSpace::NONE
1120
1121 2003-12-01  André Pönitz  <poenitz@gmx.net>
1122
1123         * buffer.[Ch]:
1124         * lyxtext.h: move ParagraphList member to LyXText
1125         rename LyXText::ownerParagraphs to LyXText::paragraph
1126
1127         * CutAndPaste.C:
1128         * bufferview_funcs.C:
1129         * iterators.[Ch]:
1130         * lyx_cb.C:
1131         * paragraph.C:
1132         * rowpainter.C:
1133         * tabular.C:
1134         * text.C:
1135         * text2.C:
1136         * text3.C: adjust
1137
1138         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1139
1140         * undo.C: fix cursor positioning
1141
1142 2003-12-01  John Levon  <levon@movementarian.org>
1143
1144         * BufferView_pimpl.C: fix a crash on exit with
1145         a buffer open
1146
1147 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1148
1149         * BranchList.C: fix setSelected() method.
1150
1151 2003-11-28  André Pönitz  <poenitz@gmx.net>
1152
1153         * ParagraphParameters.[Ch]:
1154         * ParameterStruct.h: remove space above/below from Paragraph to
1155          InsetVSpace
1156
1157         * BufferView_pimpl.C:
1158         * factory.C:
1159         * lyxfunc.C:
1160         * lyxtext.h:
1161         * output_latex.C:
1162         * paragraph.C:
1163         * paragraph_funcs.C:
1164         * rowpainter.[Ch]:
1165         * text.C:
1166         * text2.C:
1167         * text3.C: adjust
1168
1169 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1170
1171         * factory.C: Syntax change for CharStyles
1172
1173 2003-11-28  André Pönitz  <poenitz@gmx.net>
1174
1175         * BufferView.[Ch]:
1176         * BufferView.[Ch]:
1177         * buffer.[Ch]:
1178         * buffer.[Ch]: move LyXText member
1179
1180 2003-11-28  André Pönitz  <poenitz@gmx.net>
1181
1182         * BufferView.[Ch]: make LyXText * text a private member
1183
1184         * BufferView_pimpl.C:
1185         * cursor.C:
1186         * iterators.C:
1187         * lyx_cb.C:
1188         * lyxfind.C:
1189         * lyxtext.h:
1190         * rowpainter.[Ch]:
1191         * text.C:
1192         * text2.C:
1193         * undo.C: adjust
1194
1195         * output_plaintext.C: cleanup
1196
1197 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * buffer.C:
1200         * lyxtextclass.[Ch]: parametrize SGML document header
1201
1202 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * converter.[Ch]:
1205         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1206         getFlavor().
1207
1208 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1209
1210         * text2.C (setFont): rework using PosIterator (no more recursive)
1211         (setCharFont): no more needed
1212         (setLayout): no more selection cursors fiddling (done by redoCursor)
1213         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1214         destroy remaining ones)
1215
1216 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1219         * lyxtext.h: ditto
1220         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1221         selection cursors
1222         * lyxfunc.C: adjust
1223         * text3.C: adjust + re-allow multi par depth changes
1224         * textcursor.C: simplify a bit
1225
1226 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * src/buffer.C:
1229         * src/lyxlayout.C:
1230         * src/lyxlayout.h:
1231         * src/lyxtext.h:
1232         * src/output_docbook.C:
1233         * src/output_latex.C:
1234         * src/paragraph.C:
1235         * src/paragraph.h:
1236         * src/sgml.C:
1237         * src/sgml.h:
1238         * src/text2.C: Introducing a number of tags parametrizing various
1239         XML formats that we may want to support
1240
1241 2003-11-25  André Pönitz  <poenitz@gmx.net>
1242
1243         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1244
1245         * lyxtext.h (leftMargin/rightMargin): simplify interface
1246
1247         * rowpainter.C:
1248         * text.C:
1249         * text2.C:
1250         * text3.C: adjust
1251
1252 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1253
1254         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1255         master file to any child files. Fixes bug 546.
1256
1257 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1260
1261 2003-11-24  André Pönitz  <poenitz@gmx.net>
1262
1263         * rowpainter.C: simplification
1264
1265         * text2.C (updateCounters): remove call to redoParagraph on
1266         changed labels as this is far too expensive.
1267
1268 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1269
1270         * converter.C (convert): fix a crash: this function gets
1271         called with buffer == 0 from importer code.
1272
1273 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1274
1275         * text3.C (cursorPrevious): make sure that we do not compare
1276         iterators form different containers.
1277         (cursorNext): ditto
1278
1279         * rowpainter.C (paintSelection): make sure that we do not compare
1280         iterators from different containers.
1281
1282         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1283         iterators from different ParagraphList containers.
1284         [NEXT] ditto
1285
1286         * text2.C (LyXText): change order of initialization slightly
1287         (operator=): new function. copy all variables except cache_par_
1288         (moveUp): make sure that we do not compare iterators from
1289         different ParagraphList constainers.
1290         (moveDown): ditto
1291
1292         * text.C (firstPar): new function
1293         (lastPar): new function
1294         (endPar): new function
1295
1296         * lyxtext.h: move things around and group public functions, public
1297         variables, private functions, private variables
1298
1299 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1300
1301         * factory.C: change call to InsetERT constructor to avoid
1302         additional invocation of method status
1303         * text2.C (toggleInset): remove redundant update() call
1304         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1305         instead of a Bufferview pointer
1306
1307 2003-11-21  André Pönitz  <poenitz@gmx.net>
1308
1309         * rowpainter.C: simplification
1310
1311 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * text3.C (dispatch): make possible to extend a word/row selection
1314         with the mouse
1315
1316 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * lyxtext.h: x0_,y0_ -> xo_,yo_
1319         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1320         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1321         * rowpainter.C (paintRows): paint full paragraphs
1322
1323 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1326         screen coordinates)
1327
1328 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1329
1330         * lyxtext.h: add x0_, y0_
1331         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1332         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1333
1334 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * text2.C (setCursorIntern): move the x_target update here *
1337         * text3.C: change some bv() to true/false in calls to
1338         cursorUp/Down/Right/Left
1339         * cursor.C: use helper function.
1340
1341 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1344         * paragraph_funcs.[Ch]: correct comment
1345         * rowpainter.C: do not paint selections away from bv->cursor()
1346         Fix a long standing selection painting bug.
1347         * text3.C: generalize mouse-selection code to LyXTexts other that
1348         top one
1349         * textcursor.C: do not use y coords if we can use par offsets
1350
1351 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1354         cursor position after e.g. inset insert)
1355
1356 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * lyxfind.C (replace): adjust to locking removal + some
1359         code simplification
1360
1361 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1364         of the path
1365
1366 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1367
1368         * lyxlayout.[Ch]:
1369         * output_docbook.C: XML sanitation: new layout
1370         parameters InnerTag and CommandDepth
1371
1372 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1373
1374         * BufferView_pimpl.C:
1375         * factory.C:
1376         * text3.C: Fix the insertion and modification of button-style
1377         insets
1378
1379 2003-11-13  André Pönitz  <poenitz@gmx.net>
1380
1381         * InsetList.[Ch]: remove deleteLyXText
1382
1383         * paragraph.[Ch]: cache beginOfBody position
1384
1385         * Bidi.C:
1386         * text.C:
1387         * text2.C:
1388         * text3.C: remove superfluous update() calls
1389
1390         * vspace.C: cleanup
1391
1392 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1395         * BufferView.C (fitLockedInsetCursor): remove
1396         * cursor.[Ch] (getDim): add
1397         * text.C (getRowNearY): add faster version
1398         * text3.C: remove some update calls
1399
1400 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * LaTeXFeatures.C:
1403         * LyXAction.C:
1404         * MenuBackend.C:
1405         * MenuBackend.h:
1406         * dispatchresult.h:
1407         * factory.C:
1408         * lfuns.h:
1409         * lyxfunc.C:
1410         * lyxtextclass.C:
1411         * lyxtextclass.h:
1412         * text3.C: The Character Style /XML short element patch.
1413
1414 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * text3.C:
1417         * factory.C: Small step to solving 'unable to insert some insets'
1418         problem
1419
1420 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * cursor.[Ch] (updatePos): new function for updating the y
1423         position of the tip inset
1424         * bufferview_funcs.C (put_selection_at):
1425         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1426
1427 2003-11-11  André Pönitz  <poenitz@gmx.net>
1428
1429         * text.C: remove big comment on invalid Paragraph pointers as it is
1430         not valid anymore
1431
1432 2003-11-11  André Pönitz  <poenitz@gmx.net>
1433
1434         * text_funcs.[Ch]: merge with ...
1435
1436         * text.C: ... this
1437
1438         * lyxtext.h:
1439         * text2.C:
1440         * text3.C: adjust
1441
1442         * Makefile.am: remove text_funcs.[Ch]
1443
1444 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * cursor.C (getPos): return absolute cached y coord
1447
1448         * BufferView_pimpl.C (fitCursor): new simplistic code
1449         (workAreaDispatch): add a fitCursor call
1450
1451 2003-11-10  André Pönitz  <poenitz@gmx.net>
1452
1453         * BufferView.[Ch]:
1454         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1455
1456 2003-11-10  André Pönitz  <poenitz@gmx.net>
1457
1458         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1459         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1460         indicate that the cursor needs to leave an inset
1461
1462         * lyxtext.h: remove inset locking
1463
1464         * cursor.[Ch]: re-implement functionality provided by inset locking
1465
1466         * BufferView.[Ch]:
1467         * BufferView_pimpl.[Ch]:
1468         * LyXAction.C:
1469         * bufferview_funcs.[Ch]:
1470         * factory.C:
1471         * funcrequest.[Ch]:
1472         * iterators.C:
1473         * lyx_cb.C:
1474         * lyxfind.C:
1475         * lyxfunc.C:
1476         * text.C:
1477         * text2.C:
1478         * text3.C:
1479         * undo.C: adjust
1480
1481 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * PosIterator.[Ch]: replace the stack with a vector, add inset
1484         accesor
1485         * iterators.[C]: adjust
1486
1487 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1490         replaced
1491         * paragraph_funcs.C (readParToken): put the correct id in the
1492         error item, not the id of the top paragraph
1493
1494 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1497         * bufferview_funcs.C (put_selection_at): use the above
1498
1499 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1500
1501         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1502
1503 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * output_linuxdoc.h:
1506         * output_plaintext.h:
1507         * output.h:
1508         * output_docbook.h: add #include statements
1509
1510 2003-11-05  José Matos  <jamatos@lyx.org>
1511
1512         * output_docbook.[Ch]:
1513         * output_latex.[Ch]:
1514         * output_linuxdoc.[Ch]:
1515         * output_plaintext.[Ch]: New files for output formats.
1516         * output.[Ch]: New file for helper functions.
1517
1518         * buffer.[Ch]:
1519         * paragraph_funcs.[Ch]: output functions moved to new files.
1520
1521         * outputparams.h: rename of latexrunparams.h
1522
1523         * LaTeX.[Ch]:
1524         * buffer.[Ch]:
1525         * bufferlist.[Ch]:
1526         * converter.[Ch]:
1527         * exporter.C:
1528         * paragraph.[Ch]:
1529         * paragraph_funcs.[Ch]:
1530         * paragraph_pimpl.[Ch]:
1531         * tabular.[Ch]: rename ascii to plaintext
1532         and LatexRunParams to OutputParams.
1533
1534 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1535
1536         * iterators.[Ch] (text): require bv argument
1537         * undo.C (recordUndo):
1538         * lyxfunc.C (dispatch):
1539         * bufferview_funcs.C (put_selection_at): adjust
1540
1541 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1542
1543         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1544
1545 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1546
1547         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1548         nestings
1549
1550 2003-11-04  André Pönitz  <poenitz@gmx.net>
1551
1552         * cursor.[Ch]: restructure
1553
1554         * BufferView.[Ch]:
1555         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1556
1557         * iterators.[Ch] (asCursor): remove
1558
1559         * lfuns.h: remove LFUN_INSET_EDIT
1560
1561         * lyxfunc.C:
1562         * tabular.C:
1563         * text.C:
1564         * text2.C:
1565         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1566
1567 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1568
1569         * lyxfind.[Ch]: complete overhaul
1570         * BufferView_pimpl.C:
1571         * lyxfunc.C: adjust
1572         * paragraph.[Ch] (insert): add
1573
1574 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1575
1576         * BufferView.[Ch]:
1577         * lyxtext.h:
1578         * text.C: remove dead spellcheck code
1579
1580 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * dispatchresult.h: add a val setter
1583
1584         * cursor.C (dispatch): use a tempvar for data_[i]
1585
1586 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1587
1588         * PosIterator.[Ch]: compile fix
1589
1590 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1591
1592         * text.C (cursorPar): deactivate the cursor cache
1593
1594 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1595
1596         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1597
1598 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * text3.C (dispatch): adjust for new DisptchResult semantics.
1601
1602         * lyxfunc.C (dispatch): handle update when return from
1603         Cursor::dispatch, adjust for new DispatchResult semantics.
1604
1605         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1606         DispatchResult(true) mean to not update. Add class functions for
1607         setting dispatched and update, as well as reading.
1608
1609         * cursor.C (dispatch): don't handle update here
1610
1611 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1612
1613         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1614         * trans_mgr.C: adjust
1615
1616         * paragraph_funcs.C (readParToken): exception safety
1617
1618         * lyxvc.h: store the vcs pointer in a scoped_ptr
1619         * lyxvc.C: adjust
1620
1621         * lyxsocket.C (serverCallback): exception safety
1622
1623         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1624
1625         * ispell.C (clone): make it return a auto_ptr
1626
1627         * factory.C (createInset): exception safety
1628         (readInset): exception safety
1629
1630         * bufferlist.C (newBuffer): exception safety
1631
1632         * Thesaurus.C (Thesaurus): use initialization for aik_
1633
1634         * MenuBackend.C (expandToc): exception safety.
1635
1636 2003-11-03  André Pönitz  <poenitz@gmx.net>
1637
1638         * buffer.C:
1639         * buffer.h:
1640         * bufferview_funcs.C: remove getInsetFromId()
1641
1642         * lyxcursor.[Ch]:
1643         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1644
1645         * lyxfunc.C:
1646         * text2.C:
1647         * text3.C: adjust
1648
1649 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1650
1651         * PosIterator.C (distance, advance): new
1652         * bufferview_funcs.[Ch] (put_selection_at): new
1653         * iterators.[Ch] (lockPath): new
1654
1655 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * iterators.[Ch] (asPosIterator): added
1658         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1659         * PosIterator.[Ch]: added
1660
1661 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1662
1663         * text3.C:
1664         * lyxfunc.C:
1665         * cursor.C (dispatch):
1666         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1667
1668         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1669         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1670         contructor, add a class function dispatched. Remove operator>=
1671
1672 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * debug.C: only use the default constructor for debugstream
1675         (lyxerr) here.
1676
1677         * main.C (main): include debug.h and setup the lyxerr streambuf
1678         here.
1679
1680 2003-10-31  José Matos  <jamatos@lyx.org>
1681
1682         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1683
1684         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1685         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1686         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1687         * paragraph_pimpl.C (simpleTeXSpecialC):
1688         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1689         add LatexRunParams argument.
1690
1691         * exporter.C (Export): change call accordingly.
1692
1693         * latexrunparams.h: add new member to take care of the other backends.
1694 2003-10-30  José Matos  <jamatos@lyx.org>
1695
1696         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1697         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1698         factorise code for paragraph output.
1699         * buffer.[Ch]:
1700         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1701         move functions.
1702
1703 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * text3.C (dispatch):
1706         * lyxfunc.C (dispatch):
1707         * cursor.C (dispatch):
1708         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1709
1710         * dispatchresult.h: make the dispatch_result_t ctor explicit
1711
1712 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1713
1714         * sgml.[Ch]:
1715         * buffer.C: small refactoring of docbook stuff
1716
1717 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1720         meaning.
1721
1722 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1725         operator dispatch_result_t, and operators for == != and >=
1726
1727         * cursor.C (dispatch): adjust for operator dispatch_result_t
1728         removal. comment out call to update
1729
1730         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1731
1732 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1733
1734         * text3.C:
1735         * text2.C:
1736         * text.C:
1737         * lyxtext.h:
1738         * lyxfunc.C:
1739         * cursor.C:
1740         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1741         (dispatch):
1742
1743         * dispatchresult.h: new file, DispatchResult broken out of
1744         insets/insetbase.h
1745
1746         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1747
1748 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * text.C (rowBreakPoint): put a hack inside #if 0
1751
1752 2003-10-28  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxtext.h:
1755         * metricsinfo.C:
1756         * paragraph_funcs.C:
1757         * rowpainter.C:
1758         * text.C:
1759         * text2.C: general cleanup (lots of small stuff)
1760
1761 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1762
1763         * text2.C (cursorEnd): simple fix to the "end key goes to one
1764         before the end on last row" bug
1765
1766 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1767
1768         * text.C (backspace): fix the "zombie characters"
1769
1770 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1771
1772         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1773
1774 2003-10-27  André Pönitz  <poenitz@gmx.net>
1775
1776         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1777
1778         * factory.C: handle new InsetPagebreak, InsetLine
1779
1780         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1781         and move handling into new InsetPagebreak, InsetLine
1782
1783         * BufferView_pimpl.C:
1784         * LyXAction.C:
1785         * ParagraphParameters.C:
1786         * ParameterStruct.h:
1787         * lyxfunc.C:
1788         * lyxtext.h:
1789         * paragraph.C:
1790         * paragraph.h:
1791         * paragraph_funcs.C:
1792         * paragraph_pimpl.C:
1793         * rowpainter.C:
1794         * text.C:
1795         * text2.C:
1796         * text3.C: adjust
1797
1798 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1799
1800         * text.C:
1801         * lyxrow_funcs.[Ch]:
1802         * Bidi.C:
1803         * paragraph.C:
1804         * lyxtext.h:
1805         * rowpainter.C:
1806         * text2.C:
1807         * text3.C: remove lastPos uses in favour of Row::endpos
1808
1809 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1810
1811         * undo.C (performUndoOrRedo): fix two crashes by setting a
1812         cursor by hand and reordering some calls. Use bv->lockInset instead
1813         of inset->edit because the latter loses cursor information
1814
1815 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1818         by Martin
1819         (rowBreakPoint): fix width. change point to point + 1.
1820         Add a missing check.
1821
1822 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1823
1824         * MenuBackend.C:
1825         * lyxfunc.C: fix (at least partly) the problems
1826         with the Nav menu and headers inside branch insets
1827         reported by Kayvan
1828
1829 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * paragraph.C (getChar): add strong asserts
1832
1833         * lyxrow_funcs.C (lastPos): remove hideous hack
1834
1835         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1836         (fill): adjust to that (avoid an infinite loop)
1837
1838 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1839
1840         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1841
1842 2003-10-23  André Pönitz  <poenitz@gmx.net>
1843
1844         * RowList_fwd.h: change list<> to vector<> to gain speed
1845         after suggestion from Alfredo
1846
1847 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * lyxtext.h: move the bidi stuff from here...
1850         * text.C: and here
1851         * text2.C: and here
1852         * Bidi.[Ch]: ... to here
1853
1854 2003-10-23  André Pönitz  <poenitz@gmx.net>
1855
1856         * lyxtext.h:
1857         * text.C (isLastRow, isFirstRow): new functions
1858
1859         * paragraph.h: new width cache member
1860
1861         * rowpainter.C: replace RowList::iterator with Row & where possible
1862
1863         * lyxfunc.C: replace several view()->text with a single call
1864
1865         * toc.C: fix 'unused' warning
1866
1867 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1868
1869         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1870         when woring with stream::pos_type
1871         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1872
1873 2003-10-22  André Pönitz  <poenitz@gmx.net>
1874
1875         * lyxtext.h:
1876         * text.C: use Row & instead of RowList::iterator
1877
1878         * lyxrow.h: rename end() to endpos()
1879
1880         * rowpainter.C:
1881         * text.C:
1882         * text2.C: adjust
1883
1884 2003-10-22  Angus Leeming  <leeming@lyx.org>
1885
1886         * buffer.[Ch] (fully_loaded): new member function, returning true
1887         only when the file has been loaded fully.
1888         Used to prevent the premature generation of previews and by the
1889         citation inset to prevent computation of the natbib-style label.
1890
1891         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1892         templates are all set up.
1893
1894         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1895
1896 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1897
1898         * text.C: fixed an "oops" in the "is a bit silly"
1899         bug fix
1900
1901 2003-10-21  André Pönitz  <poenitz@gmx.net>
1902
1903         * FuncStatus.[Ch]: small stuff, whitespace
1904
1905         * lyxfont.[Ch]: operator<<() for debug reasons
1906
1907         * lyxfunc.C:
1908         * lyxrow_funcs.C:
1909         * lyxtext.h: whitespace, spelling
1910
1911         * paragraph.C: naming of variables
1912
1913         * text.C:
1914         * text2.C: small stuff
1915
1916
1917 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1918
1919         * text.C: (1) finish off the inset display() work;
1920         (2) fix the "is a bit silly" bug (accessing char
1921         past end of par).
1922
1923 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1924
1925         * text.C: re-introduce display() for insets, fixing the
1926         various bugs (stretch of line above, math inset
1927         positioning, ...)
1928
1929 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1930
1931         * text.C (rightMargin): remove spurious semicolon
1932
1933         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1934         1415)
1935
1936 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1937
1938         * text3.C: fix one crash due to wrong cursor def
1939
1940 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * vc-backend.C (scanMaster): make the regex static
1943
1944         * LaTeX.C (scanAuxFile): make the regexs static
1945
1946         * text3.C (doInsertInset, dispatch, dispatch):
1947         * text2.C (cursorUp, cursorDown):
1948         * text.C (selectNextWordToSpellcheck):
1949         * BufferView_pimpl.C (dispatch):
1950         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1951
1952 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * lyxsocket.C: include <cerrno>
1955
1956 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * lyxfunc.C (dispatch): remove textcache stuff
1959
1960         * bufferlist.C (release): remove textcache stuff
1961         (closeAll): ditto
1962
1963         * TextCache.C: delete file
1964         * TextCache.h: delete file
1965
1966         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1967
1968         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1969         delete of the bv_->text.
1970         (resizeCurrentBuffer): remove texcache stuff
1971         (workAreaResize): ditto
1972
1973 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1974
1975         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1976         action.
1977
1978 2003-10-16  André Pönitz  <poenitz@gmx.net>
1979
1980         * lyxrow.[Ch]:
1981         * paragraph.h:
1982         * rowpainter.C:
1983         * text.C:
1984         * text2.C:
1985         * text3.C: speed up by storing y positions per paragraph plus per-row
1986         offset instead of having a 'full' y position in the row.
1987
1988 2003-10-15  André Pönitz  <poenitz@gmx.net>
1989
1990         * iterators.[Ch]:
1991         * iterators.[Ch]:
1992         * undo.[Ch]: make undo aware of inner insets
1993
1994 2003-10-14  Angus Leeming  <leeming@lyx.org>
1995
1996         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1997         static member functions LyX::ref() and LyX::cref.
1998         (lastfiles): new accessor functions for the new lastfiles_ member var.
1999         (addLyXView, views_): add a new LyXView to the list of views_.
2000         (updateInset): loop over all LyXViews to call their own updateInset
2001         member function, returning a pointer to the Buffer owning the inset.
2002
2003         * BufferView_pimpl.C (loadLyXFile):
2004         * MenuBackend.C (expandLastfiles):
2005         * bufferlist.C (MenuWrite, QuitLyX):
2006         lastfiles is no longer a global variable.
2007         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2008
2009         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2010         static function. Access through LyX::cref().emergencyCleanup().
2011
2012 2003-10-14  André Pönitz  <poenitz@gmx.net>
2013
2014         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2015
2016         * undo.[Ch]: restoring part of 'undo in insets'
2017
2018         * Makefile.am:
2019         * undo_funcs.[Ch]: merge with undo.[Ch]
2020
2021         * tabular.C: small cleansing stuff
2022
2023 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2024
2025         * paragraph_funcs.C (readParToken): report unknown insets as error
2026         boxes. Use the outer paragraph as location (also for unknown
2027         tokens).
2028
2029         * factory.C (readInset): do not abort on reading an unknown inset.
2030         Eat it and return 0.
2031
2032 2003-10-13  Angus Leeming  <leeming@lyx.org>
2033
2034         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2035
2036         * lyxrc.C: displayTranslator is now a function,
2037         declared in GraphicsTypes.h.
2038
2039 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2040
2041         * format.C: new placeholder $$a to pass the socket address.
2042
2043         * bufferlist.[Ch]: new function getBufferFromTmp.
2044
2045         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2046           files in the temporary dir.
2047
2048 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2049
2050         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2051
2052         * Makefile.am: add lyxsocket.[Ch].
2053
2054         * lyx_main.C (error_handler): handle SIGPIPE.
2055
2056 2003-10-13  André Pönitz  <poenitz@gmx.net>
2057
2058         * BufferView_pimpl.C:
2059         * lyxtext.h:
2060         * text.C:
2061         * text2.C:
2062         * text3.C:
2063         * undo_funcs.[Ch]: use paroffset_type instead of
2064           ParagraphList::iterators to prevent multiple conversion
2065           (and get a more robust interface)
2066
2067 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2070         * lyxtext.h: ditto
2071         * text3.C (dispatch): ditto
2072
2073 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2076         move the onlyfile, use onlyfile instead of foundfile in a couple
2077         of places.
2078
2079         * DepTable.C (update): flush the error stream a bit more
2080
2081 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * lyxserver.C (callback): adjust
2084
2085         * lyxfunc.C (getStatus): add a missing brace in commented code
2086         (ensureBufferClean): reindent
2087         (dispatch): delete version taking a string
2088
2089 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * LaTeX.C (deplog): move found file handlig from here...
2092         (handleFoundFile): .. to new function here.
2093         (deplog): make sure to discover several files mentioned on the
2094         same log line.
2095
2096 2003-10-10  André Pönitz  <poenitz@gmx.net>
2097
2098         * lyxfunc.C:
2099         * lyxtext.h:
2100         * tabular.C:
2101         * text.C:
2102         * text2.C:
2103         * text3.C: fix some of the tabular crashes
2104
2105 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2106
2107         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2108
2109         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2110
2111 2003-10-09  André Pönitz  <poenitz@gmx.net>
2112
2113         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2114
2115         * BufferView.C:
2116         * BufferView_pimpl.C:
2117         * bufferview_funcs.C:
2118         * lyx_cb.C:
2119         * lyxcursor.C:
2120         * lyxfind.C:
2121         * lyxfunc.C:
2122         * lyxtext.h:
2123         * text.C:
2124         * text2.C:
2125         * text3.C:
2126         * text_funcs.[Ch]:
2127         * textcursor.[Ch]:
2128         * undo_funcs.C: adjust
2129
2130 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2131
2132         * text2.C (incrementItemDepth): new function, use a backtracking
2133         algorithm to discover the correct item depth.
2134         (resetEnumCounterIfNeeded): new function, use a backtracking
2135         algorithm to discover if counter reset is needed.
2136         (setCounter): use them. Simplify a bit. Add different labels for
2137         different item depths for itemize.
2138
2139         * paragraph.C (Paragraph): remove initialization of enumdepth
2140         (operator=): ditto
2141
2142         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2143         enumerate and itemize. Change the type of itemdepth to signed char.
2144
2145 2003-10-08  André Pönitz  <poenitz@gmx.net>
2146
2147         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2148           thing assignable.
2149         * text.C:
2150         * text2.C: adjust
2151
2152         * tabular.[Ch]: fix crash after 'row-insert'
2153
2154 2003-10-08  Angus Leeming  <leeming@lyx.org>
2155
2156         Fix doxygen warnings.
2157
2158         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2159         Remove CutAndPaste:: prefix from header file declaration.
2160
2161         * LColor.h (fill): remove LColor:: prefix from declaration.
2162
2163         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2164         use lyx::depth_type rather than Paragraph::depth_type so that
2165         header file and .C file match.
2166
2167         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2168
2169         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2170         * aspell.C: \file aspell_local.C -> \file aspell.C
2171         * gettext.C: \file gettext.C -> \file src/gettext.C
2172         * gettext.h: \file gettext.h -> \file src/gettext.h
2173         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2174         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2175         * text.C: \file text.C -> \file src/text.C
2176
2177         * toc.C: move comment so that doxygen is not confused.
2178
2179 2003-10-07  Angus Leeming  <leeming@lyx.org>
2180
2181         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2182
2183 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2184
2185         * aspell.C:
2186         * aspell_local.h: add forgotten std::string's.
2187
2188 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2189
2190         * LaTeXFeatures.C:
2191         * LyXAction.C:
2192         * factory.C:
2193         * lfuns.h:
2194         * lyxfunc.C:
2195         * text3.C: The Box patch. Fancybox support, minipage, parbox
2196
2197 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2198
2199         * CutAndPaste.h:
2200         * DepTable.h:
2201         * FloatList.h:
2202         * LaTeXFeatures.h:
2203         * ParagraphParameters.h:
2204         * TextCache.h:
2205         * Thesaurus.h:
2206         * bufferlist.h:
2207         * exporter.h:
2208         * importer.h:
2209         * lastfiles.h:
2210         * lyxfind.h:
2211         * lyxfont.h:
2212         * lyxlex.h:
2213         * lyxtextclasslist.h:
2214         * messages.h:
2215         * paragraph.h:
2216         * paragraph_pimpl.C:
2217         * textcursor.h: add <string> and other small fixes to make Lars'
2218         std::string patch compile with STLport.
2219
2220 2003-10-06  Angus Leeming  <leeming@lyx.org>
2221
2222         * LColor.h: Add missing #include <string>.
2223
2224 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * All most all file in all subdirs: Make <string> be the prefered
2227         way of getting to std::string, add using declarations.
2228
2229 2003-10-06  André Pönitz  <poenitz@gmx.net>
2230
2231         * metricsinfo.C: initialize LyXFont before changing attribute.
2232         (fixes the 'math in \emph is upright' bug)
2233
2234 2003-10-06  André Pönitz  <poenitz@gmx.net>
2235
2236         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2237
2238 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2239
2240         * graph.C:
2241         * paragraph_pimpl.C: Small fixes to build using STLport
2242
2243 2003-10-02  André Pönitz  <poenitz@gmx.net>
2244
2245         * lyxfunc.C:
2246         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2247
2248 2003-10-01  André Pönitz  <poenitz@gmx.net>
2249
2250         * factory.C: assert early
2251
2252 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * lyx_main.C: remove the global debug object
2255
2256         * debug.h: adjust for new debugstream
2257
2258         * debug.C: adjust for new debugstream and keep the global debug
2259         object here.
2260
2261 2003-09-22  Angus Leeming  <leeming@lyx.org>
2262
2263         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2264         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2265         an incomplete class LyXFont.
2266
2267 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * factory.C: bug fix in branches
2270
2271 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * lyxfunc.C (processKeySym): adjust
2274         (dispatch): adjust
2275         (dispatch): change arg name from ev to func, adjust
2276         (sendDispatchMessage): ditto
2277
2278         * lyx_main.C (defaultKeyBindings): adjust keybindings
2279         (deadKeyBindings): ditto
2280
2281         * kbsequence.C (addkey): return a FuncRequest
2282
2283         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2284
2285         * kbmap.C (bind): take a FuncRequest as arg, adjust
2286         (read): adjust
2287         (lookup): adjust
2288         (defkey): change to take a FuncRequest as arg, adjust
2289         (findbinding): take a FuncRequest as arg, adjust.
2290
2291         * funcrequest.h (operator=): added
2292
2293         * funcrequest.C (FuncRequest): default kb_action changed from
2294         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2295
2296         * buffer.C (dispatch): simplify
2297         (dispatch): adjust to take a FuncRequest as arg, adjust
2298
2299         * boost.C (assertion_failed): change assertion message slightly
2300
2301         * ToolbarBackend.C (read): simplify
2302
2303         * MenuBackend.C (binding): adjust call to findbinding, add a
2304         message if no binding is found.
2305         (read): simplify
2306         (expandToc): correct by adding a empty FuncRequest
2307
2308         * LyXAction.C: include <boost/assert.hpp>
2309         (isPseudoAction): delete function
2310         (LookupFunc): change name to...
2311         (lookupFunc): this. change return type to FuncRequest.
2312         (getActionName): take kb_action as arg, simplify
2313         (funcHasFlag): add an assert, simplify.
2314
2315 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2316
2317         * toc.C (action): return a FuncRequest, simplify
2318
2319         * lyxfunc.C (processKeySym): adjust
2320         (getStatus): delete version that takes an int.
2321         (getStatus): adjust
2322         (dispatch): delete version that takes action as int
2323         (dispatch): adjust
2324         (sendDispatchMessage): simplify and adjust
2325
2326         * funcrequest.C (getArg): take unsigned int as arg
2327
2328         * ToolbarBackend.C (read): adjust
2329         (add): delete version that takes func as a string.
2330         (getIton): take a FuncRequest as arg
2331
2332         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2333         action.
2334
2335         * MenuBackend.C (MenuItem): add a new construct that only takes a
2336         Kind, simplify the constructor use for submenus.
2337         (add): adjust
2338         (expandLastfiles): adjust
2339         (expandDocuments): adjust
2340         (expandFormats): adjust
2341         (expandFloatListInsert): adjust
2342         (expandFloatInsert): adjust
2343         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2344
2345         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2346         Remove class variables lyx_pseudo_map and lyx_arg_map
2347
2348         * LyXAction.C (searchActionArg): delete function
2349         (getPseudoAction): delete function
2350         (retrieveActionArg): delete function
2351         (LookupFunc): make it return kb_action, simplify.
2352         (getActionName): simplify
2353
2354         * factory.C (createInset): fix new bug
2355
2356 2003-09-19  Angus Leeming  <leeming@lyx.org>
2357
2358         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2359         masterFilename_ parameter in the include inset.
2360
2361         * factory.C (createInset): changes due to the changes to InsetInclude.
2362
2363 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2364
2365         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2366
2367 2003-09-18  Angus Leeming  <leeming@lyx.org>
2368
2369         * buffer.C:
2370         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2371         Inset::fillWithBibKeys.
2372         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2373
2374 2003-09-18  Angus Leeming  <leeming@lyx.org>
2375
2376         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2377         variables.
2378         (ctor): pass and store a 'Buffer const &'
2379         (buffer): new member function.
2380
2381         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2382         '*this' to the LaTeXFeatures ctor.
2383
2384 2003-09-18  Angus Leeming  <leeming@lyx.org>
2385
2386         * LColor.h:
2387         * lyxfont.C:
2388         * lyxfont.h:
2389         * lyxtext.h:
2390         * text.C: rename EnumLColor as LColor_color.
2391
2392 2003-09-18  Angus Leeming  <leeming@lyx.org>
2393
2394         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2395         remove #include "insets/insetbase.h" from cursor.h.
2396
2397 2003-09-18  Angus Leeming  <leeming@lyx.org>
2398
2399         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2400         InsetOld_code to remove #include "inset.h".
2401
2402         * iterators.C: add #include "insets/inset.h"
2403
2404 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2405
2406         * BufferView.C: remove more locking stuff that apparently doesn't
2407         do anything sensible.
2408
2409 2003-09-16  André Pönitz  <poenitz@gmx.net>
2410
2411         * paragraph.[Ch]:
2412         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2413           performance boost.
2414
2415 2003-09-16  Angus Leeming  <leeming@lyx.org>
2416
2417         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2418
2419         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2420         arg/return type.
2421
2422         * paragraph.h: remove #include "lyxfont.h". Forward declare
2423         LyXFont_size.
2424
2425 2003-09-16  Angus Leeming  <leeming@lyx.org>
2426
2427         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2428         of support/textutils.h.
2429         (isWord): move the contents of support/textutils.h's IsWordChar here.
2430
2431         * buffer.C:
2432         * lyxfind.C:
2433         * rowpainter.C:
2434         * text.C:
2435         * text2.C: add #include "paragraph.h".
2436
2437         * rowpainter.C:
2438         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2439
2440 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * main.C:
2443         * lyx_main.C:
2444         * lyx_cb.C:
2445         * buffer.C:
2446         * LaTeX.C: use namespace alias for lyx::support::os
2447
2448 2003-09-16  Angus Leeming  <leeming@lyx.org>
2449
2450         * bufferparams.C:
2451         * bufferview_funcs.C:
2452         * factory.C:
2453         * lyxfunc.C:
2454         * paragraph_pimpl.C:
2455         * rowpainter.C:
2456         * text.C: add #include "LColor.h".
2457
2458 2003-09-16  Angus Leeming  <leeming@lyx.org>
2459
2460         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2461         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2462         return LyXFont &.
2463         Store the FontBits::color variable as an int rather than as an
2464         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2465         file.
2466
2467         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2468         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2469         string calls together.
2470
2471         * lyxrc.C: add #include "LColor.h".
2472
2473 2003-09-15  Angus Leeming  <leeming@lyx.org>
2474
2475         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2476         a cow_ptr.
2477
2478 2003-09-15  Angus Leeming  <leeming@lyx.org>
2479
2480         * LColor.h: add an EnumLColor wrapper for LColor::color.
2481
2482         * lyxfont.[Ch] (color, setColor, realColor):
2483         * lyxtext.h, text.C (backgroundColor):
2484         pass EnumLColor args to/from the functions, rather than LColor::color
2485         ones.
2486
2487         * lyxfont.h:
2488         * lyxtext.h: forward declare EnumLColor.
2489
2490         * lyx_main.C: add #include "LColor.h".
2491
2492 2003-09-15  Angus Leeming  <leeming@lyx.org>
2493
2494         * .cvsignore: add lyx-gtk.
2495
2496 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * Chktex.C
2499         * LaTeX.C
2500         * LaTeXFeatures.C
2501         * ParagraphParameters.C
2502         * Spacing.C
2503         * buffer.C
2504         * bufferparams.C
2505         * bufferview_funcs.C
2506         * chset.C
2507         * counters.C
2508         * funcrequest.C
2509         * lyxfont.C
2510         * lyxgluelength.C
2511         * lyxlength.C
2512         * paragraph.C
2513         * paragraph_funcs.C
2514         * text3.C
2515         * vc-backend.C: remove usage of STRCONV
2516
2517 2003-09-15  Angus Leeming  <leeming@lyx.org>
2518
2519         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2520         explicitly define the color passed to the painter.
2521
2522 2003-09-15  Angus Leeming  <leeming@lyx.org>
2523
2524         * bufferparams.C (BufferParams): reorder member initializers to avoid
2525         compiler warning.
2526
2527 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2528
2529         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2530         * text.C (updateRowPositions): remove an unusual nop
2531
2532 2003-09-12  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView_pimpl.C:
2535         * Bullet.C:
2536         * layout.h:
2537         * lyxfunc.C:
2538         * lyxlayout.[Ch]:
2539         * lyxtextclass.C:
2540         * rowpainter.C:
2541         * text.C:
2542         * text2.C:
2543         * Counters.[Ch]: finish the 'automatic counters' job
2544
2545 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2546
2547         * aspell.C: include <boost/assert.cpp> (compile fix)
2548
2549 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2550
2551         * boost.C (assertion_failed): use lyx::support::abort instead of
2552         assert.
2553
2554 2003-09-10  Angus Leeming  <leeming@lyx.org>
2555
2556         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2557         with their _fwd progeny.
2558
2559 2003-09-09  Angus Leeming  <leeming@lyx.org>
2560
2561         134 files throughtout the source tree: replace 'using namespace abc;'
2562         directives with the appropriate 'using abc::xyz;' declarations.
2563
2564 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2565
2566         * boost.C (emergencyCleanup): moved here from LAssert.c
2567         (assertion_failed): new function, called by BOOST_ASSERT
2568
2569         * several files: change Assert to BOOST_ASSERT
2570
2571 2003-09-09  Angus Leeming  <leeming@lyx.org>
2572
2573         * buffer.[Ch]: Add an Impl class and move Buffer's member
2574         variables into it. As a result move several header files out of
2575         buffer.h.
2576
2577         Add header files to lots of .C files all over the tree as a result.
2578
2579 2003-09-09  Angus Leeming  <leeming@lyx.org>
2580
2581         * buffer.[Ch]: make Buffer's member variables private. Add
2582         accessor functions.
2583
2584         Lots of changes all over the tree as a result.
2585
2586 2003-09-08  Angus Leeming  <leeming@lyx.org>
2587
2588         * graph.C: #include <config.h>.
2589
2590 2003-09-08  Angus Leeming  <leeming@lyx.org>
2591
2592         * BranchList.C:
2593         * BufferView.C:
2594         * BufferView_pimpl.C:
2595         * CutAndPaste.C:
2596         * DepTable.C:
2597         * LaTeX.C:
2598         * LaTeXFeatures.C:
2599         * LyXAction.C:
2600         * MenuBackend.C:
2601         * TextCache.C:
2602         * aspell.C:
2603         * buffer.C:
2604         * bufferlist.C:
2605         * changes.C:
2606         * chset.C:
2607         * converter.C:
2608         * counters.C:
2609         * debug.C:
2610         * graph.C:
2611         * ispell.C:
2612         * lyx_cb.C:
2613         * lyxfind.C:
2614         * lyxfunc.C:
2615         * lyxlex_pimpl.C:
2616         * lyxrc.C:
2617         * lyxrow.C:
2618         * paragraph.C:
2619         * rowpainter.C:
2620         * texrow.C:
2621         * text.C:
2622         * text2.C:
2623         * toc.C: remove redundant using directives.
2624
2625 2003-09-07  Angus Leeming  <leeming@lyx.org>
2626
2627         * LaTeXFeatures.h: remove #include "support/types.h".
2628         * ToolbarBackend.h: remove #include <algorithm>.
2629         * changes.h: remove #include <ctime>.
2630         * debug.h: remove #include <iosfwd>.
2631         * graph.h: remove #include "support/std_string.h".
2632         * lyx_main.h: remove #include <csignal>.
2633         * lyxlex_pimpl.h: remove #include <fstream>.
2634         * sgml.h: remove #include <algorithm>, <utility>.
2635         * toc.h: remove #include "support/std_ostream.h".
2636         Add #include <iosfwd>.
2637
2638 2003-09-07  Angus Leeming  <leeming@lyx.org>
2639
2640         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2641
2642         * converter.h: forward declare LatexRunParams.
2643         * encoding.h: remove #include "lyxrc.h".
2644         * lyxtext.h: remove #include "LColor.h".
2645         * lyxtextclass.h: remove #include "support/types.h".
2646         * trans.h: remove #include "tex-accent.h".
2647         * trans_mgr.h: remove #include "tex-accent.h".
2648         * insets/inset.h: remove #include "support/types.h", <vector>.
2649         * insets/insetcollapsable.h: remove #include "LColor.h".
2650         * insets/insetinclude.h: remove #include "dimension.h".
2651         * insets/insetlatexaccent.h: remove #include "dimension.h".
2652         * insets/insetoptarg.h:: remove #include "insettext.h".
2653         * insets/insettext.h: remove #include "dimension.h",
2654         <boost/shared_ptr.hpp>
2655
2656         * insets/renderers.h: add #include "dimension.h".
2657         * insets/updatableinset.h: add #include "support/types.h".
2658
2659         * many .C files: Associated changes.
2660
2661 2003-09-06  Angus Leeming  <leeming@lyx.org>
2662
2663         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2664         one, inside testInvariant.
2665
2666         * PrinterParams.C: new file.
2667         * PrinterParams.[Ch]: move the function bodies out of line.
2668
2669 2003-09-06  Angus Leeming  <leeming@lyx.org>
2670
2671         * ParagraphParameters.h: forward declare ParameterStruct rather than
2672         including its header file.
2673         (depth): moved out-of-line.
2674
2675 2003-09-06  Angus Leeming  <leeming@lyx.org>
2676
2677         * BufferView_pimpl.h:
2678         * kbmap.h:
2679         * kbsequence.h:
2680         * lyxfunc.h: forward declare LyXKeySym rather than
2681         #include "frontends/LyXKeySym.h".
2682
2683         * BufferView_pimpl.C:
2684         * kbmap.C:
2685         * kbsequence.C:
2686         * lyxfunc.C: associated changes.
2687
2688 2003-09-06  Angus Leeming  <leeming@lyx.org>
2689
2690         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2691         As a result, can remove the #include "insets/inset.h" from BufferView.h
2692
2693 2003-09-06  Angus Leeming  <leeming@lyx.org>
2694
2695         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2696         As a result, can remove the #include "insets/inset.h" from BufferView.h
2697
2698 2003-09-06  Angus Leeming  <leeming@lyx.org>
2699
2700         * buffer_funcs.C:
2701         * buffer.h:
2702         * bufferlist.C:
2703         * BufferView.C:
2704         * bufferview_funcs.C:
2705         * BufferView_pimpl.C:
2706         * CutAndPaste.C:
2707         * lyx_cb.C:
2708         * lyxfunc.C:
2709         * paragraph.h:
2710         * ParagraphParameters.C:
2711         * tabular.C:
2712         * text3.C:
2713         * toc.C:
2714         * undo_funcs.C:
2715         * frontends/controllers/ControlDocument.C:
2716         * insets/insetcaption.C: rearrange the #includes into some sort of
2717         coherent order.
2718
2719         * buffer.h: remove #includes ErrorList.h, undo.h
2720
2721 2003-09-06  Angus Leeming  <leeming@lyx.org>
2722
2723         * support/types.h: add a 'depth_type' typedef, used to store the
2724         nesting depth of a paragraph.
2725
2726         * paragraph.h:
2727         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2728         defining explicitly.
2729
2730         * buffer.h:
2731         * paragraph_funcs.h:
2732         * ParagraphParameters.h:
2733         * sgml.h: use lyx::depth_type rather than Paragraph or
2734         ParameterStruct's depth_type.
2735
2736         * buffer.h
2737         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2738
2739         * BufferView.C:
2740         * BufferView_pimpl.C:
2741         * CutAndPaste.C:
2742         * ParagraphParameters.C:
2743         * buffer_funcs.C:
2744         * bufferlist.C:
2745         * bufferview_funcs.C:
2746         * lyx_cb.C:
2747         * lyxfunc.C:
2748         * tabular.C:
2749         * text3.C:
2750         * toc.C:
2751         * undo_funcs.C:
2752         * frontends/LyXView.C:
2753         * frontends/controllers/ControlDocument.C:
2754         * frontends/controllers/ControlErrorList.C:
2755         * insets/insetbibitem.C:
2756         * insets/insetbranch.C:
2757         * insets/insetcaption.C:
2758         * insets/insetcollapsable.C:
2759         * insets/insetenv.C:
2760         * insets/insetert.C:
2761         * insets/insetfloat.C:
2762         * insets/insetfoot.C:
2763         * insets/insetfootlike.C:
2764         * insets/insetnewline.C:
2765         * insets/insetquotes.C:
2766         * insets/insettabular.C:
2767         * insets/insettext.C:
2768         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2769
2770         * frontends/controllers/ControlChanges.C: #include "changes.h".
2771
2772 2003-09-06  Angus Leeming  <leeming@lyx.org>
2773
2774         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2775         than #including paragraph.h.
2776
2777         * ParagraphList.h:
2778         * RowList.h: deleted. Superfluous.
2779
2780         * CutAndPaste.h:
2781         * iterators.h:
2782         * lyxcursor.h:
2783         * lyxtext.h:
2784         * text_funcs.h:
2785         * undo.h:
2786         * undo_funcs.h:
2787         * insets/inset.h:
2788         * insets/insettext.h: use ParagraphList_fwd.h rather than
2789         ParagraphList.h.
2790
2791         * paragraph.h: don't forward declare ParagraphList.
2792
2793         * buffer.h:
2794         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2795         rather than ParagraphList.h. paragraph.h is still needed for the
2796         Paragraph::depth_type parameters.
2797
2798         * textcursor.h: enable it to compile stand-alone in light of the
2799         above changes.
2800
2801         * bufferview_funcs.C:
2802         * iterators.C:
2803         * lyxfunc.C:
2804         * lyxrow_funcs.C:
2805         * paragraph.C:
2806         * rowpainter.C:
2807         * text.C:
2808         * text2.C:
2809         * text3.C:
2810         * text_funcs.C:
2811         * textcursor.C:
2812         * undo.C:
2813         * frontends/controllers/ControlParagraph.C:
2814         * frontends/controllers/ControlTabular.C:
2815         * insets/insetmarginal.C:
2816         * insets/insetminipage.C:
2817         * insets/insetnote.C:
2818         * insets/insetoptarg.C: add header files needed to compile again.
2819
2820 2003-09-06  Angus Leeming  <leeming@lyx.org>
2821
2822         * RowList_fwd.h: new file, forward-declaring Row rather than
2823         #including lyxrow.h.
2824
2825         * lyxrow_funcs.h:
2826         * lyxtext.h:
2827         * paragraph.h:
2828         * insets/insettext.h: use it instead of RowList.h
2829
2830         * bufferview_funcs.C:
2831         * lyxfunc.C:
2832         * lyxrow_funcs.C:
2833         * paragraph.C:
2834         * rowpainter.C:
2835         * text.C:
2836         * text2.C:
2837         * text3.C: #include "RowList.h".
2838
2839 2003-09-05  Angus Leeming  <leeming@lyx.org>
2840
2841         * factory.C (createInset):
2842         * vspace.C (c-tor): replace sscanf call with an istringstream.
2843         * ispell.C: re-add missing HP/UX headers.
2844         * lyxserver.C: re-add missing  os2 headers.
2845
2846 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2847
2848         * BranchList.C:
2849         * graph.C:
2850         * ispell.C:
2851         * lastfiles.C:
2852         * lyx_cb.C:
2853         * lyxserver.C:
2854         * texrow.C:
2855         * text3.C: re-add missing system headers, needed for 2.95.2.
2856
2857 2003-09-05  Angus Leeming  <leeming@lyx.org>
2858
2859         Changes most place everywhere due to the removal of using directives
2860         from support/std_sstream.h.
2861
2862 2003-09-05  Angus Leeming  <leeming@lyx.org>
2863
2864         Replace LString.h with support/std_string.h,
2865         Lsstream.h with support/std_sstream.h,
2866         support/LIstream.h with support/std_istream.h,
2867         support/LOstream.h with support/std_ostream.h.
2868
2869         Changes resulting throughout the tree.
2870
2871 2003-09-05  Angus Leeming  <leeming@lyx.org>
2872
2873         * sgml.h: ensure that the header file can be compiled stand-alone.
2874         * *.C: strip out redundant #includes. (320 in total.)
2875
2876 2003-09-04  Angus Leeming  <leeming@lyx.org>
2877
2878         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2879         here (from getPackages).
2880
2881         * debug.[Ch]: add a new EXTERNAL tag.
2882
2883 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2884
2885         * text2.C (cursorEnd): simplify
2886         (setCursor): adjust
2887         (getColumnNearX): adjust
2888
2889         * text.C (computeBidiTables): adjust
2890         (fill): adjust
2891
2892         * rowpainter.C (paintChars): adjust
2893         (paintSelection): adjust
2894         (paintChangeBar): adjust
2895         (paintText): adjust
2896
2897         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2898         lastPos instead.
2899         (numberOfSeparators): adjust
2900
2901 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2902
2903         * LyXAction.C:
2904         * box.[Ch]:
2905         * lfuns.h:
2906         * lyxfunc.C:
2907         * text3.C: Restricts the mouse click functionality
2908         of insets like bibtex, include, toc and floatlist to the visible
2909         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2910         up the dialogs. Cursor has to be in front of the inset (i.e.
2911         start of row) for this to function.
2912
2913 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2914
2915         * bufferview_funcs.C (currentState): output row information
2916
2917 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2918
2919         * bufferview_funcs.C (currentState): output paragraph position
2920
2921 2003-09-04  Angus Leeming  <leeming@lyx.org>
2922
2923         * FloatList.h: move out #include "Floating.h".
2924         * LaTeX.h: move out #include "DepTable.h".
2925         * LyXAction.h: move out #include "funcrequest.h".
2926         * buffer.h: move out #include "author.h", "iterators.h".
2927         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2928         * lyx_main.h: move out #include "errorlist.h".
2929         * lyxfunc.h: move out #include "FuncStatus.h".
2930         * lyxtext: move out #include "lyxcursor.h".
2931         * paragraph_pimpl.h: move out #include "counters.h".
2932
2933 2003-09-03  Angus Leeming  <leeming@lyx.org>
2934
2935         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2936         preamble_snippets list, enabling us to add snippets to the preamble
2937         only if the snippet was not there already.
2938
2939 2003-09-04  Angus Leeming  <leeming@lyx.org>
2940
2941         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2942
2943 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2946         update
2947
2948 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2949
2950         * BranchList.C: point fix, earlier forgotten
2951
2952 2003-09-02  Angus Leeming  <leeming@lyx.org>
2953
2954         * box.C (contains): renamed from 'contained' after a fantastic
2955         amount of hot air.
2956
2957 2003-09-02  John Levon  <levon@movementarian.org>
2958
2959         * BufferView.C:
2960         * lyxcursor.h:
2961         * lyxcursor.C:
2962         * lyxfunc.C:
2963         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2964
2965 2003-09-02  John Levon  <levon@movementarian.org>
2966
2967         * text2.C: simplification of cursorEnd(), including partial
2968         fix for bug 1376
2969
2970 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * buffer.C (readFile): add a space
2973
2974 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2977
2978 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * buffer.C (readFile): new function, take a filename and a
2981         ParagraphList::iterator
2982         (readFile): adjust
2983         (readFile): adjust, make it private. don't use setStream, make
2984         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2985         always contain the filename.
2986
2987         * BufferView.C (insertLyXFile): simplify and make it work for
2988         gzipped files.
2989
2990 2003-08-30  John Levon  <levon@movementarian.org>
2991
2992         * Makefile.am: fix dist (from Kayvan)
2993
2994 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * most files: change to use const Buffer refs
2997
2998 2003-08-27  André Pönitz  <poenitz@gmx.net>
2999
3000         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3001         on top of ownerPar().
3002
3003 2003-08-27  John Levon  <levon@movementarian.org>
3004
3005         * funcrequest.C: properly initialise POD members
3006
3007 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * lyxtext.h (top_y): move top_y from here
3010         * text.C:
3011         * text2.C:
3012         * text3.C:
3013         * BufferView.[Ch]:
3014         * BufferView_pimpl.[Ch]: to here
3015         * frontends/screen.C:
3016         * insets/insettabular.C:
3017         * insets/insettext.C: adjust
3018         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3019
3020 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * BufferView.[Ch]:
3023         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3024
3025 2003-08-26  André Pönitz  <poenitz@gmx.net>
3026
3027         * paragraph_func.[Ch] (outerPar): new function
3028
3029         * paragraph.C:
3030         * paragraph_funcs.C:
3031         * paragraph_funcs.h:
3032         * paragraph_pimpl.C:
3033         * text2.C: remove Inset::par_owner
3034
3035 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3036
3037         * lyxrow_funcs.C:
3038         * lyxtext.h:
3039         * text.C:
3040         * text2.C: eliminates the needFullRow/display() stuff
3041         altogether, putting the logic in metrics/draw in the insets.
3042
3043 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * text2.C (redoParagraphInternal, redoParagraphs):
3046         * text.C (redoParagraph): add a call to updateRowPositions at the
3047         end of each 'metrics-like' call. Remove all others.
3048         (getRow): remove the 'y-computing' version.
3049         (getRowNearY): do not compute nor return the real y. Solve the
3050         'y < 0' problem and simplify.
3051
3052 2003-08-22  Angus Leeming  <leeming@lyx.org>
3053
3054         * *.[Ch]: clean-up of licence and author blurbs.
3055         Also move config.h out of a few .h files and into a few .C files.
3056
3057 2003-08-22  André Pönitz  <poenitz@gmx.net>
3058
3059         * lyxrow.[Ch]: add x_ and *fill_ members
3060
3061         * lyxtext.h:
3062         * text.C:
3063         * rowpainter.C:
3064         * text2.C: adjust/remove prepareToPrint() calls
3065
3066 2003-08-22  André Pönitz  <poenitz@gmx.net>
3067
3068         * lyxrow.[Ch]: add  end_ member
3069
3070         * lyxrow_funcs.C: use LyXRow::end_
3071
3072         * lyxtext.h (singleWidth): add LyXFont parameter
3073
3074         * rowpainter.C:
3075         * text2.C: adjust LyXText::singleWidth() calls
3076
3077         * text.C (redoParagraph): simplify row breaking logic
3078
3079
3080 2003-08-19  André Pönitz  <poenitz@gmx.net>
3081
3082         * funcrequest.C: initialize button_ member
3083
3084         * text3.C:
3085         * rowpainter.[Ch]: interface consolidation
3086
3087 2003-08-18  André Pönitz  <poenitz@gmx.net>
3088
3089         * BufferView.C:
3090         * BufferView_pimpl.C:
3091         * lyxfind.C:
3092         * paragraph_funcs.C:
3093         * rowpainter.C:
3094         * text3.C: remove LyXScreen::draw() and fitCursor calls
3095
3096         * BranchList.h: remove spurious semicolons
3097
3098         * MenuBackend.C: fix branchlist related crash
3099
3100 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3101
3102         * BranchList.[Ch]:
3103         * InsetList.[Ch]:
3104         * LColor.[Ch]:
3105         * LyXAction.C:
3106         * Makefile.am:
3107         * MenuBackend.[Ch]:
3108         * bufferparams.[Ch]:
3109         * factory.C:
3110         * lfuns.h:
3111         * lyxfunc.C:
3112         * text3.C: implements the 'branch inset'
3113         idea. This allows the output of various versions of a document
3114         from a single source version, selectively outputing or suppressing
3115         output of parts of the text.
3116         This implementation contains a 'branch list editor' in a separate
3117         tab of the document settings dialog. Branches are user definable
3118         and have a "display colour" to distinguish them on-screen.
3119
3120         ColorHandler was somewhat cleaned up.
3121         (1) make possible a dynamically growing LColor list by allowing
3122         the graphic context cache to grow along (vector);
3123         (2) eliminate an IMHO unnecessary step in colour allocation.
3124
3125 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3126
3127         * BufferView_pimpl.C: compile fix
3128
3129 2003-08-15  André Pönitz  <poenitz@gmx.net>
3130
3131         * rowpainter.C: remove extra metrics calls
3132
3133         * lyxtext.h: merge the two constructors into a single one,
3134           pass reference to owner's par list
3135
3136         * BufferView_pimpl.C:
3137         * text.C:
3138         * text2.C: adjust
3139
3140 2003-08-15  André Pönitz  <poenitz@gmx.net>
3141
3142         * lyxrow_funcs.[Ch]:
3143         * lyxtext.h:
3144         * paragraph.h:
3145         * paragraph_funcs.C:
3146         * rowpainter.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C:
3150         * text_funcs.C: split LyXText::rowlist_ into individual
3151         Paragraph::rows_ chunks
3152
3153         * BufferView.[Ch]:
3154         * BufferView_pimpl.[Ch]:
3155         * lyxfind.C:
3156         * lyxtext.h:
3157         * text3.C: remove toggleSelection()
3158
3159 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3160
3161         * bufferlist.C: beautify two alerts (shorter text of buttons)
3162         * buffer.C: Remove redundant ' ' from message
3163         * tabular.h:
3164         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3165         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3166         rename VALIGN_CENTER to VALIGN_MIDDLE
3167
3168 2003-08-11  André Pönitz  <poenitz@gmx.net>
3169
3170         * lyxtext.h (getPar):
3171         * text.C: new function
3172
3173 2003-08-11  André Pönitz  <poenitz@gmx.net>
3174
3175         * Makefile.am:
3176         * tracer.[Ch]: remove unneeded files
3177
3178         * InsetList.[Ch]: remove resizeInsetsLyXText()
3179
3180         * lyxtext.h:
3181         * text.C:
3182         * text2.C:
3183         * text3.C: merge insertParagraphs() and appendParagraph()
3184         remove breakAgain(), update()
3185
3186         * BufferView_pimpl.[Ch]:
3187         * bufferview_funcs.[Ch]:
3188         * lyxfunc.C:
3189         * paragraph.[Ch]:
3190         * rowpainter.C:
3191         * tabular.C: adjust after text & InsetList changes.
3192
3193 2003-08-08  André Pönitz  <poenitz@gmx.net>
3194
3195         * text.C (insertChar, backspace): replace rowlist fiddling
3196         with rebreak of full par
3197
3198         * lyxtext.h:
3199         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3200         checkParagraph, updateInset): removed
3201
3202 2003-08-07  André Pönitz  <poenitz@gmx.net>
3203
3204         * paragraph.C:
3205         * text3.C: merge some LFUN handlers, remove dead code
3206
3207 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3210
3211 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * text2.C (DEPM): fix part of bug 1255 and 1256
3214
3215 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3216
3217         * BufferView_pimpl.C (workAreaDispatch): change to use
3218         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3219         that are no mouse related.
3220
3221 2003-08-05  André Pönitz  <poenitz@gmx.net>
3222
3223         * BufferView.[Ch]:
3224         * BufferView_pimpl.[Ch]:
3225         * bufferview_funcs.C:
3226         * text2.C:
3227         * text3.C: rip out "deep update"
3228
3229         * textcursor.[Ch] (last_sel_cursor): remove unused member
3230
3231 2003-08-04  André Pönitz  <poenitz@gmx.net>
3232
3233         * BufferView.[Ch]:
3234         * BufferView_pimpl.[Ch]:
3235         * ParagraphParameters.C:
3236         * bufferview_funcs.C:
3237         * lyx_cb.C:
3238         * lyxfind.C:
3239         * lyxfunc.C:
3240         * text.C:
3241         * text2.C:
3242         * text3.C: replace "complicated" BufferView::update(...) calls with
3243         simpler ones.
3244
3245         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3246
3247 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3248
3249         * Makefile.am (lyx_SOURCES): add paper.h
3250
3251 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3252
3253         * Makefile.am: move things around so that both lyx-qt and
3254         lyx-xforms can be built (according to --with-frontend). Then lyx
3255         is a symbolic link to lyx-[firstfrontend]
3256
3257 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3258
3259         * Always use std::endl with lyxerr
3260
3261 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3262
3263         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3264
3265 2003-08-01  André Pönitz  <poenitz@gmx.net>
3266
3267         * BufferView.[Ch]:
3268         * BufferView_pimpl.[Ch]:
3269         * lyxfunc.C:
3270         * text3.C: merge BufferView::repaint() and BufferView::update()
3271
3272 2003-08-01  José Matos  <jamatos@lyx.org>
3273
3274         * buffer.[Ch]: file_format is no longer a buffer data element.
3275
3276 2003-08-01  André Pönitz  <poenitz@gmx.net>
3277
3278         * BufferView.C:
3279         * lyxtext.h:
3280         * text.C:
3281         * text2.C: make redoParagraph more independent of current cursor
3282
3283         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3284         * text.C:
3285         * text2.C: remove unneeded members
3286
3287 2003-07-30  André Pönitz  <poenitz@gmx.net>
3288
3289         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3290
3291         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3292           create a single function...
3293
3294         * paragraph_funcs.C (moveItem): ... here.
3295
3296         * text.C:
3297           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3298
3299 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * LColor.[Ch]: Add comment and greyedout logical colors.
3302
3303 2003-07-30  André Pönitz  <poenitz@gmx.net>
3304
3305         * tabular.C: don't use Assert too heavily. This crashes where it
3306           shouldn't
3307
3308 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3309
3310         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3311         is disabled (bug 1232)
3312
3313 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3314
3315         * factory.C: limited 'arg' scope
3316
3317 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3318
3319         * factory.C: fixed Note submenu issues
3320
3321 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3322
3323         * factory.C: submenu for Note/Comment/Greyedout
3324
3325 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3326
3327         * lyx_main.C (LyX):
3328         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3329
3330 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3331
3332         * LaTeXFeatures.C:
3333         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3334         greyedout. Patch provided by Jürgen Spitzmüller.
3335
3336 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3337
3338         * kbmap.C (read): fix error message when reading bind files
3339
3340 2003-07-29  Angus Leeming  <leeming@lyx.org>
3341
3342         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3343         certainly does not do what it purports to do. I am doing it, and
3344         us, a favour by killing it.
3345
3346 2003-07-28  José Matos  <jamatos@lyx.org>
3347
3348         * buffer.C (readBody, do_writeFile):
3349         * paragraph.C(readParagraph): \end_document replaces \the_end.
3350
3351 2003-07-29  André Pönitz  <poenitz@gmx.net>
3352
3353         * BufferView.[Ch]:
3354         * BufferView_pimpl.[Ch]:
3355         * lyxfunc.C:
3356         * text2.C:
3357         * text3.C:
3358         * textcursor.[Ch]: remove toggleToggle & Co
3359
3360 2003-07-28  José Matos  <jamatos@fep.up.pt>
3361
3362         * buffer.C (readParagraph):
3363         * params_func (readParToken, readParagraph):
3364         * paragraph.C (write): \layout -> \begin_layout.
3365
3366 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * lyxlex_pimpl.C (setFile): clean up slightly.
3369
3370         * bufferparams.h: add compressed var
3371
3372         * buffer_funcs.C (readFile): adjust for LyXLex change
3373         (newFile): ditto + simplify
3374
3375         * buffer.C (writeFile): handle writing of compressed files
3376
3377         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3378         Check if the file is compressed and set a bufferparm if so.
3379
3380         * Makefile.am (lyx_LDADD): remove explicit -lz
3381
3382 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3383
3384         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3385         makeDocBookFile): put the real LyX version in the first line of
3386         the file
3387
3388         * version.h:
3389         * version.C.in: remove lyx_docversion
3390
3391         * tabular.C (write_attribute): add a template-based version to
3392         write enums properly
3393
3394 2003-07-28  André Pönitz  <poenitz@gmx.net>
3395
3396         * lyxtext.h:
3397         * text.C:
3398         * text2.C:
3399         * text3.C: use doubles again for x-coordinates. They are needed.
3400
3401 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * messages.C (getLocaleDir): use lyx_localedir()
3404
3405         * lyxlex_pimpl.C (setFile): compress stuff
3406
3407         * buffer.C (writeFile): add some compression stuff
3408         (do_writeFile): new func, dont call expliti close... will this
3409         breake anything?
3410
3411         * Makefile.am (lyx_LDADD): add -lz
3412
3413 2003-07-28  José Matos  <jamatos@fep.up.pt>
3414
3415         * buffer.C: increment file format.
3416         * paragraph_funcs (readParagraph, readParToken):
3417         * paragraph.C (readParagraph): add \end_layout.
3418
3419 2003-07-27  Angus Leeming  <leeming@lyx.org>
3420
3421         * Makefile.am: remove special casing for configure-time setting of
3422         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3423
3424         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3425         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3426
3427 2003-07-26  André Pönitz  <poenitz@gmx.net>
3428
3429         * paragraph_func.[Ch]:
3430         * paragraph.C (realizeFont): inline it whereever it is used
3431
3432         * rowpainter.C:
3433         * text.C:
3434         * text2.C:
3435         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3436
3437
3438 2003-07-26  André Pönitz  <poenitz@gmx.net>
3439
3440         *       lyxtext.h:
3441         * text.C:
3442         * text2.C: get rid of LyXText::need_break_row
3443
3444 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * toc.[Ch]: put namespace toc inside namespace lyx
3447
3448         * MenuBackend.C (expandToc2): adjust for lyx::toc
3449         (expandToc): ditto
3450
3451         * lyxfunc.C (dispatch): adjust for lyx::find
3452
3453         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3454         lyx::find instead. Reorganize a bit.
3455         (LyXReplace): rename to replace
3456         (LyXFind): rename to find
3457
3458         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3459         (dispatch): ditto
3460
3461 2003-07-26  André Pönitz  <poenitz@gmx.net>
3462
3463         * text.C (setHeightOfRow): restrict scope of temporary variable
3464
3465         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3466           code (never has been used?)
3467
3468 2003-07-27  Asger Alstrup  <alstrup@local>
3469
3470         * text.C (fill): Optimise algorithm to exploit that we can reuse
3471         the LyXFont for many characters.
3472         (setHeightOfRow): Same thing.
3473         (rowBreakPoint): Same thing.
3474
3475 2003-07-26  Asger Alstrup  <alstrup@local>
3476
3477         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3478
3479         * text.C (singleWidth): Spurious font copying in hot-spot
3480         singleWidth avoided. Reorder tests for arabic for efficiency.
3481
3482         * text.C (fill): handle empty paragraphs better.
3483
3484 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3485
3486         * ispell.C:
3487         * encoding.h: add includes
3488
3489         * lyxrc.C: remove reading of bind files
3490
3491         * lyx_main.C (init): setup bindings and menus only if we have a
3492         gui.
3493
3494         * kbmap.C (read): new method. Do the actual reading of bind
3495         files.
3496
3497         * converter.C (dvipdfm_options):
3498         * bufferparams.C:
3499         * lyxrc.C (read):
3500         (output): adapt PAPER_* enums.
3501
3502         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3503
3504         * bufferparams.h: remove paper-related enums from there
3505
3506         * paper.h: New file. A trivial header file to hold paper-related
3507         enums. It should later expand to contain many paper-related
3508         horrors access.
3509
3510         * lyxrc.C: declare extern displayTranslator
3511
3512 2003-07-27  José Matos  <jamatos@fep.up.pt>
3513
3514         * tabular.[Ch] (linuxdoc): add support for tables and figures
3515         (linuxdoc).
3516
3517 2003-07-27  José Matos  <jamatos@fep.up.pt>
3518
3519         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3520         consistency in both functions.
3521         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3522
3523 2003-07-26  Asger Alstrup  <alstrup@local>
3524
3525         * rowpainter.C (paintRows): Change algorithm to work directly on
3526         the insets rather than asking every character in the document
3527         whether its an inset.
3528
3529 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3530
3531         * buffer.C (openFileWrite): factorize some code
3532
3533 2003-07-26  Angus Leeming  <leeming@lyx.org>
3534
3535         * lyx_cb.C:
3536         * lyx_main.[Ch]: replace occurances of system_tempdir with
3537         os::getTmpDir().
3538
3539 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * rename Inset to InsetOld
3542
3543 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3544
3545         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3546         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3547         which I think is a bit clearer. EDIT is gone, since it was
3548         premature optimisation, and broken for mathed anyway.
3549         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3550         with cursor positioning in insets as well (math insets still do not
3551         work, but that's a different story anyway.) It mysteriously
3552         crashes sometimes with undo in the first paragraph, but I'm fairly
3553         confident that this is a compiler bug.
3554
3555 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3556
3557         * paragraph.C (Paragraph): adjust for new clone return type
3558         (operator==): ditto
3559         (copyIntoMinibuffer): ditto
3560
3561 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3562
3563         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3564         by not having a special case, and always doing a full rebreak of
3565         the document after undo.
3566
3567 2003-07-23  Angus Leeming  <leeming@lyx.org>
3568
3569         * factory.C (createInset): InsetExternal::setParams now takes a
3570         Buffer const * arg.
3571
3572 2003-07-23  Angus Leeming  <leeming@lyx.org>
3573
3574         * factory.C (createInset): changed interface to the external and
3575         graphics mailers' string2params functions.
3576
3577 2003-07-23  Angus Leeming  <leeming@lyx.org>
3578
3579         * factory.C (createInset): pass a
3580         Buffer const * parameter to InsetExternalMailer's string2params.
3581
3582 2003-07-22  John Levon  <levon@movementarian.org>
3583
3584         * Thesaurus.h: include the right aiksaurus header
3585
3586 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3587
3588         * MenuBackend.C (expand): check menu shortcuts unconditionally
3589
3590 2003-07-21  Angus Leeming  <leeming@lyx.org>
3591
3592         * factory.C (createInset): pass a
3593         buffer_path parameter to InsetGraphicsMailer's string2params.
3594
3595 2003-07-21  Angus Leeming  <leeming@lyx.org>
3596
3597         * BufferView_pimpl.C (buffer):
3598         * buffer.C (d-tor):
3599         * lyx_main.C (LyX):
3600         * lyxfunc.C (dispatch):
3601         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3602         rather than the grfx shortcut.
3603
3604 2003-07-21  André Pönitz  <poenitz@gmx.net>
3605
3606         * rowpainter.C: remove unused variables
3607
3608         * tabular_funcs.C:
3609         * tabular_funcs.h: move to tabular.C
3610         * Makefile.am: adjust
3611
3612         * tabular.[Ch]: basic optical cleaning
3613
3614         * author.h: pass references, not values
3615
3616 2003-07-18  André Pönitz  <poenitz@gmx.net>
3617
3618         * lyxtext.h:
3619         * metricsinfo.C:
3620         * metricsinfo.h:
3621         * rowpainter.C:
3622         * text.C:
3623         * text2.C:
3624         * text3.C: two-phase drawing for InsetText and InsetTabular
3625         some float -> int changes.
3626
3627 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3628
3629         * lyx_main.C: fix the fix
3630
3631 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * lyx_main.C: fix a crash in batch mode if no files specified
3634         * converter.C: ws
3635
3636 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * format.[Ch] (papersize): moved to BufferParams
3639         * converter.[Ch] (dvips_options): moved to BufferParams
3640         (dvipdfm_options): moved to anon namespace
3641         * bufferparams.[Ch]: added above functions.
3642
3643 2003-07-17  André Pönitz  <poenitz@gmx.net>
3644
3645         * lyxtext.h:
3646         * rowpainter.C:
3647         * text2.C: don't call inset->update() anymore
3648
3649         * metricsinfo.[Ch]: add convenience constructor
3650
3651 2003-07-16  André Pönitz  <poenitz@gmx.net>
3652
3653         * lyxcursor.[Ch]:
3654         * lyxfunc.[Ch]:
3655         * text.C:
3656         * text2.C: replace the LyXCursor::irow_ member with
3657          on-demand computation of the value
3658
3659 2003-07-16  John Levon  <levon@movementarian.org>
3660
3661         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3662
3663 2003-07-15  André Pönitz  <poenitz@gmx.net>
3664
3665         * text.C:
3666         * text2.C: remove no more needed refresh_row
3667
3668 2003-07-15  André Pönitz  <poenitz@gmx.net>
3669
3670         * lyxtext.h:
3671         * rowpainter.C:
3672         * text2.C:
3673         * text3.C: refresh_status tristate -> need_update bool
3674
3675 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * lyxtext.h (init): remove reinit argument (act as if always true)
3678         * text2.C: adjust to that
3679
3680 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3681
3682         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3683         * text3.C: use it to delete selections in some cases
3684         (bugs 441, 673, 702, 954).
3685
3686 2003-07-14  André Pönitz  <poenitz@gmx.net>
3687
3688         * rowpainter.[Ch]: reduce interface
3689
3690 2003-07-14  André Pönitz  <poenitz@gmx.net>
3691
3692         * BufferView_pimpl.C:
3693         * text2.C: adjust after removing unused BufferView * argument
3694
3695 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3696
3697         * text2.C (init): fix a crash fired on resize
3698
3699 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * buffer.[Ch]: added new closing signal
3702         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3703         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3704         BufferView::Pimpl via the closing the signal
3705
3706 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * buffer.[Ch]: take out all bv-related from buffer
3709         * BufferView.C:
3710         * BufferView_pimpl.[Ch]: connect to new signals
3711         * CutAndPaste.C: removed useless asserts
3712         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3713         * lyxvc.[Ch]:
3714         * vc-backend.[Ch]:
3715         * lyxfunc.C: moved view-related funciontality from vc here
3716         * paragraph.C: removed outdated comments
3717         * text.C: ws
3718
3719 2003-07-10  André Pönitz  <poenitz@gmx.net>
3720
3721         * BufferView_pimpl.C:
3722         * tabular.h:
3723         * tabular_funcs.C:
3724         * text.C:
3725         * text2.C: remove InsetText::InnerCache, clean up consequences
3726
3727 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3728
3729         * ispell.C: fix two typos in error messages
3730
3731 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3732
3733         * Extend Note inset to other forms of annotation like Comment
3734         and Greyedout. Right button click gives dialog.
3735
3736         Files modified or added (+):
3737
3738         * insetnote.[Ch]
3739         * FormNote.[Ch]      +
3740         * ControlNote.[Ch]   +
3741         * form_note.fd       +
3742         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3743         frontends/controllers
3744         * xforms/Dialogs.C
3745         * factory.C
3746
3747 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3748
3749         * aspell.C: add missing namespace lyx::support
3750
3751 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * BufferView.[Ch] (newFile): Add
3754         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3755         * LaTeX.[Ch] (message): added this signal and use it
3756         * buffer.[Ch] (busy, message): added these signals and use them
3757         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3758         * converter.C:
3759         * exporter.C:
3760         * format.C:
3761         * importer.C: use buffer signals instead of direct bv calling
3762         * lyx_cb.[Ch] (ShowMessage): removed
3763         * lyx_main.C:
3764         * lyxfunc.C:
3765         * paragraph_funcs.C:
3766         * text2.C: use buffer signals
3767
3768 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * introduce namespace lyx::graphics
3771
3772 2003-07-02  André Pönitz  <poenitz@gmx.net>
3773
3774         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3775
3776 2003-07-01  André Pönitz  <poenitz@gmx.net>
3777
3778         * text.C:
3779         * text2.C:
3780         * text3.C:
3781         * text_funcs.[Ch]:
3782         * textcursor.h:
3783         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3784           text*.C to text_func.C
3785
3786 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * introduce namespace lyx::support
3789
3790 2003-06-30  André Pönitz  <poenitz@gmx.net>
3791
3792         * Chktex.C:
3793         * funcrequest.C:
3794         * lyxtext.h:
3795         * text.C: re-enable --with-included-string
3796
3797 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * textcursor.C: add <config.h>
3800
3801         * text.C (getWord): remove const from word_location arg
3802
3803         * lyxvc.C (getLogFile): fix const type order
3804
3805         * lyxtext.h: remove const from word_location arg, add arg name
3806
3807         * lyxlayout.h: currect type on labeltype.
3808
3809         * importer.C: correct \file
3810
3811         * converter.C (intToFormat): use std:: on ret val, ws changes
3812
3813         * bufferlist.h: correct \file
3814
3815         * buffer.C (makeLinuxDocFile): fix const type order
3816         (makeDocBookFile): ditto
3817         (fillWithBibKeys): use std:: on stdlib args.
3818
3819         * CutAndPaste.C: fix authors.
3820         (availableSelections): use std:: on return vector
3821
3822 2003-06-27  André Pönitz  <poenitz@gmx.net>
3823
3824         * BufferView_pimpl.C:
3825         * bufferview_funcs.C:
3826         * lyxcursor.C:
3827         * lyxcursor.h:
3828         * lyxfunc.C:
3829         * lyxtext.h:
3830         * rowpainter.C:
3831         * text.C:
3832         * text2.C:
3833         * text3.C: remove LyXCursor::row_ member
3834
3835         * lyxtext.h:
3836         * text.C: rename fullRebreak() to partialRebreak() and implement
3837           a fullRebreak() that really bereks fully
3838
3839         * textcursor.h: new struct for cursor-related data
3840
3841 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3842
3843         * lyx_main.C (LyX): get full path of document loaded on the
3844         command line
3845
3846 2003-06-26  André Pönitz  <poenitz@gmx.net>
3847
3848         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3849           remove unused/broken operator>,<,>=.
3850
3851         *       text.C: remove only use of broken operator<= in an Assert().
3852
3853 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3856         moved errorlist_.clear to showErrorList
3857
3858 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3859
3860         * converter.C (scanLog, runLaTeX):
3861         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3862         move the bv->showErrorList call to the callers
3863         * lyxfunc.C: i.e. here...
3864         * text2.C: and here
3865         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3866         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3867         namespace, the second to...
3868         * buffer_funcs (BufferFormat, parseErrors): added
3869         * errorlist.C (ErrorList(TeXErrors const &)): removed
3870
3871 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3872
3873         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3874
3875 2003-06-24  "Garst R. Reese" <reese@isn.net>
3876
3877         * debug.C: fix typo
3878
3879 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3880
3881         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3882
3883         * version.C.in: change docversion to 1.4
3884
3885 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * buffer.C: fix a bug just introduced
3888
3889 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * buffer.[Ch]: added the parseError signal and use it, removed
3892         sgmlError
3893         * BufferView.[Ch] (addError): moved to ...
3894         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3895         to the Buffer::parseError signal to catch (guess what) parse errors
3896         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3897
3898 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3901         ability to create a buffer and to return an existing one from
3902         the list. Moved these functions to...
3903         * buffer_funcs.[Ch]: added
3904         * BufferView.[Ch] (loadLyXFile): added
3905         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3906         job removed from bufferlist::loadLyXFile.
3907         * buffer.C (setReadOnly): make it work without view
3908         (i.e added an if (users))
3909
3910 2003-06-19  Angus Leeming  <leeming@lyx.org>
3911
3912         * lfuns.h:
3913         * LyXAction.C (init):
3914         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3915         with LFUN_DIALOG_SHOW <name> <data>.
3916
3917 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3918
3919         * CutAndPaste.C (availableSelections): small compilation fix for
3920         ancient (gcc 2.9x) compilers
3921
3922 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * text3.C (cursorNext): add tmp var
3925
3926         * text2.C (updateCounters): for function calling out of for clause
3927         (replaceSelectionWithString): ditto
3928         (insertStringAsParagraphs): ditto
3929         (getColumnNearX): add tmp var
3930         (setCursorFromCoordinates): add tmp var
3931         (cursorDownParagraph): add tmp var
3932         (deleteEmptyParagraphMechanism): add tmp var
3933
3934         * text.C (insertChar): add tmp var
3935
3936         * rowpainter.C (paintDepthBar): add tmp var
3937
3938         * CutAndPaste.C (availableSelections): potentially check all
3939         paragraphs in a cut to fill the shown strings.
3940
3941 2003-06-18  André Pönitz  <poenitz@gmx.net>
3942
3943         * kbmap.[Ch]: use vector<> instead of list<>
3944
3945 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3946
3947         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3948         pasteSelection with index
3949
3950         * text2.C (pasteSelection): modify, call pasteSelection with index
3951
3952         * paragraph.C (asString): reimplement version with no interval to
3953         call the one with interval.
3954
3955         * lyxtext.h: add index arg to pasteSelection
3956
3957         * MenuBackend.C (MenuItem): handle PasteRecent
3958         (Menu::read::Menutags): add md_pasterecent
3959         (read): handle it
3960         (expandPasteRecent): new function
3961         (expand): use it
3962
3963         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3964
3965         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3966         the limited stack
3967         (availableSelections): new function
3968
3969 2003-06-17  Angus Leeming  <leeming@lyx.org>
3970
3971         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3972
3973 2003-06-17  Angus Leeming  <leeming@lyx.org>
3974
3975         * lfuns.h:
3976         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3977
3978         * lyxfunc.C (dispatch): invoke it.
3979
3980 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3981
3982         * iterators.C (operator++, ParPosition): reintroduce some
3983         const_cast for the benefit of older compilers.
3984
3985 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3986
3987         * text3.C (dispatch): do not modify clipboard when doing
3988         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3989         LFUN_DELETE_SKIP on a selection selection
3990
3991 2003-06-16  André Pönitz  <poenitz@gmx.net>
3992
3993         * BufferView.C:
3994         * buffer.C:
3995         * buffer.h:
3996         * paragraph.C:
3997         * tabular.[Ch]: IU of clone() and getLabelList();
3998
3999 2003-06-13  André Pönitz  <poenitz@gmx.net>
4000
4001         * tabular.h: compactification
4002
4003 2003-06-12  André Pönitz  <poenitz@gmx.net>
4004
4005         * tabular.C:
4006         * tabular.h:
4007         * tabular_funcs.h: some renaming plus whitespace
4008
4009 2003-06-12  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView.C:
4012         * BufferView_pimpl.C:
4013         * CutAndPaste.C:
4014         * buffer.C:
4015         * iterators.[Ch]:
4016         * lyxfunc.C:
4017         * text.C:
4018         * toc.C: Return a Paragraph & for ParIterator::operator*()
4019
4020 2003-06-11  John Levon  <levon@movementarian.org>
4021
4022         * lyx_main.C:
4023         * ToolbarBackend.h:
4024         * ToolbarBackend.C: add "Toolbars" section and
4025         put the flags there
4026
4027 2003-06-10  Angus Leeming  <leeming@lyx.org>
4028
4029         * lfuns.h:
4030         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4031
4032         * lyxfunc.C (dispatch): invoke it.
4033
4034 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * main.C: protect <ios> with HAVE_IOS
4037         (main): protect sync_with_stdio with HAVE_IOS
4038
4039 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4040
4041         * text2.C (cutSelection): adjust
4042         (pasteSelection): adjust
4043
4044         * messages.C: handle get of empty string
4045
4046         * main.C (main): use sync_with_stdio(false)
4047
4048         * lyxfunc.C (dispatch): adjust
4049
4050         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4051         (WriteAs): remove unneeded BufferView arg.
4052
4053         * bufferparams.h: use correct types on papersize, papersize2 and
4054         paperpackage.
4055
4056         * bufferparams.C (readToken): adjust for type
4057         (writeLaTeX): add missing cases to switch.
4058
4059         * bufferlist.C (quitWriteBuffer): adjust
4060         (close): adjust
4061
4062         * buffer.C (asciiParagraph): remove some commented code.
4063
4064         * CutAndPaste.C: remove current_view extern variable.
4065         (cutSelection): add BufferParams arg.
4066         (eraseSelection): add BufferParams arg.
4067         (pasteSelection): add Buffer const & arg
4068
4069 2003-06-07  John Levon  <levon@movementarian.org>
4070
4071         * buffer.C:
4072         * paragraph_funcs.C:
4073         * paragraph_pimpl.C:
4074         * text.C:
4075         * text2.C:
4076         * paragraph.h:
4077         * paragraph.C: allow InsetERT to freely space lines,
4078         and some consolidation of code
4079
4080 2003-06-06  José Matos  <jamatos@fep.up.pt>
4081
4082         * buffer.C (makeDocBookFile): fix bug #821
4083
4084 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4087
4088 2003-06-04  Angus Leeming  <leeming@lyx.org>
4089
4090         * buffer.C: bump format to 224.
4091
4092 2003-06-05  André Pönitz  <poenitz@gmx.net>
4093
4094         * text2.C (redoParagraphs): remove two const_cast<>
4095
4096 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4097
4098         * ParagraphList.h: remove last remnants of NO_STD_LIST
4099
4100 2003-06-03  Angus Leeming  <leeming@lyx.org>
4101
4102         * factory.C (createInset): small change to the way InsetExternal's params
4103         are set.
4104
4105 2003-06-04  André Pönitz  <poenitz@gmx.net>
4106
4107         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4108
4109         * paragraph_pimpl.h:
4110         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4111
4112         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4113
4114         * undo_funcs.C: make some simple cases of undo work again
4115
4116 2003-06-03  John Levon  <levon@movementarian.org>
4117
4118         * ispell.C: HPUX doesn't have sys/select.h
4119         (from Albert Chin)
4120
4121 2003-06-03  John Levon  <levon@movementarian.org>
4122
4123         * CutAndPaste.C: update tabular and include inset
4124         buffer references
4125
4126         * buffer.h:
4127         * paragraph.h:
4128         * paragraph.C: remove owningBuffer(), don't pass Buffer
4129         to clone()
4130
4131         * factory.C: insetGraphicsParams changed
4132
4133 2003-06-02  John Levon  <levon@movementarian.org>
4134
4135         * LyXAction.C:
4136         * factory.C:
4137         * lfuns.h:
4138         * lyxfunc.C:
4139         * text3.C: remove insetparent
4140
4141 2003-06-02  John Levon  <levon@movementarian.org>
4142
4143         * buffer.h:
4144         * buffer.C: fix inset_iterator.end(), move out of line
4145         (bug 1149)
4146
4147 2003-06-01  John Levon  <levon@movementarian.org>
4148
4149         * text3.C: use a proper cut/paste when doing inset
4150         insert (from Jürgen Spitzmüller)
4151
4152 2003-06-01  John Levon  <levon@movementarian.org>
4153
4154         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4155
4156 2003-05-30  André Pönitz  <poenitz@gmx.net>
4157
4158         * rowpainter.C: unify second drawing phase
4159
4160 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * trans_mgr.C: remove one case of current_view
4163
4164         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4165
4166         * paragraph_funcs.h: remove paragraph.h include
4167
4168         * paragraph.h: delete NO_STD_LIST stuff
4169
4170         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4171
4172         * buffer.h: remove paragraph.h include
4173
4174         * ParagraphList.C: delete file
4175
4176         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4177
4178         * toc.C (getTocList): adjust
4179
4180         * paragraph_pimpl.C (validate): adjust
4181
4182         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4183
4184         * paragraph.C (Paragraph): adjust
4185         (getPositionOfInset): use const_iterator, adjust
4186         (bibitem): use const_iterator, adjust
4187         (setInsetOwner): adjust
4188
4189         * iterators.C (operator++): adjust
4190
4191         * InsetList.[Ch]: Replace selfmade iterator with standard
4192         vector::iterator also introduce const_iterator. Remove getPos,
4193         getInset and setInset from InsetTable. Adjust accordingly.
4194
4195         * BufferView.C (lockInset): adjust
4196         (ChangeInsets): adjust
4197
4198         * tabular.[Ch]: delete commented same_id functions
4199
4200 2003-05-28  John Levon  <levon@movementarian.org>
4201
4202         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4203
4204 2003-05-28  André Pönitz  <poenitz@gmx.net>
4205
4206         * metricsinfo.[Ch]: remove 'fullredraw' member
4207
4208 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4209
4210         * lyxtextclass.C (operator): remove caching.
4211
4212 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * text3.C: adjust
4215
4216         * text2.C (cursorBottom): adjust
4217         (setCounter): use ParagraphList::find, adjust
4218
4219         * text.C (workWidth): use ParagraphList::find, adjust
4220
4221         * lyxcursor.C (LyXCursor): adjust
4222
4223         * buffer.C (inset_iterator): adjust
4224
4225         * ParagraphList.h: make iterator(value_type) private, make
4226         ParagraphList a friend of iterator.
4227
4228         * ParagraphList.C (find): new function
4229
4230         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4231
4232 2003-05-27  André Pönitz  <poenitz@gmx.net>
4233
4234         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4235
4236 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4237
4238         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4239
4240 2003-05-26  John Levon  <levon@movementarian.org>
4241
4242         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4243
4244 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * remove same_id from function signatures, adjust.
4247
4248 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4251
4252         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4253
4254         * paragraph.C (Paragraph): get rid of same_ids parameter
4255
4256         * ParagraphList.C (insert): adjust
4257         (push_back): adjust
4258
4259 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * paragraph_funcs.C (breakParagraph): adjust
4262         (breakParagraphConservative): adjust
4263
4264         * buffer.C (readParagraph): adjust
4265
4266         * ParagraphList.C (insert): take a reference instead of a pointer
4267         (insert): adjust
4268
4269         * paragraph.[Ch] (id): new function
4270
4271         * bufferlist.C (newFile): adjust
4272
4273         * ParagraphList.C (ParagraphList): adjust
4274         (assign): adjust
4275         (push_back): take a reference instead of a pointer.
4276
4277         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4278
4279         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4280         instead.
4281
4282         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4283         set else use old code.
4284
4285         * ParagraphList.C: remove all NO_NEXT code and only compile this
4286         code of NO_STD_LIST is set.
4287
4288 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * BufferView_pimpl.C:
4291         * TextCache.C:
4292         * TextCache.h:
4293         * bufferlist.C:
4294         * errorlist.h:
4295         * format.C:
4296         * format.h:
4297         * graph.C:
4298         * lyxfunc.C:
4299         * lyxrc.C:
4300         * graphics/GraphicsConverter.C:
4301         * graphics/PreviewLoader.C: header adjustment
4302
4303 2003-05-23  Angus Leeming  <leeming@lyx.org>
4304
4305         * LaTeXFeatures.[Ch] (useBabel): new method.
4306         * bufferparams.C (writeLaTeX): use it.
4307
4308 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * ParagraphList.h (set): remove unused function.
4311
4312 2003-05-23  André Pönitz  <poenitz@gmx.net>
4313
4314         * BufferView.C:
4315         * BufferView_pimpl.C:
4316         * buffer.C:
4317         * buffer.h:
4318         * lyxfunc.C:
4319         * undo_funcs.C: setUndo reworked
4320
4321         * iterators.[Ch]: add access to topmost ParagraphList
4322
4323         * lyxtext.[Ch] (workWidth): add a const
4324
4325 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * texrow.[Ch] (increasePos): remove function
4328         * exporter.C (export): removed unused var and outdated comment
4329
4330 2003-05-23  Angus Leeming  <leeming@lyx.org>
4331
4332         * latexrunparams.h: rename fragile as moving_arg.
4333         * paragraph.C (simpleTeXOnePar): ditto.
4334         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4335
4336 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4339         (createUndo): ditto
4340         (textUndoOrRedo): comment out a currently unused var.
4341
4342         * paragraph.h (NO_NEXT): enable NO_NEXT
4343
4344         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4345
4346         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4347
4348         * exporter.C (Export): adjust for removeAutoInsets removal.
4349
4350         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4351
4352         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4353
4354         * BufferView.[Ch] (removeAutoInsets): delete function
4355
4356 2003-05-22  Angus Leeming  <leeming@lyx.org>
4357
4358         * latexrunparams.h: add a free_spacing variable.
4359
4360         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4361         to pass moving_arg, as the data is stored in runparams.fragile.
4362
4363         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4364         to Inset::latexOptional or to simpleTeXOnePar.
4365
4366         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4367         free_spacing arg to Inset::latexOptional.
4368
4369         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4370         free_spacing arg.
4371
4372 2003-05-22  Angus Leeming  <leeming@lyx.org>
4373
4374         * latexrunparams.h: add fragile and use_babel variables.
4375
4376         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4377         * buffer.C (makeLaTeXFile): store this returned value in
4378         runparams.use_babel, thus passing it to the inset::latex methods.
4379
4380         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4381         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4382
4383         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4384         longer has a fragile arg, as it is stored in runparams.fragile.
4385
4386         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4387         moving_arg parameter as the data is stored in runparams.fragile.
4388
4389         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4390         a fragile parameter as the data is stored in runparams.fragile.
4391
4392 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4395
4396 2003-05-22  Angus Leeming  <leeming@lyx.org>
4397
4398         * latexrunparams.h: add a 'bool nice' which defaults to false.
4399
4400         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4401         now encapsulated within runparams.
4402
4403         * bufferlist.C (updateIncludedTeXfiles):
4404         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4405
4406 2003-05-22  Angus Leeming  <leeming@lyx.org>
4407
4408         * latexrunparams.h: new file containing struct LatexRunParams.
4409         * Makefile.am: add new file.
4410
4411         * LaTeX.[Ch] (c-tor, run):
4412         * buffer.[Ch] (makeLaTeXFile):
4413         * bufferlist.[Ch] (updateIncludedTeXfiles):
4414         * converter.C (convert, scanLog):
4415         * converter.[Ch] (runLaTeX):
4416         * exporter.C (Export):
4417         * paragraph.[Ch] (simpleTeXOnePar):
4418         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4419         * paragraph_funcs.[Ch] (latexParagraphs):
4420         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4421         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4422         pass around a LatexRunParams parameter.
4423
4424 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * paragraph.[Ch]: remove unused constructor
4427
4428         * ParagraphList.C (erase): new function, taking two iterators
4429
4430 2003-05-22  André Pönitz  <poenitz@gmx.net>
4431
4432         * undo_funcs.C: remove duplicated code
4433
4434         * iterator.[Ch]: operator=
4435
4436 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4437
4438         * tabular.C (SetMultiColumn): ws changes
4439
4440         * rowpainter.C (paintFirst): get rid of a ->previous
4441
4442         * lyx_cb.C (getPossibleLabel): parlist simplification
4443
4444         * BufferView.C (ChangeInsets): simplify slightly.
4445
4446 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4447
4448         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4449         * lfuns.h: new LFUN_SPACE
4450         * lyxfunc.C: protected space has a new lfun
4451         * paragraph_funcs.C: read new space insets
4452         * text3.C:
4453         * factory.C: handle new space insets
4454
4455 2003-05-22  André Pönitz  <poenitz@gmx.net>
4456
4457         * BufferView.C:
4458         * BufferView_pimpl.C:
4459         * buffer.[Ch]:
4460         * lyxfunc.C:
4461         * undo_funcs.C: return a ParIterator from getParFromID.
4462
4463         * iterators.[Ch]: add two const's
4464
4465 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * toc.C (getTocList): adjust
4468
4469         * iterators.[Ch]: rework for parlist
4470
4471         * buffer.C (par_iterator_begin): adjust
4472         (par_iterator_end): adjust
4473
4474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4475
4476         * BufferView.C (removeAutoInsets): adjust
4477         (ChangeInsets): adjust
4478
4479 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * text.C (top_y): fix bug 1110
4482
4483 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4484
4485         * errorlist.[Ch]: added
4486         * buffer.C:
4487         * BufferView.[Ch]:
4488         * BufferView_pimpl.C:
4489         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4490         instead
4491
4492 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * Makefile.am: ensure that lyx is relinked upon changes to the
4495         various "convenience" libs.
4496
4497 2003-05-20  Angus Leeming  <leeming@lyx.org>
4498
4499         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4500         files are compiled in alphabetical order again.
4501
4502         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4503
4504 2003-05-19  Angus Leeming  <leeming@lyx.org>
4505
4506         * gettext.[Ch]: remove "char const * _(char const *)".
4507
4508 2003-05-19  André Pönitz  <poenitz@gmx.net>
4509
4510         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4511
4512         * Makefile.am:
4513         * BufferView.C:
4514         * DepTable.h:
4515         * LaTeXFeatures.C:
4516         * buffer.C:
4517         * lyxfont.C:
4518         * lyxlex.h:
4519         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4520
4521 2003-05-19  André Pönitz  <poenitz@gmx.net>
4522
4523         * buffer.C:
4524         * lyxlayout.[Ch]:
4525         * lyxtextclass.[Ch]:
4526         * paragraph.C:
4527         * paragraph_funcs.[Ch]:
4528         * text2.C:
4529         * text3.C: more insetenv work
4530
4531 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * ParagraphParameters.C (params2string): small bug fixed
4534
4535 2003-05-16  André Pönitz  <poenitz@gmx.net>
4536
4537         * debug.C:
4538         * bufferview_funcs.C: patch from Kornel Benko to prevent
4539           crash when _(...) is called twice in a statement
4540
4541 2003-05-16  André Pönitz  <poenitz@gmx.net>
4542
4543         * BufferView.C:
4544         * lyxfunc.C:
4545         * text.C:
4546         * text2.C:
4547         * text3.C:
4548         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4549
4550 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * lyx_main.C (init): remove spurious static_cast
4553
4554 2003-05-14  André Pönitz  <poenitz@gmx.net>
4555
4556         * BufferView.C: fix format string
4557
4558 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4559
4560         * BufferView.[Ch] (insertErrors): removed
4561         * BufferView.[Ch] (showErrorList): added
4562         * buffer.C (runChkTeX):
4563         * converter.C (scanLog): call showErrorList instead of inserterrors
4564
4565 2003-05-13  André Pönitz  <poenitz@gmx.net>
4566
4567         * BufferView_pimpl.C:
4568         * buffer.C:
4569         * bufferview_func.C:
4570         * MenuBackend.C:
4571         * lyxfunc.C:
4572         * lyxrc.C:
4573         * tex-accent.C:
4574         * text3.C:
4575         * toc.C:
4576         * tabular_funcs.h: tostr() from its own header
4577
4578         * ParagraphParameters.C:
4579         * ToolbarBackend.C:
4580         * bufferparams.C:
4581         * format.C:
4582         * lyxlex_pimpl.C:
4583         * text3.C: STRCONV()
4584
4585 2003-05-12  André Pönitz  <poenitz@gmx.net>
4586
4587         * BufferView.C:
4588         * BufferView_pimpl.C:
4589         * CutAndPaste.C:
4590         * LaTeX.C:
4591         * LaTeXFeatures.C:
4592         * ParagraphParameters.C:
4593         * buffer.C:
4594         * bufferlist.C:
4595         * bufferparams.C:
4596         * bufferview_funcs.C:
4597         * converter.C:
4598         * counters.C:
4599         * debug.C:
4600         * exporter.C:
4601         * format.C:
4602         * importer.C:
4603         * lyx_cb.C:
4604         * lyx_main.C:
4605         * lyxfont.C:
4606         * lyxfunc.C:
4607         * lyxvc.C:
4608         * paragraph.C:
4609         * paragraph_funcs.C:
4610         * tabular.C:
4611         * tabular_funcs.C:
4612         * text2.C:
4613         * text3.C:  boost::format -> bformat  all over the place
4614
4615
4616 2003-05-09  André Pönitz  <poenitz@gmx.net>
4617
4618         * LColor.[Ch]: Pimpl the #include <map> away
4619
4620 2003-05-09  John Levon  <levon@movementarian.org>
4621
4622         * bufferlist.C: never remove emergency saves
4623
4624 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * Makefile.am: better lib building
4627
4628 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4631         instead.
4632         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4633         (simpleTeXSpecialChars): adjust
4634         (simpleTeXSpecialChars): adjust
4635         * paragraph.C (simpleTeXOnePar): adjust
4636         * buffer.C (makeLaTeXFile): adjust
4637
4638         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4639
4640         * text2.C (changeDepth): parlist cleanup
4641         (getColumnNearX): ditto
4642
4643         * rowpainter.C (getLabelFont): parlist cleanup
4644
4645         * bufferlist.C (newFile): parlist cleanup
4646
4647         * CutAndPaste.C (eraseSelection): parlist cleanup
4648
4649         * BufferView_pimpl.C (trackChanges): parlist cleanup
4650         (dispatch): ditto
4651
4652         * BufferView.C (lockInset): parlist cleanup.
4653         (ChangeInsets): ditto
4654
4655 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * CutAndPaste.h: Update file header.
4658
4659         * CutAndPaste.C: Update file header.
4660         Store the parts cut out of the Document in a limited_stack.
4661         (copySelection): adjust
4662         (pasteSelection): new function, takes the index in the limited stack.
4663         (nrOfParagraphs): adjust
4664         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4665         simplify error inset insertion.
4666         (checkPastePossible): adjust
4667
4668 2003-05-06  John Levon  <levon@movementarian.org>
4669
4670         * text2.C: don't cast wrap inset to float
4671
4672 2003-05-05  André Pönitz  <poenitz@gmx.net>
4673
4674         * iterator.C:
4675         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4676
4677         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4678           few naked Paragraph *.
4679
4680 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4681
4682         * bufferparams.C: Output warning if a document with missing
4683         TeX document class is loaded
4684         * exporter.C: Disable TeX exports if the document class is missing
4685         * lyxtextclass.C:
4686         * lyxtextclass.h:
4687         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4688         isTeXClassAvailable()
4689
4690 2003-05-03  John Levon  <levon@movementarian.org>
4691
4692         * BufferView.h:
4693         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4694         explicit cursor show/hide
4695
4696         * BufferView_pimpl.h:
4697         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4698         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4699
4700         * lyxfunc.C: hide cursor before dispatching.
4701
4702         * lyx_cb.C:
4703         * lyxfind.C:
4704         * text.C:
4705         * text3.C: remove explicit cursor hides
4706
4707 2003-05-02  André Pönitz  <poenitz@gmx.net>
4708
4709         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4710
4711         * undo_funcs.C:
4712         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4713           linked lists
4714
4715         * text2.C: tiny whitespace
4716
4717 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * undo_funcs.C: almost only ws changes.
4720
4721         * ParagraphList.C (splice): just return if pl is empty.
4722
4723 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * ParagraphList.C (splice): new function.
4726
4727         * CutAndPaste.C (pasteSelection): use it
4728
4729 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * CutAndPaste.C (pasteSelection): remove the last next and
4732         previous from this file.
4733
4734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * CutAndPaste.C (pasteSelection): more clean up, user proper
4737         ParagraphList functions for pasteing.
4738
4739         * ParagraphList.C (insert): new function, three arg insert
4740
4741 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * ParagraphList.C (insert): new function, three arg insert
4744
4745         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4746         not on paragraphs.
4747
4748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4751
4752 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4755
4756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4759         (copySelection): clean up a bit.
4760         (pasteSelection): use make_pair
4761
4762         * ParagraphList.C (ParagraphList): implement copy constructor
4763         (operator=): implement, base on copy constructor.
4764         (assign): new func
4765
4766         * paragraph.C (erase): return a bool
4767
4768         * paragraph_pimpl.C (erasePos): remove function, move contents...
4769         (erase): ... here. Return a bool.
4770         (erase): call erase instead of erasePos.
4771
4772 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * ParagraphList.h: define PitPosPair
4775         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4776         ParagraphList, fix a bug on pasting multiple pars
4777         * text2.C: change interface to C&P
4778
4779 2003-04-30  André Pönitz  <poenitz@gmx.net>
4780
4781         * undo_func.C: revert part of yesterday's patch 2
4782
4783 2003-04-30  John Levon  <levon@movementarian.org>
4784
4785         * LColor.C: s/tabular/table/
4786
4787 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * text3.C (dispatch): do not convert iterator -> pointer
4790         * undo_funcs.C (setCursorParUndo): ditto
4791         * text_funcs.C (transposeChars): ditto
4792
4793         * text2.C (setLayout): ws changes only
4794
4795         * text.C (breakParagraph): do not convert iterator -> pointer
4796         (insertChar): ditto
4797         (acceptChange): ditto
4798         (rejectChange): ditto
4799         (changeCase): ditto
4800         (Delete): ditto
4801         (backspace): ditto
4802
4803         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4804         pointer
4805
4806 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * text3.C (gotoInset): YABG (yet another bad getChar)
4809
4810 2003-04-29  André Pönitz  <poenitz@gmx.net>
4811
4812         * paragraph.h: make operator= private unimplemented as long as
4813           it is unusable
4814
4815         * ParagraphList.C: whitespace
4816
4817         * paragraph.[Ch]:
4818         * paragraph_pimpl.[Ch]:
4819         * paragraph_funcs.C:
4820         * CutAndPaste.C:
4821         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4822
4823         * text2.C:
4824           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4825
4826 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4829         * paragraph.[Ch] (erase):
4830         * paragraph_pimpl.[Ch] (erase): change return type and value
4831         * text2.C (cutSelection): some rework
4832
4833 2003-04-28  John Levon  <levon@movementarian.org>
4834
4835         * bufferlist.C: changes for unsaved changes dialog
4836
4837 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * bufferlist.C (newFile): set language (messages_) for new
4840         documents also.
4841
4842         * buffer.C (readFile): ws changes only.
4843
4844 2003-04-28  André Pönitz  <poenitz@gmx.net>
4845
4846         * undo_funcs.C:
4847         * lyxfunc.C:
4848         * buffer.[Ch]:
4849         * BufferView_pimpl.C:
4850         * BufferView.C: getParFromID related ParagraphList::iterator changes
4851
4852 2003-04-28  André Pönitz  <poenitz@gmx.net>
4853
4854         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4855           Changes
4856
4857 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * messages.C: remove one more localedir class variable.
4860
4861 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * messages.C (getLocaleDir): singleton generation function
4864         (Pimpl): use it.
4865         (Messages): add a default constructor.
4866
4867         * main.C (main): do not setup localedir here, do not call
4868         gettext_init.
4869
4870         * gettext.C (_): use it.
4871         (gettext_init): delete funciton
4872
4873 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * gettext.C (getLyXMessages): new singleton generating function.
4876
4877         * buffer.C (updateDocLang): adjust
4878
4879         * Makefile.am (messages.o): add target
4880         (main.o): remove target
4881
4882 2003-04-27  John Levon  <levon@movementarian.org>
4883
4884         * bufferlist.C:
4885         * lyx_cb.C:
4886         * lyxfunc.C:
4887         * lyxvc.C: specify cancel button in Alert::prompt
4888
4889 2003-04-26  John Levon  <levon@movementarian.org>
4890
4891         * text3.C:
4892         * lyxfunc.C:
4893         * lfuns.h:
4894         * LyXAction.C: add LFUN_INSET_SETTINGS
4895
4896         * lyxfunc.C: don't enable tabular-feature when there's
4897         just any locking inset
4898
4899 2003-04-26  John Levon  <levon@movementarian.org>
4900
4901         * bufferlist.C: re-add Cancel to buffer close question
4902
4903         * lyxfunc.C: fix import UI a bit
4904
4905 2003-04-25  John Levon  <levon@movementarian.org>
4906
4907         * gettext.C: remove the broken asserts for now
4908
4909 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4910
4911         * messages.C: make case where setlocale cannot comply work better.
4912
4913         * buffer.C (updateDocLang): new function
4914         (changeLanguage): use it
4915         (readFile): use it
4916
4917         * text2.C (setCounter): use B_ a bit.
4918
4919         * lyxlayout.C (Read): be sure to trim the label strings.
4920
4921         * messages.C (Messages): fix typo in comment
4922
4923         * buffer.C (readFile): set message_ after file is loaded.
4924         (makeDocBookFile): remove double return
4925         (changeLanguage): reset message_ upon language change.
4926         (B_): new func, use this to get translated buffer strings.
4927
4928         * main.C: add myself and Jean Marc as authors.
4929
4930 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * messages.[hC]: pimplify Messages, and three different pimpls to be
4933         used in different circumstances.
4934
4935         * gettext.[Ch]: change for use with new message code.
4936
4937 2003-04-24 André Pönitz <poenitz@gmx.net>
4938
4939         * factory.C: support for eqref
4940
4941 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * messages.[Ch]: add missing char
4944
4945         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4946
4947         * messages.[Ch]: New files
4948
4949 2003-04-18  John Levon  <levon@movementarian.org>
4950
4951         * BufferView.h:
4952         * BufferView.C:
4953         * BufferView_pimpl.C:
4954         * lfuns.h:
4955         * LyXAction.C:
4956         * lyxtext.h:
4957         * text2.C: remove layout-copy/paste (bug 778)
4958
4959 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4960
4961         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4962
4963 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4966         if they succeed. Act accordingly.
4967
4968 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * text2.C (setCharFont): adjust
4971         (setCounter): adjust
4972         (insertStringAsLines): adjust
4973
4974         * text.C (leftMargin): adjust
4975         (setHeightOfRow): adjust
4976
4977         * rowpainter.C (paintFirst): adjust
4978         (paintLast): adjust
4979
4980         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4981         (outerHook): ditto
4982         (isFirstInSequence): ditto
4983         (getEndLabel): ditto
4984         (outerFont): adjust
4985
4986         * paragraph.C (getParLanguage): comment out some hard stuff.
4987
4988         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4989         (sgmlError): ditto
4990         (simpleDocBookOnePar): ditto
4991         (makeDocBookFile): use ParagraphList::iterator
4992
4993         * CutAndPaste.C (pasteSelection): adjust
4994
4995 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * text2.C (getFont): adjust
4998         (getLayoutFont): adjust
4999         (getLabelFont): adjust
5000
5001         * paragraph_funcs.C (TeXOnePar): adjust
5002
5003         * buffer.C (simpleLinuxDocOnePar): adjust
5004         (simpleDocBookOnePar): adjust
5005
5006         * CutAndPaste.C (pasteSelection): adjust
5007
5008         * BufferView.C (getEncoding): adjust
5009
5010         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5011
5012 2003-04-16  John Levon  <levon@movementarian.org>
5013
5014         * lyxfind.C: use parlist stuff for search/changes
5015
5016 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5019
5020         * text2.C (deleteEmptyParagraphMechanism): adjust
5021
5022         * text2.[Ch] (ownerParagraph): delete func (both of them
5023
5024 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5027
5028 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * ParagraphList.C: prepare for NO_NEXT
5031
5032 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * text2.C (getFont): adjust
5035         (getLayoutFont): adjust
5036         (getLabelFont): adjust
5037
5038         * paragraph.C (getFont): adjust
5039         (getLabelFont): adjust
5040         (getLayoutFont): adjust
5041
5042         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5043
5044 2003-04-15  John Levon  <levon@movementarian.org>
5045
5046         From Angus Leeming
5047
5048         * lyx_main.C: handle Include in .ui files
5049
5050 2003-04-15  John Levon  <levon@movementarian.org>
5051
5052         * MenuBackend.C: make the doc files length shorter
5053
5054         * ToolbarBackend.h:
5055         * ToolbarBackend.C: handle toolbar placement flags,
5056         Minibuffer
5057
5058 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5061         adjust
5062
5063         * paragraph_funcs.C (TeXOnePar): adjust
5064
5065         * paragraph.C (getLabelFont): add outerfont arg, adjust
5066         (getLayoutFont): ditto
5067         (simpleTeXOnePar): adjust
5068
5069         * paragraph_pimpl.C (realizeFont): delete func
5070
5071 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5074         row argument, constify cur argument.
5075
5076 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * text2.C (getFont): adjust
5079         (getLayoutFont): adjust
5080         (getLabelFont): adjust
5081
5082         * paragraph_funcs.C (TeXOnePar): adjust
5083         (outerFont): new func...
5084         (realizeFont): ...moved out from here, changed this to facilitate
5085         transition
5086
5087         * paragraph.C (getFont): take outerfont as arg, adjust
5088         (simpleTeXOnePar): add outerfont arg, adjust
5089
5090         * buffer.C (simpleLinuxDocOnePar): adjust
5091         (simpleDocBookOnePar): adjust
5092
5093         * CutAndPaste.C (pasteSelection): adjust
5094
5095         * BufferView.C (getEncoding): adjust
5096
5097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * text2.C (setCharFont): adjust
5100         (setCounter): adjust
5101
5102         * text.C (leftMargin): adjust
5103         (setHeightOfRow): adjust
5104
5105         * rowpainter.C (paintFirst): adjust
5106         (paintLast): adjust
5107
5108         * paragraph_pimpl.C (realizeFont): adjust
5109
5110         * paragraph.C (isFirstInSequence): move from here...
5111         * paragraph_funcs.C (isFirstInSequence): ...to here
5112
5113         * paragraph.C (outerHook): move from here...
5114         * paragraph_funcs.C (outerHook): ...to here
5115
5116         * paragraph.C (depthHook): move from here...
5117         * paragraph_funcs.C (depthHook): ...to here
5118
5119         * paragraph.C (getEndLabel): move from here...
5120         * paragraph_funcs.C (getEndLabel): ...to here
5121
5122         * text2.C (realizeFont): move from here...
5123         * paragraph_funcs.C (realizeFont): ...to here
5124
5125 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5128
5129 2003-04-14  Angus Leeming  <leeming@lyx.org>
5130
5131         * LColor.[Ch]: scrap LColor mathcursor.
5132
5133 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * lyxlex.[Ch] (text): delete function
5136         * trans.C (Load): adjust
5137         * paragraph_funcs.C (readParToken): adjust
5138
5139 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5142         vector<char> instead of a char[].
5143
5144         * lyxlex_pimpl.C (getString): adjust
5145         (next): adjust
5146         (lex): use getString
5147         (eatLine): adjust
5148         (nextToken): adjust
5149
5150         * lyxlex.C (text): use pimpl_->getString()
5151         (getBool): ditto
5152         (findToken): ditto
5153
5154 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5157         (makeFontEntriesLayoutSpecific): temp var for par.size()
5158         (setLayout): temp var for ownerParagraphs().end()
5159         (fullRebreak): temp var for rows().end()
5160         (selectionAsString): temp var for boost::next(startpit), realize
5161         that the while really is a regular for loop.
5162         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5163         setCursor in one place.
5164         (setParagraph): temp vr for ownerParagraphs().end()
5165         (updateCounters): make the while loop a for loop
5166         (cutSelection): temp var for ownerParagraphs().end()
5167         (updateInset): make the do {} while() a regular for loop
5168         (getCursorX): use temp vars
5169         (setCurrentFont): use temp vars
5170         (getColumnNearX): use temp vars
5171
5172 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * text.C (transformChar): use temp var for getChar
5175         (computeBidiTables): use temp var for row->par()
5176         (fill): move temp vars for row->par() and pit->layout() earlier in
5177         the function.
5178         (labelFill): use temp var for row->par()
5179         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5180         asc and desc, realize that pit never changes and that firstpit is
5181         just a duplicate and not needed. Exchange rit->par() with pit in a
5182         lot of places.
5183         (breakAgain): use a temp var for boost::next(rit)
5184         (breakAgainOneRow): ditto
5185         (breakParagraph): use a temp var for rows().begin()
5186         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5187         (cursorRightOneWord): use temp var for cursor.par() and
5188         cursor.pos(), remove usage of tmpcursor.
5189         (cursorLeftOneWord): use temp var for cursor.par() and
5190         cursor.pos() only set cur at end of function.
5191
5192 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * text.C, text2.C: exchange all usage of Paragraph::next with
5195         boost::next(ParagraphList::iterator)
5196
5197         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5198
5199         * text2.C (cursorTop): simplify implementation
5200         (cursorBottom): ditto
5201         (setParagraph): use ParagraphList::iterator
5202         (setCurrentFont): adjust
5203         (getColumnNearX): adjust
5204         (cursorRight): adjust
5205         (cursorLeft): remove usage of Paragraph::previous
5206         (cursorUpParagraph): ditto
5207         (deleteEmptyParagraphMechanism): slight cleanup
5208
5209         * text.C (isBoundary): take a Paragraph const & instead of a
5210         pointer as arg.
5211         (addressBreakPoint): ditto
5212         (leftMargin): remove usage of Paragraph::previous.
5213         (setHeightOfRow): ditto
5214         (cursorLeftOneWord): ditto
5215         (selectNextWordToSpellcheck): ditto
5216         (Delete): ditto
5217         (backspace): ditto
5218         (breakParagraph): remove one usage of Paragraph::next
5219         (redoParagraph): ditto
5220         (acceptChange): ditto
5221         (insertChar): adjust
5222         (rowBreakPoint): adjust
5223
5224         * bufferview_funcs.C (toggleAndShow): adjust
5225
5226 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5227
5228         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5229         methods to access it.
5230         * lyxtext.h:
5231         * text.C: Added updateRowPositions to compute all row positions.
5232         Make top_y and getRowNearY() to use the cached y position
5233
5234 2003-04-11  John Levon  <levon@movementarian.org>
5235
5236         * text.C (rowBreakPoint): reintroduce the labelEnd
5237         checks, code copied from the row fill stuff. Deep voodoo.
5238
5239         * text.C (fill): add a comment and debugging for the
5240         next poor soul.
5241
5242 2003-04-11  John Levon  <levon@movementarian.org>
5243
5244         * text.C: make sure fullrow insets get wrapped to the next line,
5245         even when they're in a manual label
5246
5247 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * text2.C (insertParagraph): make it take ParagraphList::iterator
5250         as arg.
5251         (setLayout): make it return ParagraphList::iterator
5252         (redoParagraphs): ditto
5253         (setCounter): ditto
5254         (checkParagraph): ditto
5255
5256         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5257
5258         * text2.C: adjust several funcs.
5259         (realizeFont): take a ParagraphList::iterator as arg.
5260         (getLayoutFont): ditto
5261         (getLabelFont): ditto
5262         (setCharFont): ditto
5263
5264         * text.C: adjust several funcs.
5265
5266 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * text.C (selectNextWordToSpellcheck): don't accidentally
5269         skip insets
5270
5271 2003-04-10  John Levon  <levon@movementarian.org>
5272
5273         * ToolbarBackend.C (getIcon): special handling for
5274         LFUN_MATH_DELIM
5275
5276 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * text2.C (cursorRight): a getChar assert fixed
5279
5280 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text2.C (getFont): change to take a ParagraphList::iterator
5283         instead of Paragraph*
5284         Adjust several functions.
5285
5286         * text.C (transformChar): change to take a ParagraphList::iterator
5287         instead of Paragraph*
5288         (singleWidth): ditto
5289         Adjust several functions.
5290
5291         * rowpainter.C: adjust several functions
5292         * rowpainter.h:store a ParagraphList::iterator and not a
5293         Paragraph&.
5294
5295
5296 2003-04-09  John Levon  <levon@movementarian.org>
5297
5298         * lyxfunc.C:
5299         * lfuns.h:
5300         * LyXAction.h:
5301         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5302         and the "help" bits as well
5303
5304 2003-04-09  John Levon  <levon@movementarian.org>
5305
5306         * ToolbarBackend.h:
5307         * ToolbarBackend.C: allow multiple toolbars
5308
5309 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * undo_funcs.C (setCursorParUndo): adjust
5312
5313         * text_funcs.C (transposeChars): adjust
5314
5315         * text3.C (gotoNextInset): adjust
5316         (dispatch): adjust
5317
5318         * text2.C (setLayout): adjust
5319         (changeDepth): adjust
5320         (setFont): adjust
5321         (redoParagraphs): adjust
5322         (selectionAsString): adjust
5323         (setParagraph): adjust
5324         (insertInset): adjust
5325         (cutSelection): adjust
5326         (copySelection): adjust
5327         (pasteSelection): adjust
5328         (insertStringAsLines): adjust
5329         (updateInset): adjust
5330         (setCursor): change to take a ParagraphList::iterator parameter
5331         (setCursorIntern): change to take a ParagraphList::iterator parameter
5332         (setCurrentFont): adjust
5333         (cursorLeft): adjust
5334         (cursorRight): adjust
5335         (deleteEmptyParagraphMechanism): adjust
5336
5337         * text.C (breakParagraph): adjust
5338         (insertChar): adjust
5339         (acceptChange): adjust
5340         (rejectChange): adjust
5341         (selectNextWordToSpellcheck): adjust
5342         (changeCase): adjust
5343         (Delete): adjust
5344         (backspace): adjust
5345
5346         * lyxfind.C (SearchForward): adjust
5347         (SearchBackward): adjust
5348         (nextChange): adjust
5349
5350         * lyxcursor.C (par): adjust
5351
5352         * lyxcursor.h: store a ParagraphList::iterator instead of a
5353         Paragraph*
5354
5355         * lyx_cb.C (getPossibleLabel): adjust
5356
5357         * bufferview_funcs.C (toggleAndShow): adjust
5358
5359         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5360         (dispatch): adjust
5361
5362         * BufferView.C (removeAutoInsets): adjust
5363         (lockedInsetStoreUndo): adjust
5364
5365 2003-04-09  John Levon  <levon@movementarian.org>
5366
5367         * ToolbarBackend.C: try icon without argument
5368         if with argument fails
5369
5370 2003-04-08  John Levon  <levon@movementarian.org>
5371
5372         * ToolbarBackend.h:
5373         * ToolbarBackend.C: add getIcon(), handle tooltip,
5374         and change from "Icon" to "Item".
5375
5376 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * BufferView.C (lockInset): another bad getchar crunched
5379
5380 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5381
5382         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5383         again)
5384
5385 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5386
5387         * lyxfind.C (searchForward, searchBackwards): bug 782
5388
5389 2003-04-07  John Levon  <levon@movementarian.org>
5390
5391         * paragraph.C: remove dead comment
5392
5393         * text.C: remove troublesome depth-fiddling code
5394         in leftMargin() and rightMargin() (bug 1017)
5395
5396         * text.C: fix breaking of rows in nested lists
5397         (bug 1004)
5398
5399         * text2.C (updateCounters): fix up depth values
5400         (bug 1013)
5401
5402 2003-04-07  John Levon  <levon@movementarian.org>
5403
5404         * BufferView_pimpl.C: clear message when doc finishes resizing,
5405         and after a mouse event
5406
5407         * lyxfunc.C: clear message after exiting inset
5408
5409 2003-04-07  John Levon  <levon@movementarian.org>
5410
5411         * bufferview_funcs.C: show math status not outside
5412         status in the statusbar
5413
5414 2003-04-07  John Levon  <levon@movementarian.org>
5415
5416         * lyxfunc.C: note status changed after a depth change
5417
5418 2003-04-04  Angus Leeming  <leeming@lyx.org>
5419
5420         * LaTeX.h: move AuxInfo operator==, != out of line.
5421         Remove LaTeX virtual destructor; nothing derives from it.
5422         Move operator()() out of public area and rename it startscript().
5423         Change protected for private.
5424
5425 2003-04-04  Angus Leeming  <leeming@lyx.org>
5426
5427         * lyxfunc.C:
5428         * text2.C: remove unneeded #includes.
5429
5430 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5431
5432         * text2.C (dEPM): fix the heigth of the next row
5433
5434 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * text.C: squashed an invalid getChar requester + some ws changes
5437
5438 2003-04-03  John Levon  <levon@movementarian.org>
5439
5440         * bufferview_funcs.h:
5441         * bufferview_funcs.C:
5442         * lyxfunc.C:
5443         * lyxtext.h:
5444         * text2.C: make getStatus work for the env depth lfuns
5445
5446 2003-04-03  John Levon  <levon@movementarian.org>
5447
5448         * bufferview_funcs.h:
5449         * bufferview_funcs.C:
5450         * lyxfunc.C:
5451         * lyxtext.h:
5452         * text2.C: parlistize decDepth(), by merging it with incDepth()
5453
5454 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * lyxrow.h: store a ParagraphList::iterator instead of a
5457         Paragraph* and adjust other class functions to suit.
5458
5459         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5460         above.
5461
5462 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5463
5464         * text2.C (setCursor): do not anchor to cursor row for the time being
5465
5466 2003-04-02  John Levon  <levon@movementarian.org>
5467
5468         * LyXAction.C:
5469         * lfuns.h:
5470         * lyx_main.C:
5471         * lyxtext.h:
5472         * text.C:
5473         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5474
5475 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * paragraph.h: make ParagraphList and ParagraphList::iterator
5478         friends of Paragraph.
5479
5480         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5481
5482         * ParagraphList.C: Use the private next_ and previous_ from
5483         Paragraph.
5484
5485 2003-04-01  John Levon  <levon@movementarian.org>
5486
5487         * ToolbarBackend.h:
5488         * ToolbarBackend.C:
5489         * Makefile.am: rename, remove defaults gunk
5490
5491         * MenuBackend.h:
5492         * MenuBackend.C: remove defaults gunk
5493
5494         * Languages.h:
5495         * Languages.C: remove defaults gunk
5496
5497         * lyx_main.h:
5498         * lyx_main.C: error out if files couldn't be found.
5499
5500 2003-04-02  John Levon  <levon@movementarian.org>
5501
5502         * text2.C: make incDepth() use parlist
5503
5504 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * undo_funcs.C (firstUndoParagraph): adjust
5507
5508         * text3.C (gotoInset): adjust
5509         (dispatch): adjust, and rewrite loop.
5510
5511         * text2.C (init): adjust, and rewrite loop.
5512         (redoParagraphs): adjust
5513         (updateInset): adjust, and rewrite loop.
5514         (deleteEmptyParagraphMechanism): adjust
5515
5516         * tabular.C (LyXTabular): adjust
5517         (SetMultiColumn): adjust
5518         (TeXRow): adjust
5519
5520         * lyxtext.[Ch] (ownerParagraph): delete function
5521         (ownerParagraphs): new function returns a ParagraphList.
5522
5523         * BufferView.C (removeAutoInsets): adjust
5524         (insertErrors): adjust
5525         (setCursorFromRow): adjust
5526
5527 2003-04-01  Angus Leeming  <leeming@lyx.org>
5528
5529         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5530         in the frontends.
5531
5532 2003-04-02  John Levon  <levon@movementarian.org>
5533
5534         * lyxtext.h:
5535         * text.C:
5536         * Makefile.am:
5537         * text_funcs.h:
5538         * text_funcs.C: make transposeChars a free function
5539
5540         * lyxrow_funcs.C: remove wrong comment
5541
5542 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * lyxtext.h: adjust
5545         * rowpainter.C: adjust
5546         * text.C: adjust
5547         * text2.C: adjust
5548         * text3.C: adjust
5549
5550         * lyxrow_funcs. [Ch]: new files
5551
5552         * lyxrow.[Ch]: remove next and previous pointers
5553         (next,previous): remove accessor functions
5554         (isParEnd): move to lyxrow_funcs
5555         (lastPos): move to lyxrow_funcs
5556         (nextRowIsAllInset): move to lyxrow_funcs
5557         (lastPrintablePos): move to lyxrow_funcs
5558         (numberOfSeparators): move to lyxrow_funcs
5559         (numberOfHfills): move to lyxrow_funcs
5560         (numberOfLabelHfills): move to lyxrow_funcs
5561         (hfillExpansion): move to lyxrow_funcs
5562
5563         * lyxfunc.C: adjust
5564
5565         * bufferview_funcs.C (toggleAndShow): adjust
5566
5567         * RowList.h: Remove class RowList from file leave just a
5568         std::list<Row>.
5569
5570         * RowList.C: delete file
5571
5572         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5573         and lyxrow_funcs.h
5574
5575 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * text3.C (cursorPrevious): adjust
5578         (cursorNext): adjust
5579         (dispatch): adjust
5580
5581         * text2.C (redoHeightOfParagraph): adjust
5582         (redoDrawingOfParagraph): adjust
5583         (setCursor): adjust
5584
5585         * text.C (breakParagraph): adjust
5586         (insertChar): adjust
5587         (backspace): adjust
5588
5589         * rowpainter.C (RowPainter): adjust
5590         (leftMargin): simplify and adjust
5591         (most rowpainter functions): adjust.
5592
5593         * rowpainter.h: store the row as RowList::iterator not as Row*
5594
5595         * lyxcursor.C (row): taka RowList::iterator as arg
5596         (irow): ditto
5597
5598         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5599         of Row*.
5600
5601 2003-04-01  Angus Leeming  <leeming@lyx.org>
5602
5603         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5604         stuff like bool Bool.
5605
5606 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5607
5608         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5609         rewrite a loop
5610
5611 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5614         RowList::iterator.
5615
5616         * lyxtext.h (rows): drop one version and leve a const variant that
5617         returns a RowList::iterator.
5618
5619 2003-03-31  Angus Leeming  <leeming@lyx.org>
5620
5621         * text.C (fill): ensure that the signature is the same as that in the
5622         header file.
5623
5624 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * text2.C (redoParagraphs): adjust
5627         (updateCounters): adjust
5628         (checkParagraph): adjust
5629         (getColumnNearX): adjust and reformat a bit.
5630
5631         * text.C (top_y): adjust
5632         (workWidth): adjust
5633         (leftMargin): adjust
5634         (prepareToPrint): adjust
5635         (getRow): adjust
5636         (getRowNearY): adjust
5637
5638         * lyxtext.h: make rowlist_ mutable.
5639
5640         * RowList.h: add const_iterator
5641         * RowList.C: adjust for RowList::const_iterator.
5642
5643         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5644         adjust.
5645
5646 2003-03-31  John Levon  <levon@movementarian.org>
5647
5648         * lyxrc.h:
5649         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5650
5651         * lyx_main.C: set default fonts from using lyx_gui funcs
5652
5653         * exporter.C: pdf_mode moved from lyxrc
5654
5655         * lyx_cb.C:
5656         * lyxfunc.C: changes from above
5657
5658 2003-03-31  John Levon  <levon@movementarian.org>
5659
5660         * lyx_main.C: fix to the last fix
5661
5662 2003-03-31  John Levon  <levon@movementarian.org>
5663
5664         * bufferlist.C: "Load original" -> "Load Original"
5665
5666         * converter.C:
5667         * exporter.C:
5668         * importer.C:
5669         * lyx_main.C:
5670         * format.C: more Alert cleanups
5671
5672 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * text2.C (removeParagraph): make it take a RowList::iterator as
5675         arg, adjust.
5676         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5677         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5678
5679         * text.C (anchor_row): make it take a RowList::iterator as arg,
5680         adjust.
5681         (computeBidiTables): make it take a const reference to Row instead
5682         of Row pointer, adjust.
5683         (leftMargin): make it take a RowList::iterator as arg, adjust.
5684         (rowBreakPoint): adjust
5685         (breakAgainOneRow): make it take a RowList::iterator as arg,
5686         adjust.
5687         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5688
5689         * bufferview_funcs.C (toggleAndShow): adjust
5690
5691 2003-03-30  John Levon  <levon@movementarian.org>
5692
5693         * Makefile.am:
5694         * BoostFormat.h:
5695         * boost-inst.C: moved to support
5696
5697         * several files: changes as a result
5698
5699 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * text2.C (LyXText): adjust.
5702         (init): adjust
5703         (removeRow): make it take a RowList::iterator as arg, adjust.
5704         (fullRebreak): adjust
5705         (deleteEmptyParagraphMechanism): adjust
5706         (clearPaint): adjust
5707         (postPaint): adjust
5708
5709         * text.C (top_y): adjust
5710         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5711         (breakAgain): make it take a RowList::iterator as arg, adjust.
5712         (breakParagraph): adjust
5713         (insertChar): adjust
5714         (backspace): adjust
5715
5716         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5717         need_break_row, and refresh_row.
5718
5719         * text3.C (dispatch): adjust
5720
5721         * text2.C (checkParagraph): adjust
5722         (setCursor): adjust
5723         (setCursorFromCoordinates): adjust
5724
5725         * text.C (top_y): adjust
5726         (workWidth): adjust
5727         (getRow): make it return a RowList::iterator, adjust
5728         (getRowNearY): make it return a RowList::iterator, adjust
5729
5730         * text2.C (init): adjust
5731         (insertRow): remove function
5732         (insertParagraph): adjust
5733         (redoParagraphs): adjust
5734         (fullRebreak): adjust
5735         (updateCounters): adjust
5736
5737         * text.C (top_y): rewrite to use RowList iterators.
5738         (top_y): adjust
5739         (setHeightOfRow): rewrite to sue RowList iterators.
5740         (appendParagraph): adjust
5741         (breakAgain): adjust
5742         (breakAgainOneRow): adjust
5743         (breakParagraph): adjust
5744         (getRow): adjust
5745         (getRowNearY): adjust, and remove commented code.
5746
5747         * lyxtext.h (firstRow): delete function
5748         (lastRow): delete function
5749         (rows): new function (const and non-const versions.)
5750         (insertRow): delete function
5751
5752         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5753
5754 2003-03-29  John Levon  <levon@movementarian.org>
5755
5756         * BufferView_pimpl.C: always update scrollbar top
5757         because pasting text when we're anchored could mean we
5758         miss an update altogether
5759
5760 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * text2.C (init): use rowlist_.end() and not 0.
5763         (insertRow): change to take a RowList::iterator as arg, adjust
5764         for this.
5765         (insertParagraph): change to take a RowList::iterator as arg,
5766         adjust for this.
5767         (redoParagraphs): remove some debug msgs.
5768
5769         * text.C (appendParagraph): change to take a RowList::iterator
5770         arg, adjust for this.
5771         (breakAgain): add an assert
5772         (breakAgainOneRow): ditto
5773
5774 2003-03-29  John Levon  <levon@movementarian.org>
5775
5776         * text2.C: do not clear selection after inc/decDepth
5777         (bug 550)
5778
5779 2003-03-29  John Levon  <levon@movementarian.org>
5780
5781         * BufferView.C:
5782         * buffer.C: fix broken strerrors according to Lars
5783
5784 2003-03-29  John Levon  <levon@movementarian.org>
5785
5786         * converters.C: more Alert cleanups
5787
5788 2003-03-29  John Levon  <levon@movementarian.org>
5789
5790         * bufferview_funcs.C: remove pointless Alert
5791
5792         * buffer.C: fix confusing error message when
5793         a template is chmoded 000
5794
5795 2003-03-29  John Levon  <levon@movementarian.org>
5796
5797         * BufferView.C:
5798         * BufferView.h:
5799         * BufferView_pimpl.C: Alert fixes
5800
5801         * Makefile.am:
5802         * tabular.C:
5803         * tabular-old.C: remove unused table compat reading
5804
5805 2003-03-29  John Levon  <levon@movementarian.org>
5806
5807         * BufferView.C:
5808         * buffer.C:
5809         * lyx_cb.h:
5810         * lyx_cb.C: more Alert cleanups
5811
5812         * lyxfunc.C: don't allow chktex if not latex document
5813
5814 2003-03-29  John Levon  <levon@movementarian.org>
5815
5816         * lyx_cb.C:
5817         * BufferView.C:
5818         * buffer.C: warnings pushed down from support/,
5819         kill err_alert
5820
5821 2003-03-29  John Levon  <levon@movementarian.org>
5822
5823         * lyxfunc.C: safety check for C-r (revert)
5824
5825 2003-03-29  John Levon  <levon@movementarian.org>
5826
5827         * bufferlist.h:
5828         * bufferlist.C: several UI fixes using Alert::prompt.
5829         Fix the pointless looping quit code. Fix stupid revert
5830         behaviour (bug 938)
5831
5832         * lyxvc.h:
5833         * lyxvc.C:
5834         * lyx_cb.C: use Alert::prompt
5835
5836         * lyx_main.C: remove a silly question
5837
5838         * lyxfunc.C: remove a couple of silly questions,
5839         use Alert::prompt
5840
5841 2003-03-28  John Levon  <levon@movementarian.org>
5842
5843         * text2.C: fix bug 974 (End on empty par)
5844
5845 2003-03-28  John Levon  <levon@movementarian.org>
5846
5847         * BufferView_pimpl.C:
5848         * LyXAction.C:
5849         * lfuns.h: remove do-nothing math greek lfuns
5850
5851 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * lyxgluelength.h (isValidGlueLength): add default arg on
5854         parameter 2. Remove default arg from friend in class.
5855
5856         * lyxlength.h (isValidLength): add default arg on parameter 2.
5857         Remove default arg from friend in class.
5858
5859         * text2.C (LyXText): adjust, initialize refresh_row.
5860         (init): adjust
5861         (removeRow): adjust
5862         (insertRow): adjust
5863         (insertParagraph): adjst
5864         (redoParagraphs): adjust
5865         (fullRebreak): adjust
5866         (updateCounters): adjust
5867         (deleteEmptyParagraphMechanism): first attempt at fixing a
5868         crashing bug.
5869
5870         * text.C (top_y): adjust
5871         (setHeightOfRow): adjust
5872         (getRow): adjust
5873         (getRowNearY): adjust
5874
5875         * lyxtext.h: include RowList.h
5876         (~LyXText): not needed anymore, deleted.
5877         (firstRow): modify for RowList
5878         (lastRow): new function
5879         Delete firstrow and lastrow class variables, add a Rowlist
5880         rowlist_ class variable.
5881
5882         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5883         paragraph is empty.
5884
5885         * RowList.C (insert): fix case where it == begin().
5886
5887 2003-03-26  Angus Leeming  <leeming@lyx.org>
5888
5889         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5890         the thesaurus dialog.
5891
5892 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5895
5896         * RowList.[Ch]: new files
5897
5898         * ParagraphList.C (erase): handle the case where it == begin
5899         correctly.
5900
5901 2003-03-25  John Levon  <levon@movementarian.org>
5902
5903         * Makefile.am:
5904         * aspell_local.h:
5905         * aspell.C: add new aspell support
5906
5907         * lyxrc.h:
5908         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5909         have it accessible.
5910
5911 2003-03-25  Angus Leeming  <leeming@lyx.org>
5912
5913         * lfuns.h:
5914         * LyXAction.C (init): new LFUN_INSET_INSERT.
5915
5916         * BufferView_pimpl.C (dispatch): split out part of the
5917         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5918
5919         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5920         LFUN_INSET_APPLY.
5921
5922 2003-03-25  Angus Leeming  <leeming@lyx.org>
5923
5924         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5925
5926 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * text2.C:
5929         * text3.C: remove useless row->height(0)
5930
5931 2003-03-25  John Levon  <levon@movementarian.org>
5932
5933         * lyxtext.h:
5934         * text2.C:
5935         * text3.C: rename the refreshing stuff to better names
5936
5937 2003-03-24  John Levon  <levon@movementarian.org>
5938
5939         * BufferView_pimpl.h:
5940         * BufferView_pimpl.C: update layout choice on a mouse
5941         press/release
5942
5943 2003-03-23  John Levon  <levon@movementarian.org>
5944
5945         * Makefile.am: fix commandtags.h reference
5946
5947 2003-03-22  John Levon  <levon@movementarian.org>
5948
5949         * BufferView_pimpl.C:
5950         * lyxtext.h:
5951         * rowpainter.C:
5952         * rowpainter.h:
5953         * text.C:
5954         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5955
5956 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * lyxtext.h:
5959         * text.C: take the rtl methods out of line
5960
5961 2003-03-21 André Pönitz <poenitz@gmx.net>
5962
5963         * metricsinfo.[Ch]: new files containing structures to be passed around
5964         during the two-phase-drawing...
5965
5966 2003-03-21 André Pönitz <poenitz@gmx.net>
5967
5968         * lyxtextclass.C: read 'environment' tag.
5969
5970 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * text2.C (removeRow): fix bug 964
5973
5974 2003-03-20  John Levon  <levon@movementarian.org>
5975
5976         * rowpainter.C:
5977         * text.C:
5978         * text2.C: paint cleanups. Inset::update() dropped font
5979         parameter
5980
5981 2003-03-19  John Levon  <levon@movementarian.org>
5982
5983         * lyxfunc.C: only fitcursor/markDirty if available()
5984
5985 2003-03-19  John Levon  <levon@movementarian.org>
5986
5987         * commandtags.h: rename to ...
5988
5989         * lfuns.h: ... this, and renumber / cleanup
5990
5991 2003-03-19  John Levon  <levon@movementarian.org>
5992
5993         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5994         fit the cursor after an lfun
5995
5996         * BufferView.h:
5997         * BufferView.C:
5998         * BufferView_pimpl.h:
5999         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6000
6001         * LyXAction.C: layout-character should have ReadOnly
6002
6003         * ParagraphParameters.C:
6004         * buffer.C:
6005         * bufferview_funcs.C:
6006         * lyx_cb.C:
6007         * lyxfind.C:
6008         * lyxtext.h:
6009         * text.C:
6010         * text2.C:
6011         * text3.C:
6012         * undo_funcs.C: changes from above
6013
6014 2003-03-18  John Levon  <levon@movementarian.org>
6015
6016         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6017         remove it from update()
6018
6019         * lyxfunc.C: update layout choice after an lfun
6020
6021         * text3.C: remove extra updateLayoutChoice()s
6022
6023 2003-03-18  John Levon  <levon@movementarian.org>
6024
6025         * text.C: top_y change means full repaint, fix
6026         a drawing bug with cursor movement
6027
6028 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6029
6030         * lyxtext.h:
6031         * text.C:
6032         * text2.C: anchor row on setCursor
6033
6034 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6035
6036         * lyxtext.h: remove almost all mutable keywords
6037         * text.C:
6038         * text2.C:
6039         * text3.C: remove const keywords accordingly
6040
6041 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6044         anon namespace
6045         (TeXEnvironment): ditto
6046         (TeXOnePar): ditto
6047
6048 2003-03-17  John Levon  <levon@movementarian.org>
6049
6050         * text.C (rowBreakPoint): remove attempt to fix displayed
6051         math insets inside a manual label
6052
6053 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * lyxtext.h: remove BufferView* as first arg from almost all class
6056         functions.
6057         * other files: adjust.
6058
6059 2003-03-17  John Levon  <levon@movementarian.org>
6060
6061         * lyxtext.h:
6062         * undo_funcs.C:
6063         * text2.C: more paint cleanups
6064
6065         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6066
6067         * rowpainter.h:
6068         * rowpainter.C: remove "smart" background painting code
6069
6070 2003-03-16  John Levon  <levon@movementarian.org>
6071
6072         * lyxtext.h:
6073         * text.C:
6074         * text2.C:
6075         * text3.C: add helper functions for setting refresh_row/y
6076
6077 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6078
6079         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6080         newline inset which *can* get inserted in the pass_thru layouts.
6081         This is primarily for literate documents.
6082
6083 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6084
6085         * buffer.C: increment LYX_FORMAT to 223
6086
6087 2003-03-14 André Pönitz <poenitz@gmx.net>
6088
6089         * textclass.h: prepare for environment handling, ws changes
6090         * lyxlayout.C: read latexheader and latexfooter tags
6091
6092 2003-03-14  John Levon  <levon@movementarian.org>
6093
6094         * text2.C: rewrite ::status() a bit
6095
6096 2003-03-13  John Levon  <levon@movementarian.org>
6097
6098         * lyxtext.h: add some docs
6099
6100 2003-03-13  John Levon  <levon@movementarian.org>
6101
6102         * lyxtext.h:
6103         * text.C:
6104         * text2.C:
6105         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6106
6107 2003-03-13  John Levon  <levon@movementarian.org>
6108
6109         * text3.C: fix appendix redrawing
6110
6111 2003-03-13  John Levon  <levon@movementarian.org>
6112
6113         * text.C (setHeightOfRow):
6114         * rowpainter.h:
6115         * rowpainter.C: make appendix mark have the text
6116           "Appendix" so the user knows what it is
6117
6118         * LColor.h:
6119         * LColor.C: s/appendixline/appendix/ from above
6120
6121 2003-03-13  John Levon  <levon@movementarian.org>
6122
6123         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6124
6125         * text.C: fix a getChar(pos) bug properly
6126
6127 2003-03-13  Angus Leeming  <leeming@lyx.org>
6128
6129         * commandtags.h:
6130         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6131         Probably only temporary. Let's see how things pan out.
6132
6133         * BufferView.C (unlockInset):
6134         * BufferView_pimpl.C (fitCursor):
6135         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6136
6137         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6138         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6139
6140         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6141         new functions that convert ParagraphParameters to and from a string.
6142
6143         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6144         BufferView::Pimpl's dispatch.
6145         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6146
6147 2003-03-13 André Pönitz <poenitz@gmx.net>
6148
6149         * lyxfunc.C:
6150         * text3.C:
6151         * factory.C: make it aware of InsetEnv
6152
6153 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * text2.C (setCursor): never ask for one past last
6156         (setCursor): add some debugging messages.
6157
6158         * text.C (singleWidth): never ask for one past last
6159         (singleWidth): ditto
6160         (leftMargin): ditto
6161         (rightMargin): ditto
6162         (rowBreakPoint): ditto
6163         (setHeightOfRow): ditto
6164         (prepareToPrint): ditto
6165
6166         * rowpainter.C (paintBackground): never ask for one past last
6167         (paintText): never ask for one past last
6168
6169         * paragraph_pimpl.C (getChar): make the assert stricter, never
6170         allow the one past last pos to be taken
6171
6172         * paragraph.C (getChar): ws changes only
6173
6174         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6175         (numberOfSeparators): ditto
6176         (numberOfHfills): ditto
6177
6178 2003-03-12  John Levon  <levon@movementarian.org>
6179
6180         * author.h:
6181         * author.C:
6182         * bufferparams.h:
6183         * bufferparams.C:
6184         * paragraph_funcs.C: fix per-buffer authorlists
6185
6186 2003-03-12  John Levon  <levon@movementarian.org>
6187
6188         * text.C: fix newline in right address
6189
6190 2003-03-12  Angus Leeming  <leeming@lyx.org>
6191
6192         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6193         duplicate those in LyXFunc::dispatch.
6194
6195         * commandtags.h:
6196         * LyXAction.C:
6197         * ToolbarDefaults.C:
6198         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6199         Add LFUN_FONTFREE_UPDATE.
6200
6201         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6202         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6203
6204         * bufferview_func.[Ch]: several new functions to facilliate
6205         transfer of data to and from the character dialog.
6206
6207 2003-03-12  John Levon  <levon@movementarian.org>
6208
6209         * buffer.C:
6210         * paragraph.h:
6211         * paragraph.C:
6212         * paragraph_funcs.C:
6213         * paragraph_pimpl.C:
6214         * sgml.C:
6215         * tabular.C:
6216         * text.C:
6217         * text3.C: remove META_NEWLINE in favour of an inset
6218
6219         * rowpainter.h:
6220         * rowpainter.C: remove paintNewline (done by inset)
6221
6222 2003-03-12  John Levon  <levon@movementarian.org>
6223
6224         * paragraph_pimpl.C: complain about bad getChar()s
6225         for a while at least
6226
6227 2003-03-12  John Levon  <levon@movementarian.org>
6228
6229         * buffer.h:
6230         * buffer.C: move paragraph read into a separate function,
6231         a little renaming to reflect that.
6232
6233         * bufferparams.h:
6234         * bufferparams.C: remove the author_ids map, not necessary now
6235
6236         * factory.h:
6237         * factory.C: moved Buffer::readInset to here
6238
6239         * paragraph_funcs.h:
6240         * paragraph_funcs.C: readParagraph free function moved from
6241         buffer.C
6242
6243         * tabular.C: name change
6244
6245 2003-03-12  John Levon  <levon@movementarian.org>
6246
6247         * buffer.C:
6248         * ParagraphParameters.C: move par params input to
6249         a read() method
6250
6251         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6252         behave like a normal read from the stream wrt reading
6253         a line vs. a \\token
6254
6255 2003-03-12  John Levon  <levon@movementarian.org>
6256
6257         * paragraph.C:
6258         * ParagraphParameters.h:
6259         * ParagraphParameters.C: move output code to a
6260         ::write() method
6261
6262 2003-03-12  John Levon  <levon@movementarian.org>
6263
6264         * BufferView.C (insertLyXFile):
6265         * buffer.h:
6266         * buffer.C:
6267         * tabular.C: use a parlist iterator for creating the
6268           document.
6269
6270 2003-03-12  John Levon  <levon@movementarian.org>
6271
6272         * buffer.C: make current_change static local not
6273           static file-scope
6274
6275 2003-03-12  John Levon  <levon@movementarian.org>
6276
6277         * buffer.C: fix insertStringAsLines for change tracking
6278
6279 2003-03-12  John Levon  <levon@movementarian.org>
6280
6281         * BufferView.C:
6282         * tabular.C:
6283         * buffer.h:
6284         * buffer.C:
6285         * bufferparams.h:
6286         * bufferparams.C: move author list into params. Rename some
6287           functions. Move the header reading into a separate token
6288           loop. Move the header token reading into BufferParams.
6289
6290 2003-03-12  John Levon  <levon@movementarian.org>
6291
6292         * changes.C: put debug inside lyxerr.debugging() checks
6293
6294 2003-03-11 André Pönitz <poenitz@gmx.net>
6295
6296         * factory.C: make it aware of InsetHFill
6297
6298 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6299
6300         * buffer.C (latexParagraphs): move function from here...
6301         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6302         args.
6303
6304 2003-03-10  Angus Leeming  <leeming@lyx.org>
6305
6306         * LyXAction.C (init): fix bug in poplating array with multiple entries
6307         with the same LFUN (spotted by JMarc).
6308
6309 2003-03-10  John Levon  <levon@movementarian.org>
6310
6311         * text.C:
6312         * text2.C: move getColumnNearX() near its
6313         only call site
6314
6315 2003-03-10  John Levon  <levon@movementarian.org>
6316
6317         * text.C: fix break before a minipage
6318
6319 2003-03-10  John Levon  <levon@movementarian.org>
6320
6321         * text.C: fix the last commit
6322
6323 2003-03-09  John Levon  <levon@movementarian.org>
6324
6325         * lyxtext.h:
6326         * text.C:
6327         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6328         bug 365 (don't break before insets unless needed). Don't
6329         return a value > last under any circumstances.
6330
6331 2003-03-09  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.C (trackChanges, dispatch): call
6334         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6335
6336 2003-03-09  Angus Leeming  <leeming@lyx.org>
6337
6338         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6339         than Dialogs::showAboutlyx().
6340
6341 2003-03-09  Angus Leeming  <leeming@lyx.org>
6342
6343         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6344         than Dialogs::showTabularCreate().
6345
6346 2003-03-09  John Levon  <levon@movementarian.org>
6347
6348         * lyxtext.h:
6349         * text.C:
6350         * text2.C: 3rd arg to nextBreakPoint was always the same.
6351           Use references.
6352
6353 2003-03-08  John Levon  <levon@movementarian.org>
6354
6355         * lyxrow.C:
6356         * paragraph.C:
6357         * paragraph.h:
6358         * rowpainter.C:
6359         * text.C:
6360         * text2.C: Remove the "main" bit from the "main body"
6361           notion.
6362
6363 2003-03-08  John Levon  <levon@movementarian.org>
6364
6365         * text.C (leftMargin): The left margin of an empty
6366         manual label paragraph should not include the label width
6367         string length.
6368
6369         * text.C (prepareToPrint): don't attempt to measure hfills
6370         for empty manual label paragraphs - the answer should be 0
6371
6372 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * CutAndPaste.C: remove commented code and reindent.
6375
6376 2003-03-08  John Levon  <levon@movementarian.org>
6377
6378         * lyxfunc.h:
6379         * lyxfunc.C: move reloadBuffer()
6380
6381         * BufferView.h:
6382         * BufferView.C: to here
6383
6384         * lyxvc.C: add comment
6385
6386         * vc-backend.h:
6387         * vc-backend.C: call bv->reload() to avoid
6388           getStatus() check on MENURELOAD
6389
6390 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6391
6392         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6393         to an old format .dep file.
6394
6395 2003-03-07  Angus Leeming  <leeming@lyx.org>
6396
6397         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6398         when the LFUN_MOUSE_RELEASE should have been handled by
6399         inset->localDispatch.
6400
6401 2003-03-07  Angus Leeming  <leeming@lyx.org>
6402
6403         * BufferView_pimpl.C (dispatch):
6404         * LyXAction.C (init):
6405         * ToolbarDefaults.C (init):
6406         * commandtags.h:
6407         * lyxfunc.C (getStatus):
6408         remove LFUN_INSET_GRAPHICS.
6409
6410         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6411
6412 2003-03-07  Angus Leeming  <leeming@lyx.org>
6413
6414         * commandtags.h:
6415         * LyXAction.C (init):
6416         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6417
6418         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6419
6420         * commandtags.h:
6421         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6422
6423         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6424         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6425
6426 2003-03-07  Angus Leeming  <leeming@lyx.org>
6427
6428         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6429         remove "ert".
6430
6431 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6432
6433         * ParagraphList.C (front): new function
6434         (back): implement
6435
6436 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6439         and top_row_offset_. removed var first_y.
6440         * text.C (top_y):
6441         * text2.C (LyXText, removeRow):
6442         * text3.C:
6443         * BufferView_pimpl.C:
6444         use these methods instead of using first_y
6445
6446 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * text2.C (pasteSelection): adjust for checkPastePossible
6449
6450         * CutAndPaste.C: remove Paragraph * buf and replace with
6451         ParagraphList paragraphs.
6452         (DeleteBuffer): delete
6453         (cutSelection): change the tc type to textclass_type
6454         (copySelection): change the tc type to textclass_type
6455         (copySelection): adjust for ParagraphList
6456         (pasteSelection): change the tc type to textclass_type
6457         (pasteSelection): adjust for Paragraphlist
6458         (nrOfParagraphs): simplify for ParagraphList
6459         (checkPastePossible): simplify for ParagraphList
6460         (checkPastePossible): remove unused arg
6461
6462         * ParagraphList.C (insert): handle the case where there are no
6463         paragraphs yet.
6464
6465         * CutAndPaste.h: make CutAndPaste a namespace.
6466
6467         * text3.C (dispatch): adjust
6468
6469         * text.C (breakParagraph): add a ParagraphList as arg
6470
6471         * paragraph_funcs.C (breakParagraph): change to take a
6472         BufferParams and a ParagraphList as args.
6473         (breakParagraphConservative): ditto
6474         (mergeParagraph): ditto
6475         (TeXDeeper): add a ParagraphList arg
6476         (TeXEnvironment): ditto
6477         (TeXOnePar): ditto
6478
6479         * buffer.C (readLyXformat2): adjust
6480         (insertStringAsLines): adjust
6481         (latexParagraphs): adjust
6482
6483         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6484         (cutSelection): adjust
6485         (pasteSelection): adjust
6486
6487         * BufferView_pimpl.C (insertInset): adjust
6488
6489 2003-03-05  Angus Leeming  <leeming@lyx.org>
6490
6491         * commandtags.h:
6492         * LyXAction.C (init):
6493         * BufferView_pimpl.C (dispatch):
6494         * lyxfunc.C (getStatus):
6495         remove LFUN_CHILD_INSERT.
6496
6497         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6498
6499 2003-03-05  Angus Leeming  <leeming@lyx.org>
6500
6501         * commandtags.h:
6502         * LyXAction.C (init):
6503         * src/factory.C (createInset):
6504         * lyxfunc.C (getStatus):
6505         * text3.C (dispatch):
6506         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6507
6508         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6509
6510 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * ParagraphList.C (insert): handle insert right before end()
6513         (erase): fix cases where it can be first or last paragraph.
6514
6515 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6518         Paragraph::next and Paragraph::previous
6519         (TeXOnePar): ditto
6520
6521         * text.C (breakParagraph): adjust
6522
6523         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6524         BufferParams& as arg.
6525         (breakParagraph): use ParagraphList::insert
6526         (breakParagraphConservative): take a Buffer* instead of a
6527         BufferParams& as arg.
6528         (breakParagraphConservative): use ParagraphList::insert.
6529
6530         * buffer.C (insertStringAsLines): un-const it
6531         (insertStringAsLines): adjust
6532
6533         * ParagraphList.C (insert): new function
6534
6535         * CutAndPaste.C (pasteSelection): adjust
6536
6537         * text.C (backspace): adjust
6538
6539         * tabular.C (SetMultiColumn): adjust
6540
6541         * CutAndPaste.C (cutSelection): adjust
6542         (pasteSelection): adjust
6543
6544         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6545         Buffer const * as arg
6546
6547         * ParagraphList.C (erase): new function
6548         * paragraph_funcs.C (mergeParagraph): use it
6549         (mergeParagraph): make it take a Buffer* instead of a
6550         BufferParams* as arg
6551
6552         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6553         as arg
6554         (breakParagraphConservative): ditto
6555
6556         * paragraph.h: remove the breakParagraph friend
6557
6558         * paragraph.C (eraseIntern): new function
6559         (setChange): new function
6560
6561         * paragraph_funcs.C (mergeParagraph): make it take a
6562         ParagraphList::iterator instead of a Paragraph *, adjust
6563         accordingly.
6564
6565         * paragraph.h: move an #endif so that the change tracking stuff
6566         also works in the NO_NEXT case.
6567
6568 2003-03-04  Angus Leeming  <leeming@lyx.org>
6569
6570         * commandtags.h:
6571         * LyXAction.C: new LFUN_INSET_MODIFY.
6572
6573         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6574         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6575
6576 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * several files: ws changes only
6579
6580         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6581         (TeXEnvironment): ditto
6582         (TeXDeeper): ditto
6583
6584         * buffer.C (makeLaTeXFile): adjust
6585         (latexParagraphs): make it take ParagraphList::iterator as args
6586
6587 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * buffer.C (latexParagraphs): adjust
6590
6591         * paragraph.C (TeXOnePar): move function...
6592         (optArgInset): move function...
6593         (TeXEnvironment): move function...
6594         * paragraph_pimpl.C (TeXDeeper): move function...
6595         * paragraph_funcs.C: ...here
6596
6597         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6598
6599 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * buffer.C (readInset): remove compability code for old Figure and
6602         InsetInfo insets
6603
6604 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * buffer.C: ws changes
6607         (readInset):
6608
6609         * BufferView_pimpl.C: ditto
6610         * author.C: ditto
6611         * buffer.h: ditto
6612         * bufferlist.h: ditto
6613         * changes.h: ditto
6614         * lyxfunc.C: ditto
6615
6616 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6617
6618         * converter.[Ch]: split into itself +
6619         * graph.[Ch]
6620         * format.[Ch]
6621         * Makefile.am: += graph.[Ch] + format.[Ch]
6622         * MenuBackend.C
6623         * buffer.C
6624         * exporter.C
6625         * importer.C
6626         * lyx_main.C
6627         * lyxfunc.C
6628         * lyxrc.C: added #include "format.h"
6629
6630 2003-02-27  Angus Leeming  <leeming@lyx.org>
6631
6632         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6633           a label.
6634
6635         * factory.C (createInset): add "label" to the factory.
6636
6637         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6638           string and do no more.
6639
6640 2003-02-27  Angus Leeming  <leeming@lyx.org>
6641
6642         * commandtags.h:
6643         * LyXAction.C (init):
6644         * factory.C (createInset):
6645         * BufferView_pimpl.C (dispatch):
6646           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6647
6648         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6649
6650         * lyxfunc.C (dispatch):
6651         * text3.C (dispatch): pass name to params2string.
6652
6653 2003-02-26  Angus Leeming  <leeming@lyx.org>
6654
6655         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6656           blocks together.
6657           Rearrange the ~includes. Strip out the unnecessary ones.
6658
6659         * factory.C (createInset): reformat.
6660           create new insets for the various LFUN_XYZ_APPLY lfuns.
6661
6662 2003-02-26  John Levon  <levon@movementarian.org>
6663
6664         * lyxrow.h:
6665         * lyxrow.C: add isParStart,isParEnd helpers
6666
6667         * paragraph.h: make isInserted/DeletedText take refs
6668
6669         * paragraph_funcs.h:
6670         * paragraph_funcs.C: remove #if 0'd code
6671
6672         * lyxtext.h:
6673         * text3.C:
6674         * text2.C:
6675         * text.C: use lyxrow helpers above.
6676           Move draw and paint routines to RowPainter.
6677           Make several methods use refs not pointers.
6678           Make backgroundColor() const.
6679           Add markChangeInDraw(), isInInset().
6680           Merge changeRegionCase into changeCase.
6681           Make workWidth() shouldn't-happen code into an Assert.
6682
6683         * rowpainter.h:
6684         * rowpainter.C: new class for painting a row.
6685
6686         * vspace.h:
6687         * vspace.C: make inPixels take a ref
6688
6689 2003-02-26  Angus Leeming  <leeming@lyx.org>
6690
6691         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6692         LFUN_REF_APPLY.
6693
6694 2003-02-25  John Levon  <levon@movementarian.org>
6695
6696         * ispell.C: give the forked command a more accurate name
6697
6698 2003-02-22  John Levon  <levon@movementarian.org>
6699
6700         * toc.h:
6701         * toc.C: make TocItem store an id not a Paragraph *
6702           (bug #913)
6703
6704 2003-02-21  Angus Leeming  <leeming@lyx.org>
6705
6706         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6707           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6708           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6709           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6710           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6711           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6712
6713         * BufferView_pimpl.C (dispatch):
6714         * LyXAction.C (init):
6715         * factory.C (createInset):
6716         * lyxfunc.C (getStatus, dispatch):
6717         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6718
6719 2003-02-21  Angus Leeming  <leeming@lyx.org>
6720
6721         * BufferView_pimpl.C (MenuInsertLyXFile):
6722         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6723         * lyxfunc.C (menuNew, open, doImport):
6724           no longer pass a LyXView & to fileDlg.
6725
6726 2003-02-21  Angus Leeming  <leeming@lyx.org>
6727
6728         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6729         * LyXAction.C: change, BIBKEY to BIBITEM.
6730         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6731         Change InsetBibKey to InsetBibitem.
6732         Change BIBKEY_CODE to BIBITEM_CODE.
6733         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6734         * factory.C: replace insetbib.h with insetbibitem.h.
6735         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6736         * paragraph.C: replace insetbib.h with insetbibitem.h.
6737         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6738         Change bibkey() to bibitem().
6739         * text.C: remove insetbib.h.
6740         * text2.C: replace insetbib.h with insetbibitem.h.
6741         change bibkey() to bibitem().
6742         * text3.C: remove insetbib.h.
6743         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6744
6745 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6746
6747         * lyxrc.C (output): enclose user email in quotes (in case there are
6748         several words)
6749
6750 2003-02-18  John Levon  <levon@movementarian.org>
6751
6752         * buffer.h: add std::
6753
6754 2003-02-17  John Levon  <levon@movementarian.org>
6755
6756         * SpellBase.h:
6757         * ispell.h:
6758         * ispell.C:
6759         * pspell.h:
6760         * pspell.C: reworking. Especially in ispell, a large
6761           number of clean ups and bug fixes.
6762
6763         * lyxfunc.C: fix revert to behave sensibly
6764
6765 2003-02-17 André Pönitz <poenitz@gmx.net>
6766
6767         * LyXAction.C:
6768         * commandtags.h: new LFUN_INSERT_BIBKEY
6769
6770         * layout.h:
6771         * lyxlayout.C:
6772         * buffer.C:
6773         * factory.C:
6774         * text.C:
6775         * text2.C:
6776         * text3.C:
6777         * paragraph.[Ch]:
6778         * paragraph_func.C: remove special bibkey handling
6779
6780 2003-02-17  John Levon  <levon@movementarian.org>
6781
6782         * text.C (Delete): fix case where delete at the end of
6783           the very first paragraph would not merge the pars
6784
6785 2003-02-17  John Levon  <levon@movementarian.org>
6786
6787         * lyxrow.C: fix lastPrintablePos()
6788
6789 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6790
6791         * bufferparams.C (writeLaTeX): add a std:here
6792
6793         * buffer.C: and remove a using directive there
6794
6795 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6796
6797         * buffer.C (makeLaTeXFile): move the code that generates the
6798           preamble...
6799
6800         * bufferparams.C (writeLaTeX): ... in this new method
6801
6802         * LaTeXFeatures.C (getEncodingSet): make const
6803           (getLanguages): make const
6804
6805         * MenuBackend.C (binding): returns the binding associated to this
6806           action
6807           (add): sets the status of each item by calling getStatus. Adds
6808           some intelligence.
6809           (read): add support for OptSubMenu
6810           (expand): remove extra separator at the end of expanded menu
6811
6812 2003-02-15  John Levon  <levon@movementarian.org>
6813
6814         * BufferView.C:
6815         * BufferView_pimpl.C:
6816         * bufferlist.h:
6817         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6818           inset code that had no actual effect. Remove unneeded status
6819           code.
6820
6821 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6822
6823         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6824           in preamble
6825
6826 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6827
6828         * text.C (drawLengthMarker): also draw an arrow marker for
6829           symbolic lengths (medskip...)
6830
6831 2003-02-14  John Levon  <levon@movementarian.org>
6832
6833         * tabular.h:
6834         * tabular.C: better method names
6835
6836 2003-02-14  John Levon  <levon@movementarian.org>
6837
6838         * BufferView_pimpl.C:
6839         * bufferlist.C:
6840         * buffer.C:
6841         * converter.C:
6842         * lyx_cb.C:
6843         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6844           it's a more accurate name. Remove some pointless uses.
6845
6846 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6847
6848         * text2.C (LyXText): change order of initilizers to shut off
6849           warnings
6850
6851 2003-02-14  John Levon  <levon@movementarian.org>
6852
6853         * buffer.C: use ParIterator for getParFromID()
6854
6855         * paragraph.h:
6856         * paragraph.C:
6857         * paragraph_pimpl.h:
6858         * paragraph_pimpl.C: remove unused getParFromID()
6859
6860 2003-02-14  John Levon  <levon@movementarian.org>
6861
6862         * buffer.C: remove some very old #if 0'd parse code
6863
6864 2003-02-13  John Levon  <levon@movementarian.org>
6865
6866         * text.h:
6867         * text.C:
6868         * text2.C: move hfillExpansion(), numberOfSeparators(),
6869           rowLast(), rowLastPrintable(), numberofHfills(),
6870           numberOfLabelHfills() ...
6871
6872         * lyxrow.h:
6873         * lyxrow.C: ... to member functions here.
6874
6875         * paragraph.h:
6876         * paragraph.C:
6877         * lyxtext.h:
6878         * text.C: remove LyXText::beginningOfMainBody(), and call
6879           p->beginningOfMainBody() directly. Move the check for
6880           LABEL_MANUAL into the latter.
6881
6882         * text.h:
6883         * text.C:
6884         * text2.C:
6885         * vspace.C:
6886         * BufferView.h:
6887         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6888
6889         * text.h:
6890         * text.C:
6891         * text2.C:
6892         * text3.C:
6893         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6894           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6895
6896 2003-02-13  John Levon  <levon@movementarian.org>
6897
6898         * CutAndPaste.C: remove debug
6899
6900 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6901
6902         * paragraph.C (asString): remove two unused variables
6903
6904         * lyxtextclass.C (readTitleType):
6905           (Read):
6906           (LyXTextClass): handle new members titletype_ and titlename_
6907
6908         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6909
6910 2003-02-09  John Levon  <levon@movementarian.org>
6911
6912         * buffer.h:
6913         * buffer.C: replace hand-coded list with a map for the dep clean
6914
6915 2003-02-08  John Levon  <levon@movementarian.org>
6916
6917         * LaTeX.C: consolidate code into showRunMessage() helper
6918
6919 2003-02-08  John Levon  <levon@movementarian.org>
6920
6921         * lyxfind.C:
6922         * lyxtext.h:
6923         * text2.C:
6924         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6925           and pass the size in explicitly
6926
6927         * BufferView_pimpl.h:
6928         * BufferView_pimpl.C:
6929         * BufferView.h:
6930         * BufferView.C: add getCurrentChange()
6931
6932         * BufferView_pimpl.h:
6933         * BufferView_pimpl.C: handle change lfuns
6934
6935         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6936           for changes. Mark pasted paragraphs as new.
6937
6938         * support/lyxtime.h:
6939         * support/lyxtime.C:
6940         * DepTable.C: abstract time_t as lyx::time_type
6941
6942         * LColor.h:
6943         * LColor.C: add colours for new text, deleted text, changebars
6944
6945         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6946           package use "usenames" option.
6947
6948         * commandtags.h:
6949         * lyxfunc.C:
6950         * LyXAction.C: add change lfuns
6951
6952         * Makefile.am:
6953         * author.h:
6954         * author.C: author handling
6955
6956         * buffer.h:
6957         * buffer.C: add a per-buffer author list, with first entry as
6958           current author. Handle new .lyx tokens for change tracking. Output
6959           author list to .lyx file. Output dvipost stuff to .tex preamble.
6960           Bump lyx format to 222.
6961
6962         * bufferlist.h:
6963         * bufferlist.C: add setCurrentAuthor() to reset current author details
6964           in all buffers.
6965
6966         * bufferparams.h:
6967         * bufferparams.C: add param for tracking
6968
6969         * bufferview_funcs.C: output change info in minibuffer
6970
6971         * Makefile.am:
6972         * changes.h:
6973         * changes.C: add change-tracking structure
6974
6975         * debug.h:
6976         * debug.C: add CHANGES debug flag
6977
6978         * lyxfind.h:
6979         * lyxfind.C: add code for finding the next change piece
6980
6981         * lyxrc.h:
6982         * lyxrc.C: add user_name and user_email
6983
6984         * lyxrow.h:
6985         * lyxrow.C: add a metric for the top of the text line
6986
6987         * lyxtext.h:
6988         * text.C: implement accept/rejectChange()
6989
6990         * lyxtext.h:
6991         * text.C: paint changebars. Paint new/deleted text in the chosen
6992         colours. Strike through deleted text.
6993
6994         * paragraph.h:
6995         * paragraph.C:
6996         * paragraph_pimpl.h:
6997         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6998           in the current change to the insert functions. Rework erase to
6999           mark text as deleted, adding an eraseIntern() and a range-based
7000           erase(). Implement per-paragraph change lookup and
7001           accept/reject.
7002
7003         * paragraph_funcs.C: Fixup paste for change tracking.
7004
7005         * tabular.C: mark added row/columns as new.
7006
7007         * text.C: fix rowLast() to never return -1. Don't allow
7008           spellchecking of deleted text. Track transpose changes. Don't
7009           allow paragraph break or merge where appropriate.
7010
7011         * text2.C: leave cursor at end of selection after a cut.
7012
7013 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7014
7015         * text.C (getLengthMarkerHeight):
7016         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7017         visible on screen too.
7018
7019 2003-02-07  John Levon  <levon@movementarian.org>
7020
7021         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7022
7023 2003-02-05  Angus Leeming  <leeming@lyx.org>
7024
7025         * lyxserver.C (read_ready): revert my patch of 11 September last year
7026         as it sends PC cpu through the roof. Presumably this means that
7027         the lyxserver will no longer run on an Alpha...
7028
7029 2003-01-30  Angus Leeming  <leeming@lyx.org>
7030
7031         * factory.C (createInset): create an InsetCommandParam of type "index"
7032         and use it to 'do the right thing'.
7033
7034         * text2.C (getStringToIndex): ensure that cursor position is always
7035         reset to the reset_cursor position.
7036
7037 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7038
7039         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7040         disabled.
7041
7042 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7043
7044         * bufferview.C:
7045         * lyxcb.C:
7046         * lyxfunc.C: Output messages with identical spelling, punctuation,
7047         and spaces
7048
7049 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7050
7051         * MenuBackend.C (expandFormats): List only viewable export formats
7052         in "View" menu
7053
7054         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7055         message
7056
7057         * lyxfunc.C (getStatus): Make sure that formats other than
7058         "fax" can also be disabled
7059
7060 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7061
7062         * text3.C (dispatch): put the lfuns that insert insets in 3
7063         groups, and call doInsertInset with appropriate arguments.
7064         (doInsertInset): new function, that creates an inset and inserts
7065         it according to some boolean parameters.
7066
7067 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * buffer.C (readFile): remember to pass on 'par' when calling
7070         readFile recursively.
7071
7072 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7073
7074         * MenuBackend.C (expandFormats): add "..." to import formats.
7075
7076 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7077
7078         * paragraph.C (asString): Remove XForms RTL hacks.
7079
7080 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7081         * buffer.C: fix typo
7082
7083 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * Makefile.am (LIBS): delete var
7086         (lyx_LDADD): add @LIBS@ here instead.
7087
7088 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7089
7090         * Clarify the meaning of "wheel mouse jump"
7091
7092 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7093
7094         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7095         tabular in a float
7096
7097 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7098
7099         * importer.C (Loaders): do not preallocate 3 elements in the
7100         vector, since one ends up with 6 elements otherwise
7101
7102 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7103
7104         * DepTable.C (write): write the file name as last element of the
7105         .dep file (because it may contain spaces)
7106         (read): read info in the right order
7107
7108 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7109
7110         * paragraph_pimpl.C (simpleTeXBlanks):
7111         (simpleTeXSpecialChars):
7112         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7113
7114         * tabular.C (latex): add some missing case statements. Reindent.
7115
7116         * MenuBackend.C (expandToc): remove unused variable.
7117
7118 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7119
7120         * LColor.C:
7121         * LaTeX.C:
7122         * LyXAction.C:
7123         * MenuBackend.C:
7124         * buffer.C:
7125         * exporter.C:
7126         * lyxfunc.C:
7127         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7128         and the like.
7129
7130 2003-01-05  John Levon  <levon@movementarian.org>
7131
7132         * BufferView.h:
7133         * BufferView.C: add getEncoding()
7134
7135         * kbsequence.h:
7136         * kbsequence.C: do not store last keypress
7137
7138         * lyxfunc.h:
7139         * lyxfunc.C: store last keypress here instead. Pass encoding
7140           to getISOEncoded()
7141
7142 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7143
7144         * lyx_main.C (init): remove annoying error message when following
7145         symbolic links (bug #780)
7146
7147 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7148
7149         * text.C (insertChar):
7150         * lyxrc.C (getDescription): remove extra spaces
7151
7152 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7153
7154         * lyxrc.C (getDescription): remove extra spaces
7155
7156 2002-12-20  John Levon  <levon@movementarian.org>
7157
7158         * text3.C: hack fix for page up/down across tall rows
7159
7160 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7161
7162         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7163         not been invoked
7164
7165 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7166
7167         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7168         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7169         thesaurus is not compiled in
7170
7171 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7172
7173         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7174
7175 2002-12-16  Angus Leeming  <leeming@lyx.org>
7176
7177         * lyxrc.[Ch]:
7178         * lyx_main.C (init): remove override_x_deadkeys stuff.
7179
7180 2002-12-12  John Levon  <levon@movementarian.org>
7181
7182         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7183           insert. Only remove shift modifier under strict
7184           circumstances.
7185
7186 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * MenuBackend.C (expandToc): fix crash.
7189
7190 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * MenuBackend.C (expandToc): gettext on float names.
7193
7194 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7195
7196         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7197         implement bool empty() [bug 490]
7198
7199 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7202
7203 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * several files: ws changes
7206
7207 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * text2.C (setCounter): clean up a bit, use boost.format.
7210         (updateCounters): initialize par upon declaration.
7211
7212         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7213         if the layout exists. We do not just store the layout any more.
7214         (SwitchLayoutsBetweenClasses): use boost.format
7215
7216 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7217
7218         * converter.C (convert): if from and to files are the same, use a
7219         temporary files as intermediary
7220
7221 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7222
7223         * commandtags.h:
7224         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7225
7226 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7227
7228         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7229
7230 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * tabular.C (asciiPrintCell): use string(size, char) instead of
7233         explicit loop.
7234
7235         * sgml.C (openTag): fix order of arguments to string constructor
7236         (closeTag): ditto
7237
7238         * lyxfunc.C (dispatch): use boost.format
7239
7240         * lots of files: change "c" -> 'c'
7241
7242 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7243
7244         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7245
7246 2002-11-25  Angus Leeming  <leeming@lyx.org>
7247
7248         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7249
7250         * lyx_main.C (init): compile fix.
7251
7252 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * lyx_cb.C (start): boost.formatify
7255         do not include <iostream>
7256
7257         * lengthcommon.C: ws only
7258
7259         * boost-inst.C,BoostFormat.h: add more explict instantations
7260
7261 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * lots of files: handle USE_BOOST_FORMAT
7264
7265 2002-11-21  John Levon  <levon@movementarian.org>
7266
7267         * pspell.C: fix compile
7268
7269 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7270
7271         * lyxfunc.C (dispatch): use boost::format
7272         (open): ditto
7273         (doImport): ditto
7274
7275         * lyxfont.C (stateText): use boost::format
7276
7277         * lyx_main.C (LyX): use boost::format
7278         (init): ditto
7279         (queryUserLyXDir): ditto
7280         (readRcFile): ditto
7281         (parse_dbg): ditto
7282         (typedef boost::function): use the recommened syntax.
7283
7284         * importer.C (Import): use boost::format
7285
7286         * debug.C (showLevel): use boost::format
7287
7288         * converter.C (view): use boost::format
7289         (convert): ditto
7290         (move): ditto
7291         (scanLog): ditto
7292
7293         * bufferview_funcs.C (currentState): use boost::format
7294
7295         * bufferlist.C (emergencyWrite): use boost::format
7296
7297         * buffer.C (readLyXformat2): use boost::format
7298         (parseSingleLyXformat2Token): ditto
7299
7300         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7301
7302         * LaTeX.C (run): use boost::format
7303
7304         * Chktex.C (scanLogFile): use boost::format
7305
7306         * BufferView_pimpl.C (savePosition): use boost::format
7307         (restorePosition): ditto
7308         (MenuInsertLyXFile): ditto
7309
7310         * BoostFormat.h: help file for explicit instation.
7311
7312 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7313
7314         * tabular.C (latex): Support for block alignment in fixed width
7315         columns.
7316
7317 2002-11-17  John Levon  <levon@movementarian.org>
7318
7319         * BufferView_pimpl.C:
7320         * lyx_cb.C:
7321         * lyxfunc.C: split filedialog into open/save
7322
7323 2002-11-08  Juergen Vigna  <jug@sad.it>
7324
7325         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7326         by my last patch (hopefully).
7327
7328 2002-11-08  John Levon  <levon@movementarian.org>
7329
7330         * iterators.h:
7331         * iterators.C:
7332         * buffer.h:
7333         * buffer.C:
7334         * paragraph.h:
7335         * paragraph.C:
7336         * toc.h:
7337         * toc.C: ParConstIterator, and use it (from Lars)
7338
7339 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7340
7341         * lyxtextclass.[Ch]: revise and add doxygen comments
7342
7343 2002-11-07  John Levon  <levon@movementarian.org>
7344
7345         * text.C: fix progress value for spellchecker
7346
7347         * toc.C: fix navigate menu for insetwrap inside minipage
7348
7349         * paragraph_funcs.C: added FIXME for suspect code
7350
7351 2002-11-07  John Levon  <levon@movementarian.org>
7352
7353         * BufferView_pimpl.C: fix redrawing of insets
7354           on buffer switch
7355
7356 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7357
7358         * text2.C (updateCounters): fix bug 668
7359
7360 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7361
7362         * text3.C (dispatch): Do not make the buffer dirty when moving the
7363         cursor.
7364
7365 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * vc-backend.C: STRCONV
7368         (scanMaster): ditto
7369
7370         * text2.C (setCounter): STRCONV
7371
7372         * paragraph.C (asString): STRCONV
7373
7374         * lyxlength.C (asString): STRCONV
7375         (asLatexString): ditto
7376
7377         * lyxgluelength.C (asString): STRCONV
7378         (asLatexString): ditto
7379
7380         * lyxfunc.C (dispatch): STRCONV
7381         (open): ditto
7382
7383         * lyxfont.C (stateText): STRCONV
7384
7385         * importer.C (Import): STRCONV
7386
7387         * counters.C (labelItem): STRCONV
7388         (numberLabel): ditto
7389         (numberLabel): remove unused ostringstream o
7390
7391         * chset.C: STRCONV
7392         (loadFile): ditto
7393
7394         * bufferview_funcs.C (currentState): STRCONV
7395
7396         * buffer.C (readFile): STRCONV
7397         (asciiParagraph): ditto
7398         (makeLaTeXFile): ditto
7399
7400         * Spacing.C (writeEnvirBegin): STRCONV
7401
7402         * LaTeXFeatures.C (getLanguages): STRCONV
7403         (getPackages): ditto
7404         (getMacros): ditto
7405         (getBabelOptions): ditto
7406         (getTClassPreamble): ditto
7407         (getLyXSGMLEntities): ditto
7408         (getIncludedFiles): ditto
7409
7410         * LaTeX.C: STRCONV
7411         (run): ditto
7412         (scanAuxFile): ditto
7413         (deplog): ditto
7414
7415         * LString.h: add the STRCONV macros
7416
7417         * BufferView_pimpl.C (savePosition): STRCONV
7418         (restorePosition): ditto
7419         (MenuInsertLyXFile): ditto
7420
7421         * vc-backend.C (scanMaster): change from submatch[...] to
7422         submatch.str(...)
7423
7424         * funcrequest.C: include config.h
7425
7426         * factory.C: include config.h
7427
7428         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7429
7430         * box.C: include config.h
7431
7432         * LaTeX.C (scanAuxFile): change from submatch[...] to
7433         submatch.str(...)
7434         (deplog): ditto
7435
7436 2002-10-25  Angus Leeming  <leeming@lyx.org>
7437
7438         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7439
7440         * ispell.[Ch] (setError): new method.
7441         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7442         Use setError() insetead of goto END.
7443
7444         * lyx_cb.C (AutoSave): move out child process into new class
7445         AutoSaveBuffer.
7446
7447 2002-10-30  John Levon  <levon@movementarian.org>
7448
7449         * text3.C: make start appendix undoable
7450
7451 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7452
7453         * lyxlength.C (inPixels): Fix returned value.
7454
7455         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7456         environment.
7457
7458 2002-10-24  Angus Leeming  <leeming@lyx.org>
7459
7460         * lyxgluelength.h: no need to forward declare BufferParams
7461         or BufferView, so don't.
7462
7463 2002-10-21  John Levon  <levon@movementarian.org>
7464
7465         * BufferView.C: menuUndo ->undo, redo
7466
7467         * BufferView.h: document, remove dead, make some methods private
7468
7469         * paragraph_funcs.h:
7470         * paragraph_funcs.C:
7471         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7472
7473         * buffer.h:
7474         * buffer.C:
7475         * sgml.h:
7476         * sgml.C: move sgml open/close tag into sgml.C
7477
7478         * bufferview_funcs.h: unused prototype
7479
7480         * lyxfunc.h:
7481         * lyxfunc.C: remove unused
7482
7483         * lyxtext.h:
7484         * text.C: remove unused
7485
7486 2002-10-21  John Levon  <levon@movementarian.org>
7487
7488         * BufferView.h:
7489         * BufferView.C:
7490         * BufferView_pimpl.h:
7491         * BufferView_pimpl.C: fix mouse wheel handling based on
7492           patch from Darren Freeman
7493
7494 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7495
7496         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7497
7498 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7499
7500         * lyxlength.C (inPixels): Fix hanfling of negative length.
7501         Fix LyXLength::MU case.
7502
7503 2002-10-16  John Levon  <levon@movementarian.org>
7504
7505         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7506
7507 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7508
7509         * converter.C (view): add support for $$i (file name) and $$p
7510         (file path) for the viewer command. If $$i is not specified, then
7511         it is appended to the command (for compatibility with old syntax)
7512
7513 2002-10-14  Juergen Vigna  <jug@sad.it>
7514
7515         * undo_funcs.C (textHandleUndo): alter the order in which the
7516         new undopar is added to the LyXText, as we have to set first
7517         the right prev/next and then add it as otherwise the rebuild of
7518         LyXText is not correct. Also reset the cursor to the right paragraph,
7519         with this IMO we could remove the hack in "redoParagraphs()".
7520
7521 2002-10-09  Angus Leeming  <leeming@lyx.org>
7522
7523         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7524         to turn off an optimisation if a new inset is to be inserted.
7525
7526 2002-10-11 André Pönitz <poenitz@gmx.net>
7527
7528         * lyxtext.h: make some functions public to allow access
7529         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7530
7531 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7532
7533         * text3.C (dispatch): when changing layout, avoid an infinite loop
7534         [bug #652]
7535
7536 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7537
7538         * lyxrc.C (read): treat a viewer or converter command of "none" as
7539         if it were empty.
7540
7541         * MenuBackend.C (expandFormats): for an update, also allow the
7542         formats that are not viewable
7543
7544         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7545         script if it is newer than the lyxrc.defaults in user directory
7546
7547 2002-10-07 André Pönitz <poenitz@gmx.net>
7548
7549         * text.C: Vitaly Lipatov's small i18n fix
7550
7551 2002-09-25  Angus Leeming  <leeming@lyx.org>
7552
7553         * ispell.h: doxygen fix.
7554
7555 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7556
7557         * buffer.h (readFile): Add a new argument to the method, to allow
7558         reading of old-format templates.
7559
7560 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7561
7562         * toc.C (getTocList): Get TOC from InsetWrap.
7563
7564 2002-09-16  John Levon  <levon@movementarian.org>
7565
7566         * lyxfunc.C: check tabular for cut/copy too
7567
7568 2002-09-12  John Levon  <levon@movementarian.org>
7569
7570         * LyXAction.C: tidy
7571
7572         * factory.h:
7573         * factory.C: add header
7574
7575         * paragraph_funcs.h:
7576         * paragraph_funcs.C: cleanup
7577
7578 2002-09-11  John Levon  <levon@movementarian.org>
7579
7580         * PrinterParams.h: odd/even default to true
7581
7582 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7583
7584         * PrinterParams.h: update printer parameters for new xforms dialog
7585
7586 2002-09-11  Angus Leeming  <leeming@lyx.org>
7587
7588         * lyxserver.C (read_ready): re-write to make it more transparent
7589         and to make it work in coherent fashion under Tru64 Unix.
7590
7591 2002-09-11  André Pönitz <poenitz@gmx.net>
7592
7593         * commandtags.h:
7594         * LyXAction.C:
7595         * text3.C: implement LFUN_WORDSEL
7596
7597 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7600         make floatlist_ a boost::shared_ptr<FloatList>
7601
7602         * lyxtextclass.C: include FloatList.h
7603         (LyXTextClass): initialize floatlist_
7604         (TextClassTags): add TC_NOFLOAT
7605         (Read): match "nofloat" to TC_NOFLOAT and use it.
7606         (readFloat): modify call to floatlist_
7607         (floats): ditto
7608         (floats): ditto
7609
7610         * FloatList.[Ch] (FloatList): remove commented out float
7611         initialization.
7612         (erase): new function
7613
7614 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7615
7616         * MenuBackend.C (expandToc): fix crash when there is no document
7617         open
7618
7619 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7620
7621         * many files: Add insetwrap.
7622
7623 2002-09-09  John Levon  <levon@movementarian.org>
7624
7625         * text2.C: remove confusing and awkward depth wraparound
7626
7627 2002-09-09  John Levon  <levon@movementarian.org>
7628
7629         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7630
7631         * buffer.h:
7632         * buffer.C: remove getIncludeonlyList()
7633
7634         * paragraph.C:
7635         * lyxfunc.C: remove headers
7636
7637 2002-09-09  Juergen Vigna  <jug@sad.it>
7638
7639         * text.C (getColumnNearX): fix form Michael this is most
7640         probably a cut&paste bug.
7641
7642 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7645
7646         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7647         references, ws changes.
7648
7649         * text2.C (init): update counters after init
7650         (insertParagraph): no need to set counter on idividual paragraphs.
7651         (setCounter): access the counters object in the textclass object
7652         on in the buffer object.
7653         (updateCounters): ditto
7654
7655         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7656         shared_ptr<Counters> to avoid loading counters.h in all
7657         compilation units.
7658         (LyXTextClass): initialize ctrs_
7659         (TextClassTags): add TC_COUNTER, and ...
7660         (Read): use it here.
7661         (CounterTags): new tags
7662         (readCounter): new function
7663         (counters): new funtion
7664         (defaultLayoutName): return a const reference
7665
7666         * counters.C (Counters): remove contructor
7667         (newCounter): remove a couple of unneeded statements.
7668         (newCounter): simplify a bit.
7669         (numberLabel): some small formatting changes.
7670
7671         * buffer.[Ch]: remove all traces of counters, move the Counters
7672         object to the LyXTextClass.
7673
7674 2002-09-06  Alain Castera  <castera@in2p3.fr>
7675
7676         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7677         package to set the horizontal alignment on fixed width columns.
7678
7679         * lyx_sty.C:
7680         * lyx_sty.h: added tabularnewline macro def.
7681
7682         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7683
7684 2002-09-06  John Levon  <levon@movementarian.org>
7685
7686         * LyXAction.C: tooltips for sub/superscript
7687
7688         * MenuBackend.C: a bit more verbose
7689
7690         * lyxfunc.C: tiny clean
7691
7692         * undo_funcs.C: document undo_frozen
7693
7694 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * counters.C (Counters): add missing algorithm counter.
7697
7698         * text2.C (setCounter): lookup the counter with layouts latexname
7699         instead of by section number.
7700         (setCounter): use a hackish way to lookup the correct enum
7701         counter.
7702         a float name->type change
7703         reset enum couners with counter name directly instead of depth value.
7704
7705         * counters.C (Counters): remove the push_backs, change to use the
7706         float type not the float name.
7707         (labelItem): remove unused string, float name->type change
7708
7709         * counters.h: don't include vector, loose the enums and sects vectors
7710
7711 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7714         (Read): add float->TC_FLOAT to textclassTags
7715         (Read): and handle it in the switch
7716         (readFloat): new function
7717
7718         * FloatList.C (FloatList): comment out the hardcoded float
7719         definitions.
7720
7721         * lyxlayout.h: ws change.
7722
7723 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7724
7725         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7726
7727 2002-09-03  Angus Leeming  <leeming@lyx.org>
7728
7729         * BufferView_pimpl.h: qualified name is not allowed in member
7730         declaration: WorkArea & Pimpl::workarea() const;
7731
7732         * factory.C: added using std::endl directive.
7733
7734         * text3.C: added using std::find and std::vector directives.
7735
7736 2002-08-29  André Pönitz <poenitz@gmx.net>
7737
7738         * lyxtext.h:
7739         * text2.C: remove unused member number_of_rows
7740
7741         * Makefile.am:
7742         * BufferView2.C: remove file, move contents to...
7743         * BufferView.C: ... here
7744
7745         * BufferView_pimpl.C:
7746         * factory.C: move more inset creation to factory
7747
7748         * vspace.C: avoid direct usage of LyXText, ws changes
7749
7750         * BufferView.[Ch]:
7751                 don't provide direct access to WorkArea, use two simple
7752                 acessors haveSelction() and workHeight() instead
7753
7754
7755 2002-08-29  John Levon  <levon@movementarian.org>
7756
7757         * BufferView_pimpl.C (dispatch): do not continue when
7758           no buffer
7759
7760 2002-08-28  André Pönitz <poenitz@gmx.net>
7761
7762         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7763
7764         * BufferView.h:
7765         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7766
7767 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7768
7769         * buffer.C: increment LYX_FORMAT to 221
7770
7771         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7772         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7773
7774         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7775
7776         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7777
7778 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7779
7780         * factory.C (createInset): use LyXTextClass::floats
7781
7782         * MenuBackend.C (expandFloatListInsert):
7783         (expandFloatInsert):
7784         (expandToc):
7785
7786         * text2.C (setCounter):
7787
7788         * LaTeXFeatures.C (useFloat):
7789         (getFloatDefinitions):
7790
7791         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7792
7793         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7794         floatlist_, with accessor floats().
7795
7796         * FloatList.h: remove global FloatList
7797
7798 2002-08-26  André Pönitz <poenitz@gmx.net>
7799
7800         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7801
7802         * BufferView.h:
7803         * BufferView2.C:
7804         * BufferView_pimpl.C:
7805         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7806
7807 2002-08-25  John Levon  <levon@movementarian.org>
7808
7809         * LyXAction.C: fix margin note description
7810
7811 2002-08-24  John Levon  <levon@movementarian.org>
7812
7813         * buffer.C:
7814         * bufferlist.C:
7815         * bufferview_funcs.C:
7816         * lyxfont.C:
7817         * undo_funcs.C: cleanups
7818
7819         * lyxfunc.C: disable CUT/COPY when no selection
7820
7821 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7822
7823         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7824         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7825
7826         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7827         Add backward compatibility to "mono", "gray" and "no".
7828
7829 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7830
7831         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7832         (and file_format >= 200).
7833
7834 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7837
7838 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7839
7840         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7841
7842 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7843
7844         * BufferView_pimpl.C:
7845         * LyXAction.C:
7846         * buffer.C:
7847         * commandtags.h:
7848         * lyxfunc.C:
7849         * paragraph.[Ch]:
7850         * text2.C:
7851         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7852         inset and code to make it  work with the paragraph code. The inset
7853         can be anywhere in the paragraph, but will only do the expected
7854         thing in LaTeX if the layout file contains the parameter line
7855                         OptionalArgs    1
7856         (or more generally, a nonzero value) for that layout.
7857
7858 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * paragraph.h: remove the declaration of undefined counters class
7861         function.
7862
7863 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7864
7865         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7866         Dr. Richard Hawkins.
7867
7868 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7869
7870         * paragraph_funcs.h: remove some unneeded includes
7871
7872         * text.C (backspace): pasteParagraph now in global scipe
7873
7874         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7875         (pasteSelection): ditto
7876
7877         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7878         * paragraph_funcs.C (pasteParagraph): ... here
7879
7880 2002-08-20  André Pönitz <poenitz@gmx.net>
7881
7882         * commandtags.h: new LFUNs for swapping/copying table row/colums
7883
7884         * LyXAction.C:
7885         * lyxfunc.C: support for new lfuns
7886
7887 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * tabular.C:
7890         * buffer.[Ch]: remove NO_COMPABILITY stuff
7891
7892 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * boost.C (throw_exception): new file, with helper function for
7895         boost compiled without exceptions.
7896
7897         * paragraph.h:
7898         * lyxlength.C:
7899         * buffer.C:
7900         * ParameterStruct.h:
7901         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7902
7903         * bufferlist.C (emergencyWriteAll): use boost bind
7904
7905         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7906
7907         * text.C: include paragraph_funcs.h
7908         (breakParagraph): breakParagraph is now in global scope
7909
7910         * paragraph_funcs.[Ch]: new files
7911
7912         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7913         global scope
7914
7915         * buffer.C: include paragraph_funcs.h
7916         (insertStringAsLines): breakParagraph is now in global scope
7917
7918         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7919         paragraph_funcs.C
7920
7921         * CutAndPaste.C: include paragraph_funcs.h
7922         (cutSelection): breakParagraphConservative is now in global scope
7923         (pasteSelection): ditto
7924
7925         * buffer.h: declare oprator== and operator!= for
7926         Buffer::inset_iterator
7927
7928         * bufferlist.C (emergencyWrite): don't use fmt(...)
7929
7930         * text3.C: add using std::endl
7931
7932         * BufferView.C (moveCursorUpdate): remove default arg
7933
7934 2002-08-20  André Pönitz <poenitz@gmx.net>
7935
7936         * buffer.[Ch]: move inline functions to .C
7937
7938         * BufferView2.C:
7939         * BufferView_pimpl.C:
7940         * text.C:
7941         * buffer.[Ch]: use improved inset_iterator
7942
7943         * buffer.C:
7944         * paragraph.[Ch]: write one paragraph at a time
7945
7946 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7947
7948         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7949         style if style is not specified.
7950
7951 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * text2.C (setCounter): when searching for right label for a
7954         caption, make sure to recurse to parent insets (so that a caption
7955         in a minipage in a figure float works) (bug #568)
7956
7957 2002-08-20  André Pönitz <poenitz@gmx.net>
7958
7959         * text3.C: new file for LyXText::dispatch() and helpers
7960
7961         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7962
7963         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7964
7965 2002-08-19  André Pönitz <poenitz@gmx.net>
7966
7967         * lyxtext.h:
7968         * text.C: new LyXText::dispatch()
7969
7970         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7971
7972 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7973
7974         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7975
7976         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7977         Hebrew text.
7978
7979 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * Makefile.am: use $(variables) instead of @substitutions@
7982
7983 2002-08-15  André Pönitz <poenitz@gmx.net>
7984
7985         * lyxfunc.C:
7986         * BufferView_pimpl.C: streamlining mathed <-> outer world
7987         interaction
7988
7989         * commandtags.h:
7990         * LyXAction.C: remove unused LFUN_MATH
7991
7992 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7995
7996 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * paragraph.C (Paragraph): reformat a bit
7999         (cutIntoMinibuffer): use builtin InsetList function instad of
8000         doing it manually.
8001         (getInset): ditto
8002
8003         * buffer.C: include boost/bind.hpp, add using std::for_each
8004         (writeFileAscii): use ParagraphList iterators
8005         (validate): use for_each for validate traversal of paragraphs
8006         (getBibkeyList): use ParagraphList iterators
8007         (resizeInsets): use for_each to resizeInsetsLyXText for all
8008         paragraphs.
8009         (getParFromID): use ParagraphList iterators
8010
8011         * BufferView2.C (lockInset): use paragraph list and iterators
8012
8013 2002-08-14  John Levon  <levon@movementarian.org>
8014
8015         * lyxserver.C: remove spurious xforms include
8016
8017 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8018
8019         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8020
8021 2002-08-13  André Pönitz <poenitz@gmx.net>
8022
8023         * LyXAction.[Ch]:
8024         * lyxfunc.C: further cleaning
8025
8026 2002-08-13  André Pönitz <poenitz@gmx.net>
8027
8028         * funcrequest.h: new constructor
8029
8030         * funcrequest.C: move stuff here from .h
8031
8032         * Makefile.am:
8033         * BufferView_pimpl.C:
8034         * LyXAction.C:
8035         * toc.C:
8036         * lyxfunc.C: subsequent changes
8037
8038         * lyxfunc.h: new view() member function
8039
8040         * lyxfunc.C: subsequent changes
8041
8042 2002-08-13  Angus Leeming  <leeming@lyx.org>
8043
8044         * BufferView2.C:
8045         * BufferView_pimpl.C:
8046         * buffer.C:
8047         * converter.C:
8048         * importer.C:
8049         * lyxfunc.C:
8050         * lyxvc.C:
8051         * toc.C:
8052         * vc-backend.C:
8053         changes due to the changed LyXView interface that now returns references
8054         to member variables not pointers.
8055
8056 2002-08-13  Angus Leeming  <leeming@lyx.org>
8057
8058         * WordLangTuple (word, lang_code): return references to strings,
8059         not strings.
8060
8061         * BufferView.h:
8062         * SpellBase.h:
8063         * lyxtext.h: forward-declare WordLangTuple.
8064
8065         * BufferView2.C:
8066         * ispell.C:
8067         * pspell.C:
8068         * text.C: #include "WordLangTuple.h".
8069
8070         * lyxtext.h:
8071         * text.C: (selectNextWordToSpellcheck): constify return type.
8072
8073 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8074
8075         * buffer.C:
8076         * buffer.h:
8077         * lyxtext.h:
8078         * paragraph.C:
8079         * paragraph_pimpl.h:
8080         * text.C:
8081         * text2.C:
8082         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8083         suggested by Angus.
8084         Made updateCounter always count from start of buffer, and removed
8085         second argument (par).
8086         Reverted floats number display to '#'. Perhaps I'll try again when the
8087         code base is sanitized a bit.
8088
8089 2002-08-12  Angus Leeming  <leeming@lyx.org>
8090
8091         * buffer.[Ch] (getLabelList): constify.
8092
8093 2002-08-07  André Pönitz <poenitz@gmx.net>
8094
8095         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8096
8097         * funcrequest.h: extension to keep mouse (x,y) position
8098
8099 2002-08-12  Juergen Vigna  <jug@sad.it>
8100
8101         * BufferView2.C (insertErrors): forbid undo when inserting error
8102         insets.
8103
8104         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8105
8106 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * ParagraphList.[Ch]: new files
8109
8110         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8111
8112         * BufferView2.C (lockInset): ParagraphList changes
8113         * toc.C: ditto
8114         * text2.C: ditto
8115         * bufferlist.C: ditto
8116         * buffer.h: ditto
8117         * buffer.C: ditto
8118
8119 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8122         unused class variable counter_,
8123
8124         * paragraph.[Ch] (getFirstCounter): delete unused function
8125
8126         * counters.C: include LAssert.h
8127         (reset): add a new function with no arg, change other version to
8128         not have def. arg and to not allow empty arg.
8129
8130         * text2.C (setCounter): remove empty arg from call to Counters::reset
8131
8132 2002-08-11  John Levon  <levon@movementarian.org>
8133
8134         * Makefile.am: add WordLangTuple.h
8135
8136 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8139         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8140
8141         * insets/insettext.C: InsetList changes
8142
8143         * graphics/GraphicsSupport.C (operator()): InsetList changes
8144
8145         * toc.C (getTocList): InsetList changes
8146
8147         * paragraph_pimpl.[Ch]: InsetList changes
8148
8149         * paragraph.[Ch]: InsetList changes
8150
8151         * buffer.C (inset_iterator): InsetList changes
8152         (setParagraph): ditto
8153         * buffer.h (inset_iterator): ditto
8154         * iterators.C (operator++): ditto
8155         * iterators.h: ditto
8156
8157         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8158
8159         * InsetList.[Ch]: new files, most InsetList handling moved out of
8160         paragraph.C.
8161
8162         * BufferView2.C (removeAutoInsets): InsetList changes
8163         (lockInset): ditto
8164         (ChangeInsets): ditto
8165
8166 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * paragraph_pimpl.h (empty): new function
8169
8170         * paragraph.[Ch] (empty): new function
8171
8172         * other files: use the new Paragraph::empty function
8173
8174 2002-08-09  John Levon  <levon@movementarian.org>
8175
8176         * lyxtext.h: remove unused refresh_height
8177
8178 2002-08-09  John Levon  <levon@movementarian.org>
8179
8180         * Makefile.am:
8181         * sgml.h:
8182         * sgml.C:
8183         * buffer.C:
8184         * paragraph.h:
8185         * paragraph.C: move sgml char escaping out of paragraph
8186
8187         * paragraph.h:
8188         * paragraph.C: remove id setter
8189
8190         * buffer.C:
8191         * paragraph.C:
8192         * paragraph_pimpl.C: remove dead tex_code_break_column
8193
8194         * bufferview_funcs.C: small cleanup
8195
8196         * lyxfunc.C: remove dead proto
8197
8198         * lyxtext.h: make some stuff private. Remove some dead stuff.
8199
8200         * lyxgluelength.C: make as[LyX]String() readable
8201
8202 2002-08-08  John Levon  <levon@movementarian.org>
8203
8204         * LyXAction.h:
8205         * LyXAction.C:
8206         * MenuBackend.C:
8207         * ToolbarDefaults.C:
8208         * lyxfunc.C:
8209         * lyxrc.C:
8210         * toc.C: lyxaction cleanup
8211
8212 2002-08-08  John Levon  <levon@movementarian.org>
8213
8214         * BufferView2.C: small cleanup
8215
8216         * lyxfind.h:
8217         * lyxfind.C: move unnecessary header into the .C
8218
8219 2002-08-08  John Levon  <levon@movementarian.org>
8220
8221         * funcrequest.h: just tedious nonsense
8222
8223         * lyx_main.h:
8224         * lyx_main.C: cleanups
8225
8226         * buffer.C:
8227         * vspace.C: remove dead header lyx_main.h
8228
8229 2002-08-07  Angus Leeming  <leeming@lyx.org>
8230
8231         * Paragraph.[Ch]:
8232         * paragraph_pimpl.h:
8233         Forward declare class Counters in paragraph.h by moving the ctrs member
8234         variable into Paragraph::Pimpl.
8235         (counters): new method, returning a reference to pimpl_->ctrs.
8236
8237         * text2.C: ensuing changes.
8238
8239 2002-08-07  John Levon  <levon@movementarian.org>
8240
8241         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8242
8243         * BufferView_pimpl.C: announce X selection on double/triple
8244           click
8245
8246         * lyx_main.C: use correct bool in batch dispatch
8247
8248         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8249
8250 2002-08-07  André Pönitz <poenitz@gmx.net>
8251
8252         * funcrequest.h: new class to wrap a kb_action and its argument
8253
8254         * BufferView.[Ch]:
8255         * BufferView_pimpl[Ch]:
8256         * LaTeX.C:
8257         * LyXAction.[Ch]:
8258         * lyxfunc.[Ch]:
8259         * lyxrc.C: subsequent changes
8260
8261
8262 2002-08-07  John Levon  <levon@movementarian.org>
8263
8264         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8265           document options change.
8266
8267 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8268
8269         * counters.[Ch]
8270         * text2.C
8271         * paragraph.[Ch]
8272         * makefile.am: move counters functionality over from
8273         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8274
8275 2002-08-06  John Levon  <levon@movementarian.org>
8276
8277         * WordLangTuple.h: new file for word + language code tuple
8278
8279         * SpellBase.h:
8280         * pspell.h:
8281         * pspell.C:
8282         * ispell.h:
8283         * ispell.C:
8284         * lyxtext.h:
8285         * text.C:
8286         * text2.C:
8287         * BufferView.h:
8288         * BufferView2.C: use WordLangTuple
8289
8290         * layout.h:
8291         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8292
8293 2002-08-06  John Levon  <levon@movementarian.org>
8294
8295         * lyx_main.C: fix cmdline batch handling
8296
8297 2002-08-06  André Pönitz <poenitz@gmx.net>
8298
8299         * lyxrc.C: set default for show_banner to true
8300
8301 2002-08-06  John Levon  <levon@movementarian.org>
8302
8303         * pspell.C: fix a crash, and allow new aspell to work
8304
8305 2002-08-06  John Levon  <levon@movementarian.org>
8306
8307         * lyxfunc.C:
8308         * kbmap.C: small cleanup
8309
8310         * vspace.h:
8311         * vspace.C: add const
8312
8313 2002-08-05  John Levon  <levon@movementarian.org>
8314
8315         * LyXAction.C: back to tabular-insert
8316
8317 2002-08-04  John Levon  <levon@movementarian.org>
8318
8319         * BufferView.h:
8320         * BufferView.C: cosmetic change
8321
8322         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8323
8324         * bufferlist.C:
8325         * buffer.h:
8326         * buffer.C:
8327         * lyxcb.h:
8328         * lyxcb.C:
8329         * lyxserver.C:
8330         * lyxvc.C:
8331         * vc-backend.C:
8332         * BufferView2.C: purge all "Lyx" not "LyX" strings
8333
8334         * lyxcursor.h:
8335         * lyxcursor.C: attempt to add some documentation
8336
8337         * lyxfunc.C:
8338         * commandtags.h:
8339         * LyXAction.C:
8340         * ToolbarDefaults.C:
8341         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8342           merge with LFUN_TABULAR_INSERT
8343
8344         * Makefile.am:
8345         * SpellBase.h:
8346         * ispell.h:
8347         * ispell.C:
8348         * pspell.h:
8349         * pspell.C: split up i/pspell implementations into separate
8350           files, many cleanups
8351
8352         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8353
8354         * text2.C: some cleanup
8355
8356         * lyxfunc.C: don't check for isp_command == "none" any more, it
8357           didn't make any sense
8358
8359 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8360
8361         * counters.[Ch]
8362         * text2.C
8363         * paragraph.[Ch]
8364         * makefile.am: move counters functionality over
8365         from text2.C/paragraph.[Ch] to counters.[Ch], and
8366         make proper C++.
8367 2002-08-02  John Levon  <levon@movementarian.org>
8368
8369         * buffer.C: s/lyxconvert/lyx2lyx/
8370
8371 2002-08-02  Angus Leeming  <leeming@lyx.org>
8372
8373         * lyxlex.C: revert John's change as it breaks reading of the user
8374         preamble.
8375
8376 2002-08-02  Angus Leeming  <leeming@lyx.org>
8377
8378         * importer.C (Import):
8379         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8380         changes due to LyXView::view() now returning a boost::shared_ptr.
8381
8382 2002-08-02  John Levon  <levon@movementarian.org>
8383
8384         * lyxlex.C: small cleanup
8385
8386 2002-08-02  John Levon  <levon@movementarian.org>
8387
8388         * text2.C (status): small cleanup, no logic change
8389
8390 2002-08-01  John Levon  <levon@movementarian.org>
8391
8392         * buffer.h:
8393         * buffer.C (writeFile): don't output alerts, caller
8394           handles this
8395
8396         * bufferlist.C:
8397         * lyx_cb.C: from above
8398
8399         * lyxfunc.C: allow to open non-existent files
8400
8401 2002-07-31  John Levon  <levon@movementarian.org>
8402
8403         * lyxserver.C: don't let incidental errors get
8404           in the way (errno)
8405
8406 2002-07-30  John Levon  <levon@movementarian.org>
8407
8408         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8409
8410 2002-07-30  John Levon  <levon@movementarian.org>
8411
8412         * lyxserver.h:
8413         * lyxserver.C: remove I/O callback too
8414
8415 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8416
8417         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8418         log.
8419
8420 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * many files: strip,frontStrip -> trim,ltrim,rtrim
8423
8424 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * PrinterParams.h: remove extern containsOnly, and include
8427         support/lstrings.h instead.
8428
8429         * LaTeX.C (scanAuxFile): modify because of strip changes
8430         (deplog): ditto
8431         * buffer.C (makeLaTeXFile): ditto
8432         * bufferparams.C (writeFile): ditt
8433         * lyxfont.C (stateText): ditto
8434         * lyxserver.C (read_ready): ditto
8435         * vc-backend.C (scanMaster): ditto
8436
8437         * BufferView_pimpl.h: ws changes
8438
8439         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8440
8441 2002-07-26  André Pönitz <poenitz@gmx.net>
8442
8443         * kb_sequence.C: remove unnedred usings
8444
8445 2002-07-26  Juergen Vigna  <jug@sad.it>
8446
8447         * lyxfind.C (LyXReplace): we have to check better if the returned
8448         text is not of theLockingInset()->getLockingInset().
8449
8450 2002-07-25  Juergen Vigna  <jug@sad.it>
8451
8452         * lyxfind.C (LyXReplace): don't replace if we don't get the
8453         right LyXText.
8454
8455         * undo_funcs.C (createUndo): remove debugging code.
8456
8457 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8458
8459         * buffer.C (parseSingleLyXformat2Token): Use default placement
8460         when reading old floats.
8461
8462         * FloatList.C (FloatList): Change the default placement of figure
8463         and tables to "tbp".
8464
8465 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8466
8467         * MenuBackend.C: using std::max
8468
8469 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * MenuBackend.C (expandToc):
8472         (expandToc2): code moved from xforms menu frontend. It is now
8473         generic and TOCs are transparent to menu frontends.
8474
8475 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * toc.C (getTocList): protect against buf=0
8478
8479         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8480         Menu as first parameter. Now, this calls itself recursively to
8481         expand a whole tree (this will be useful for TOC handling)
8482         (expandFloatInsert): remove 'wide' version of floats
8483
8484         * MenuBackend.h (submenuname): returns the name of the submenu.
8485         (submenu): returns the submenu itself, provided it has been
8486         created by MenuBackend::expand
8487
8488 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8491         insets which have noFontChange == true. (bug #172)
8492
8493 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8494
8495         * BufferView_pimpl.C: add connection objects and use them...
8496         (Pimpl): here.
8497
8498 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8499
8500         * MenuBackend.C (expandLastfiles):
8501         (expandDocuments):
8502         (expandFormats):
8503         (expandFloatListInsert):
8504         (expandFloatInsert):
8505         (expand): split expand in parts
8506
8507 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * lyx_gui.C: use lyx_gui::exit()
8510
8511 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * LyXAction.C: show the failing pseudo action
8514
8515 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8516
8517         * buffer.C (readFile): Run the lyxconvert script in order to read
8518         old files.
8519
8520 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * LyXAction.C:
8523         * commandtags.h:
8524         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8525
8526 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * LyXAction.C:
8529         * commandtags.h:
8530         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8531
8532 2002-07-22  Herbert Voss  <voss@lyx.org>
8533
8534         * lengthcommon.C:
8535         * lyxlength.[Ch]: add support for the vertical lengths
8536
8537 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8538
8539         * toc.[Ch]: std:: fixes
8540
8541 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8542
8543         * lyxrc.C: do not include lyx_main.h
8544
8545         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8546         for layouts
8547
8548         * lyxrc.C:
8549         * encoding.C:
8550         * bufferlist.C:
8551         * BufferView2.C: include "lyxlex.h"
8552
8553         * tabular.h:
8554         * bufferparams.h: do not #include "lyxlex.h"
8555
8556         * lyxtextclasslist.C (Add): remove method
8557         (classlist): renamed to classlist_
8558
8559         * paragraph_pimpl.C:
8560         * paragraph.C:
8561         * text2.C:
8562         * CutAndPaste.C:
8563         * bufferview_funcs.C:
8564         * bufferlist.C:
8565         * text.C:
8566         * LaTeXFeatures.C:
8567         * buffer.C:
8568         * toc.C (getTocList): use BufferParams::getLyXTextClass
8569
8570         * toc.C (getTocList): use InsetFloat::addToToc
8571
8572         * toc.[Ch]: new files, containing helper functions to handle table
8573         of contents
8574
8575         * lyxfunc.C (dispatch): no need to remove spaces around command
8576         given as a string
8577         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8578         first command of the sequence; it is not very clever, but I do not
8579         have a better idea, actually
8580
8581         * LyXAction.C (LookupFunc): make sure to remove space at the
8582         beginning and end of the command
8583
8584 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8585
8586         * MenuBackend.C (getMenubar): new method: return the menubar of
8587         this menu set
8588         (read): treat differently reading of menu and menubar (in
8589         particular, the menubar has no name now)
8590         (Menu::menubar): remove
8591
8592         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8593         saving is finished
8594
8595 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8596
8597         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8598         a bibitem inset in a RTL paragraph.
8599
8600 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * paragraph_pimpl.C: constify
8603
8604         * BufferView_pimpl.C:
8605         * LaTeX.C:
8606         * lyxfunc.C: fix dispatch in a nicer way
8607
8608 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8609
8610         * lyxfunc.C (dispatch):
8611         * BufferView_pimpl.C:
8612         * BufferView_pimpl.h:
8613         * BufferView.C:
8614         * BufferView.h: rename Dispatch() to dispatch()
8615
8616         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8617
8618         * lyxlayout.C (Read): honor DependsOn tag
8619
8620         * lyxlayout.[Ch] (depends_on): new method
8621
8622         * version.C.in: update lyx_docversion
8623
8624         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8625
8626         * paragraph.C (validate): remove from here...
8627         * paragraph_pimpl.C (validate): ... and move here
8628         (isTextAt): make it const
8629
8630         * buffer.C (getLists): ws cleanup
8631
8632 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8633
8634         * language.C (read): Use iso8859-1 encoding in latex_lang
8635         (this prevents LyX from crashing when using iso10646-1 encoding).
8636
8637 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8638
8639         * text2.C (toggleInset): if cursor is inside an inset, close the
8640         inset and leave cursor _after_ it
8641
8642 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * lyxfunc.C: move minibuffer completion handling out of here
8645
8646 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * BufferView_pimpl.C:
8649         * LaTeX.C: fix dispatch calls
8650
8651 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * text.C (drawChars): Fix Arabic text rendering.
8654
8655 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * LyXAction.C:
8658         * commandtags.h:
8659         * lyxfunc.C: remove message-push/pop
8660
8661         * lyxserver.C:
8662         * lyxfunc.h:
8663         * lyxfunc.C: rationalise some code by removing verboseDispatch
8664           in favour of a bool argument to dispatch()
8665
8666 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8667
8668         * lyx_main.C (init): make sure to read symlinks as absolute paths
8669
8670 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8671
8672         * lyxfunc.h:
8673         * lyxfunc.C: no need for commandshortcut to be a member
8674
8675 2002-07-15  André Pönitz <poenitz@gmx.net>
8676
8677         * converter.C: add support for $$s (scripts from lib/scripts dir)
8678         * lyx_main.C: white space
8679
8680 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8681
8682         * bufferlist.C:
8683         * lyxrc.h:
8684         * lyxrc.C: remove second exit confirmation
8685
8686 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * BufferView.h:
8689         * BufferView.C:
8690         * BufferView2.C:
8691         * BufferView_pimpl.h:
8692         * BufferView_pimpl.C:
8693         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8694
8695 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * MenuBackend.C (expand): add numeric shortcuts to document menu
8698
8699         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8700
8701 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8702
8703         * lyxfont.C (setLyXFamily):
8704         (setLyXSeries):
8705         (setLyXShape):
8706         (setLyXSize):
8707         (setLyXMisc):
8708         (lyxRead):
8709         * debug.C (value):
8710         * buffer.C (asciiParagraph): use ascii_lowercase
8711
8712 2002-07-15  Mike Fabian  <mfabian@suse.de>
8713
8714         * lyxlex_pimpl.C (search_kw):
8715         * lyxlex.C (getLongString):
8716         * converter.h (operator<):
8717         * converter.C (operator<):
8718         * buffer.C (parseSingleLyXformat2Token):
8719         (asciiParagraph):
8720         * ToolbarDefaults.C (read):
8721         * MenuBackend.C (checkShortcuts):
8722         (read):
8723         * LColor.C (getFromGUIName):
8724         (getFromLyXName): use the compare_ascii_no_case instead of
8725         compare_no_case, because in turkish, 'i' is not the lowercase
8726         version of 'I', and thus turkish locale breaks parsing of tags.
8727
8728 2002-07-16  Angus Leeming  <leeming@lyx.org>
8729
8730         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8731         now takes a Buffer const & argument.
8732
8733 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8734
8735         * BufferView.C (resize): check there's a buffer to resize
8736
8737 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8738
8739         * lyxfunc.C: remove dead code
8740
8741         * lyxserver.h:
8742         * lyxserver.C: use lyx_guii::set_read_callback
8743
8744 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8747         an inset in a RTL paragraph.
8748
8749 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * lyxfunc.C: repaint after a font size update
8752
8753 2002-07-15  André Pönitz <poenitz@gmx.net>
8754
8755         * lyxlength.C: inBP should be able to return negative values
8756
8757 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * lyxfunc.C: use lyx_gui::update_fonts()
8760
8761 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * lyxfunc.C: use lyx_gui::update_color()
8764
8765 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * bufferlist.C:
8768         * lyxfunc.h:
8769         * lyxfunc.C:
8770         * lyxrc.h:
8771         * lyxrc.C: remove file->new asks for name option, and let
8772           buffer-new take an argument
8773
8774 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8775
8776         * BufferView_pimpl.C: remove unneeded extra repaint()
8777
8778 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8779
8780         * LyXAction.C: allow command-sequence with NoBuffer
8781
8782         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8783
8784 2002-07-10  Angus Leeming  <leeming@lyx.org>
8785
8786         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8787
8788 2002-07-09  Angus Leeming  <leeming@lyx.org>
8789
8790         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8791
8792 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8793
8794         * lengthcommon.h: whitespace
8795
8796         * lyxfunc.C: update scrollbar after goto paragraph
8797
8798         * lyxtext.h: factor out page break drawing, and fix it so
8799           page break/added space paints as selected nicely
8800
8801 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * BufferView_pimpl.C: add FIXMEs, clean up a little
8804
8805 2002-07-09  André Pönitz <poenitz@gmx.net>
8806
8807         * lyxfont.[Ch]: support for wasy symbols
8808
8809 2002-07-08  André Pönitz <poenitz@gmx.net>
8810
8811         * BufferView_pimpl.C: apply John's patch for #93.
8812
8813 2002-07-05  Angus Leeming  <leeming@lyx.org>
8814
8815         * BufferView_pimpl.C (buffer): generate previews if desired.
8816
8817         * LColor.h: add "preview" to the color enum.
8818
8819         * LColor.C (LColor): add a corresponding entry to the items array.
8820
8821         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8822         with this buffer.
8823
8824 2002-07-05  Angus Leeming  <leeming@lyx.org>
8825
8826         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8827         The body of the code is now in the method that is passed an ostream &
8828         rather than a file name.
8829         Pass an additional only_preamble parameter, useful for the forthcoming
8830         preview stuff.
8831
8832 2002-07-03  André Pönitz <poenitz@gmx.net>
8833
8834         * lyxfunc.C: simplify getStatus() a bit for math stuff
8835
8836 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8837
8838         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8839
8840 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * text.C (changeRegionCase): do not change case of all the
8843         document when region ends at paragraph end (bug #461)
8844
8845 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * paragraph.C (startTeXParParams):
8848         (endTeXParParams): add \protect when necessary
8849
8850 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8851
8852         * BufferView_pimpl.C (workAreaExpose): remove warning
8853
8854 2002-06-27  Angus Leeming  <leeming@lyx.org>
8855
8856         * Makefile.am: add lyxlayout_ptr_fwd.h.
8857
8858 2002-06-26  André Pönitz <poenitz@gmx.net>
8859
8860         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8861
8862 2002-06-25  Angus Leeming  <leeming@lyx.org>
8863
8864         * lyxfunc.C (dispatch): Comment out the call to
8865         grfx::GCache::changeDisplay. The method no longer exists now that the
8866         pixmap generation part of the graphics loader has been moved into
8867         InsetGraphics.
8868
8869 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8870
8871         * text2.C: layout as layout
8872
8873         * text.C: layout as layout
8874
8875         * tabular.C (OldFormatRead): layout as layout
8876
8877         * paragraph_pimpl.C (TeXDeeper): layout as layout
8878         (realizeFont): layout as layout
8879
8880         * paragraph.C (writeFile): layout as layout
8881         (validate): layout as layout
8882         (getFont): layout as layout
8883         (getLabelFont): layout as layout
8884         (getLayoutFont): layout as layout
8885         (breakParagraph): layout as layout
8886         (stripLeadingSpaces): layout as layout
8887         (getEndLabel): layout as layout
8888         (getMaxDepthAfter): layout as layout
8889         (applyLayout): layout as layout
8890         (TeXOnePar): layout as layout
8891         (simpleTeXOnePar): layout as layout
8892         (TeXEnvironment): layout as layout
8893         (layout): layout as layout
8894         (layout): layout as layout
8895
8896         * lyxtextclass.C (compare_name): new functor to work with
8897         shared_ptr, layout as layout
8898         (Read): layout as layout
8899         (hasLayout): layout as layout
8900         (operator): layout as layout
8901         (delete_layout): layout as layout
8902         (defaultLayout): layout as layout
8903
8904         * lyxlayout_ptr_fwd.h: new file
8905
8906         * lyxlayout.C (Read): layout as layout
8907
8908         * lyx_cb.C (MenuInsertLabel): layout as layout
8909
8910         * bufferlist.C (newFile): layout as layout
8911
8912         * buffer.C (readLyXformat2): layout as layout
8913         (parseSingleLyXformat2Token): layout as layout
8914         (insertStringAsLines): layout as layout
8915         (asciiParagraph): layout as layout
8916         (latexParagraphs): layout as layout
8917         (makeLinuxDocFile): layout as layout
8918         (simpleLinuxDocOnePar): layout as layout
8919         (makeDocBookFile): layout as layout
8920         (simpleDocBookOnePar): layout as layout
8921         (getLists): layout as layout
8922
8923         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8924
8925         * CutAndPaste.C (cutSelection): layout as layout
8926         (pasteSelection): layout as layout
8927         (SwitchLayoutsBetweenClasses): layout as layout
8928
8929         * BufferView_pimpl.C (Dispatch): layout as layout
8930         (smartQuote): layout as layout
8931
8932         * BufferView2.C (unlockInset): layout as layout
8933
8934 2002-06-24  André Pönitz <poenitz@gmx.net>
8935
8936         * lyxfunc.C: fix #487
8937
8938 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8939
8940         * lyxrc.h:
8941         * lyxrc.C:
8942         * lyxfunc.C: remove display_shortcuts, show_banner
8943
8944 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8945
8946         * Buffer_pimpl.C: oops, update on resize
8947
8948 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * buffer.C:
8951         * converter.C:
8952         * exporter.C:
8953         * lyxfunc.C:
8954         * BufferView.h:
8955         * BufferView.C: use repaint()
8956
8957         * BufferView_pimpl.h:
8958         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8959           as it's a clearer description. Remove superfluous
8960           redraws.
8961
8962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * text.C: fix bug 488. Not ideal, but getting
8965           getWord() to work properly for the insets that
8966           matter is more difficult ...
8967
8968 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * BufferView_pimpl.C:
8971         * LyXAction.C:
8972         * commandtags.h:
8973         * lyxfunc.C: remove the six million index lyxfuncs to just
8974           one, and DTRT (bug 458)
8975
8976 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * BufferView.h:
8979         * BufferView.C:
8980         * BufferView_pimpl.h:
8981         * BufferView_pimpl.C: clean up resize() stuff,
8982           and unnecessary updateScreen()s
8983
8984 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * BufferView.h:
8987         * BufferView.C:
8988         * BufferView_pimpl.h:
8989         * BufferView_pimpl.C:
8990         * lyxfind.h:
8991         * lyxfind.C:
8992         * minibuffer.C: remove focus management of workarea,
8993           not needed. Use screen's greyOut()
8994
8995 2002-06-17  Herbert Voss  <voss@lyx.org>
8996
8997         * converter.C: (convert) do not post a message, when converting
8998         fails, let the calling function decide what to do in this case
8999
9000 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * lyxfunc.C: tidy up a little
9003
9004 2002-06-16    <alstrup@diku.dk>
9005
9006         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9007         Got rid of FORMS_H_LOCATION include. Now we are
9008         GUII.
9009
9010 2002-06-15  LyX Development team  <lyx@rilke>
9011
9012         * buffer.[Ch] (sgmlOpenTag):
9013         (sgmlCloseTag): Added support for avoiding pernicious mixed
9014         content. Return number of lines written.
9015
9016         (makeLinuxDocFile):
9017         (makeDocBookFile): Fixed calls to sgml*Tag.
9018         Simple white space clean.
9019
9020         (simpleDocBookOnePar): Simple white space clean.
9021
9022         * tabular.[Ch] (docBook): Renamed to docbook and got another
9023         argument to related with the pernicious mixed content.
9024
9025         (docbookRow): Fixed calls for docbook inset method.
9026
9027 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9028
9029         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9030         so it's X11 independent.
9031
9032         * kb*.[Ch]: ditto.
9033
9034         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9035
9036 2002-06-15  Lyx Development team  <lyx@electronia>
9037
9038         * intl.h: Renamed getTrans to getTransManager.
9039
9040 2002-06-14  Angus Leeming  <leeming@lyx.org>
9041
9042         * Makefile.am: nuke forgotten stl_string_fwd.h.
9043
9044 2002-06-12  Angus Leeming  <leeming@lyx.org>
9045
9046         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9047
9048 2002-06-13  Angus Leeming  <leeming@lyx.org>
9049
9050         * LaTeX.C:
9051         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9052
9053 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9054
9055         * kbmap.C (getiso): add support for cyrillic and greek
9056
9057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * BufferView.h:
9060         * BufferView.C:
9061         * BufferView_pimpl.h:
9062         * BufferView_pimpl.C: move bogus scrolling logic
9063           to xforms
9064
9065 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * lyxfunc.C:
9068         * BufferView_pimpl.C: view->resize() change
9069
9070 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * BufferView_pimpl.C: topCursorVisible
9073           prototype change
9074
9075 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9076
9077         * Makefile.am:
9078         * lyx_gui.h:
9079         * lyx_gui.C: move to frontends/
9080
9081         * main.C:
9082         * lyx_main.h:
9083         * lyx_main.C: changes from above
9084
9085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * intl.C:
9088         * intl.h:
9089         * kbmap.C:
9090         * kbsequence.C:
9091         * lyx_cb.C:
9092         * lyx_main.C: minor tidy
9093
9094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * BufferView_pimpl.h:
9097         * BufferView_pimpl.C:
9098         * BufferView.h:
9099         * BufferView.C: make painter() const,
9100           remove dead code
9101
9102         * BufferView2.C: use screen() accessor
9103
9104         * lyx_main.h:
9105         * lyx_main.C: some minor cleanup
9106
9107 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * BufferView_pimpl.h:
9110         * BufferView_pimpl.C: remove enter/leaveView,
9111           use workHeight()
9112
9113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView.h:
9116         * BufferView.C:
9117         * BufferView2.C:
9118         * BufferView_pimpl.h:
9119         * BufferView_pimpl.C: only construct screen once,
9120           rename
9121
9122         * lyxrc.C: remove pointless comment
9123
9124 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView.h:
9127         * BufferView.C: remove active() and belowMouse()
9128
9129         * BufferView_pimpl.h:
9130         * BufferView_pimpl.C: use workarea() not workarea_,
9131           and make it use a scoped_ptr instead
9132
9133 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9134
9135         * lyx_gui.C: add debug message on BadWindow
9136
9137 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * sp_spell.C: fdopen is not part of the C++ standard.
9140
9141         * paragraph.C (InsetIterator): use >= instead of ==
9142
9143 2002-06-07  Angus Leeming  <leeming@lyx.org>
9144
9145         Fixes needed to compile with Compaq cxx 6.5.
9146         * BufferView_pimpl.C:
9147         * DepTable.C:
9148         * buffer.C:
9149         * converter.C:
9150         * encoding.C:
9151         * lyx_gui.C:
9152         * lyx_main.C:
9153         * lyxtextclasslist.C:
9154         * minibuffer.C:
9155         * sp_spell.C:
9156         * tabular_funcs.C:
9157         * vc-backend.C:
9158         all c-library variables have been moved into namespace std. Wrap
9159         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9160
9161         * lyxlength.C:
9162         * tabular-old.C:
9163         * tabular.C:
9164         Add a using std::abs declaration.
9165
9166         * kbmap.h (modifier_pair):
9167         * paragraph.h (InsetTable, InsetList):
9168         * lyxfont.h (FontBits):
9169         type definition made public.
9170
9171         * bufferlist.C (emergencyWriteAll): the compiler complains that
9172         there is more than one possible lyx::class_fun template to choose from.
9173         I re-named the void specialisation as lyx::void_class_fun.
9174
9175         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9176
9177         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9178         the compiler is is unable to find tostr in write_attribute.
9179
9180 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9181
9182         * buffer.C (sgmlError): hide #warning
9183
9184 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * xtl/*: get rid of xtl, which is not in use anyway
9187
9188         * LyXAction.C (init):
9189         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9190         were unimplemented xtl experimentation
9191
9192 2002-06-04  André Pönitz <poenitz@gmx.net>
9193
9194         * lyxfunc.C: disable array operation on simple formulae
9195
9196 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * converter.C: constify a bit
9199
9200 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9201
9202         * lyx_gui.C: check xforms version correctly
9203
9204 2002-04-30  Herbert Voss  <voss@lyx.org>
9205
9206         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9207         "keep" option
9208
9209 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9210
9211         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9212           attempt to register it with a VCS)
9213
9214 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * lyx_main.C (init): honor variables LYX_DIR_13x and
9217         LYX_USERDIR_13x
9218
9219 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * buffer.h:
9222         * buffer.C:
9223         * lyx_main.C: fix a crash on bad command line,
9224           and give a useful exit status on error
9225
9226         * lyxfunc.C (doImport): allow -i lyx to work
9227
9228 2002-03-30  André Pönitz <poenitz@gmx.net>
9229
9230         * lyxfunc.C: mathed font changes
9231
9232 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9233
9234         * LaTeX.C:
9235         * importer.h:
9236         * importer.C:
9237         * lyx_sty.h:
9238         * lyx_sty.C:
9239         * lyxlex.C:
9240         * lyxrow.h:
9241         * lyxtext.h:
9242         * paragraph.h:
9243         * paragraph.C:
9244         * texrow.h:
9245         * texrow.C:
9246         * text.C:
9247         * trans_mgr.h: srcdocs, and some minor cleanups
9248
9249 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9252         call getFont all the time)
9253
9254 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9255
9256         * switch from SigC signals to boost::signals
9257
9258 2002-05-29  André Pönitz <poenitz@gmx.net>
9259
9260         * paragraph_pimpl.C (getChar): don't call size() too often...
9261
9262 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * paragraph_pimpl.C (insertChar): do not try to update tables when
9265         appending (pos == size())
9266
9267         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9268         in order to reduce drastically the number of comparisons needed to
9269         parse a large document
9270
9271 2002-05-29  André Pönitz <poenitz@gmx.net>
9272
9273         * text.C:
9274         * text2.C:
9275         * lyxtextclass.C:
9276         * sp_pspell.h:
9277         * textclasslist.[Ch]:
9278         * sp_ispell.h: whitespace change
9279
9280 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9281
9282         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9283         lyxaction directly now.
9284
9285 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * trans.C:
9288         * lyxfont.C:
9289         * lyxvc.C: remove unused headers
9290
9291 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * Makefile.am:
9294         * buffer.h:
9295         * undostack.h:
9296         * undostack.C:
9297         * undo_funcs.h:
9298         * undo_funcs.C: some cleanups. Use shared_ptr
9299           and a template for the undo stacks.
9300
9301 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * BufferView_pimpl.h:
9304         * BufferView_pimpl.C:
9305         * kbmap.h:
9306         * kbmap.C:
9307         * kbsequence.h:
9308         * kbsequence.C:
9309         * lyxfunc.h:
9310         * lyxfunc.C:
9311         * text2.C: use key_state/mouse_state
9312
9313 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9314
9315         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9316         and LSubstring
9317
9318         * chset.C: change include order
9319         (loadFile): use boost regex and get rid of LRegex and LSubstring
9320
9321         * Makefile.am (BOOST_LIBS): new variable
9322         (lyx_LDADD): use it
9323
9324         * LaTeX.C: change include order.
9325         (scanAuxFile): use boost regex and get rid of LRegex and
9326         LSubstring
9327         (deplog): ditto
9328
9329 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * ColorHandler.h:
9332         * ColorHandler.C:
9333         * FontInfo.h:
9334         * FontInfo.C: moved to frontends/xforms/
9335
9336         * FontLoader.h:
9337         * FontLoader.C: moved into frontends for GUIIzation
9338
9339         * Makefile.am:
9340         * lyx_gui.C:
9341         * lyxfont.C:
9342         * lyxfunc.C: changes from above
9343
9344 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9345
9346         * LColor.C: remove spurious X include
9347
9348         * BufferView_pimpl.C:
9349         * Makefile.am:
9350         * font.h:
9351         * font.C:
9352         * text.C:
9353         * text2.C: move font metrics to frontends/
9354
9355 2002-05-24  Juergen Vigna  <jug@sad.it>
9356
9357         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9358         setting the undo_cursor.
9359
9360         * ParagraphParameters.h: include local includes first.
9361
9362 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * BufferView_pimpl.C:
9365         * BufferView_pimpl.h:
9366         * Makefile.am:
9367         * WorkArea.h:
9368         * WorkArea.C:
9369         * screen.C: move WorkArea into frontends/
9370
9371         * lyxscreen.h:
9372         * screen.C:
9373         * text.C:
9374         * BufferView.C:
9375         * BufferView2.C: move LyXScreen into frontends/
9376
9377         * lyxlookup.h:
9378         * lyxlookup.C:
9379         * lyx_gui.C: move lyxlookup into frontends/xforms/
9380
9381 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * BufferView2.C:
9384         * BufferView_pimpl.C:
9385         * FontLoader.C:
9386         * LyXView.h:
9387         * LyXView.C:
9388         * Makefile.am:
9389         * WorkArea.C:
9390         * XFormsView.h:
9391         * XFormsView.C:
9392         * buffer.C:
9393         * bufferlist.C:
9394         * bufferview_funcs.C:
9395         * converter.C:
9396         * importer.C:
9397         * lyx_cb.C:
9398         * lyx_gui.C:
9399         * lyx_main.C:
9400         * lyx_find.C:
9401         * lyxfunc.C:
9402         * lyxvc.C:
9403         * minibuffer.C:
9404         * text.C:
9405         * text2.C:
9406         * trans.C:
9407         * vc-backend.C: move LyX/XFormsView into frontends/
9408
9409 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * Makefile.am:
9412         * PainterBase.C:
9413         * PainterBase.h:
9414         * Painter.C:
9415         * Painter.h:
9416         * WorkArea.C:
9417         * WorkArea.h:
9418         * screen.C:
9419         * tabular.C:
9420         * text.C:
9421         * text2.C: move Painter to frontends/
9422
9423 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9424
9425         * buffer.C: comment out some some code that depend upon lyx_format
9426         < 220
9427
9428         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9429         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9430
9431         * buffer.h (NO_COMPABILITY): turn off compability
9432
9433         * ColorHandler.C: include scoped_array.hpp
9434
9435         * font.C: Use more specific smart_ptr header.
9436         * Painter.C: ditto
9437         * gettext.C: ditto
9438         * ShareContainer.h: ditto
9439         * lyx_main.h: ditto
9440         * kbmap.h: ditto
9441         * FontInfo.h: ditto
9442         * BufferView_pimpl.h: ditto
9443         * ColorHandler.h: ditto
9444
9445         * kbmap.C (defkey): change call to shared_ptr::reset
9446
9447 2002-05-21  Juergen Vigna  <jug@sad.it>
9448
9449         * buffer.C (insertErtContents): fix to insert ert asis if it is
9450         non empty. Skip it completely if it contains only whitespaces.
9451
9452 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9453
9454         * BufferView_pimpl.C:
9455         * BufferView2.C: clear selection on paste (bug 393)
9456
9457 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * DepTable.C: include ctime
9460
9461 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9462
9463         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9464
9465 2002-05-14  Juergen Vigna  <jug@sad.it>
9466
9467         * text.C (breakParagraph): fixed function to honor the keepempty
9468         layout in the right maner and also to permit the right breaking
9469         algorithm on empty or non empyt keepempty paragraphs.
9470
9471         * paragraph.C (breakParagraph): we have to check also if the par
9472         is really empty (!size()) for isempty otherwise we do the wrong
9473         paragraph break.
9474
9475 2002-05-10  Juergen Vigna  <jug@sad.it>
9476
9477         * buffer.[Ch] : The following are only changes to the ert
9478         compatibility read reading old LaTeX layout and font stuff and
9479         convert it to ERTInsets.
9480
9481         * buffer.h: added isErtInset().
9482
9483         * buffer.C (struct ErtComp): add a fromlayout bool to check
9484         if we're inside a LaTeX layout.
9485         (isErtInset): new helper function.
9486         (insertErtContents): look for other ert insets before this one
9487         and insert the contents there, so that we don't have subsequent
9488         ERT insets with nothing between them. This way we create only one
9489         inset with multiple paragraphs. Also check if we don't insert only
9490         spaces ' ' as they are ignored anyway afterwards in the .tex file
9491         so if we have only spaces we will ignore this latex part in the
9492         new file.
9493         (parseSingleLyXformat2Token \\layout): better compatibility when
9494         reading layout-latex stuff.
9495         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9496         language tag.
9497         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9498         stuff after reading the inset only get the information back from
9499         the stack.
9500
9501 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9502
9503         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9504
9505         * LaTeXFeatures.C (getBabelOptions): New method.
9506
9507 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9508
9509         * BufferView_pimpl.C (Dispatch): work around missing argument for
9510         'layout'
9511
9512 2002-05-08  Juergen Vigna  <jug@sad.it>
9513
9514         * text.C (leftMargin): handle paragraph leftindent.
9515
9516         * paragraph.C (writeFile): write the new \\leftindent tag.
9517         (validate): handle leftindent code.
9518         (TeXEnvironment): handle paragraphleftindent code again.
9519
9520         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9521
9522         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9523         for paragrap_extra indent code and new token \\leftindent.
9524         (latexParagraphs): handle the leftindent as environment.
9525
9526         * ParameterStruct.h: added leftindent support.
9527
9528         * ParagraphParameters.C (leftIndent): added support functions for
9529         the paragraph left indent.
9530
9531         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9532         more appropriate.
9533
9534 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9535
9536         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9537         inside insetERT.
9538
9539         * text.C (computeBidiTables): No bidi in insetERT.
9540
9541         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9542         in RTL documents.
9543
9544 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9545
9546         * version.C.in: pre 5
9547
9548 2002-05-02  José Matos  <jamatos@fep.up.pt>
9549         * buffer.C (makeDocBookFile): white space changes, add newline to
9550         command styles.
9551         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9552
9553         * tabular.C (docBook): fix typo.
9554
9555 2002-05-03  Juergen Vigna  <jug@sad.it>
9556
9557         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9558         change in LyXText as we can not be sure it was not freed.
9559         (drawOneRow): remove unused code.
9560
9561         * text.C (drawInset): redo the calculation of the need_break_row as
9562         it could have a row which was already freed.
9563         (draw): look at the return value of drawInset and return false if
9564         it also returned false.
9565         (paintRowText): look at the return value of draw and return false if
9566         it also returned false.
9567
9568         * lyxtext.h: added bool return type to drawInset() and draw() so that
9569         if we have a change in the row so that the rowbreak has to be redone
9570         we abort drawing as it will be called again.
9571
9572 2002-05-02  Juergen Vigna  <jug@sad.it>
9573
9574         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9575         a change in the maintext also if we're inside an inset.
9576         (Dispatch): set the cursor again after a break line and after the
9577         screen has been updated as it could be we're in a different row.
9578
9579         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9580         to set the cursor behind the pargraph with > size().
9581         (setCursor): check also for the same paragraph when checking where
9582         to put the cursor if we have a NFR inset.
9583
9584         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9585         parts of layout read further up as it still was in the wrong
9586         position.
9587
9588 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * screen.C (drawFromTo): change sine fullRebreak always return
9591         true.
9592
9593         * buffer.C (parseSingleLyXformat2Token): reindent some
9594
9595         * BufferView_pimpl.C (update): change since fullRebreak always
9596         return true.
9597         (Dispatch): git rid of the last hardcoded "Standard"s.
9598
9599 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9600
9601         * text2.[Ch] (fullRebreak): make it return void now that we always
9602         returned true.
9603
9604 2002-04-30  Juergen Vigna  <jug@sad.it>
9605
9606         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9607         ert compatibility check for "latex" layout.
9608
9609 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9610
9611         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9612         minipages: use col% instead of p%, and also use the current font.
9613         (makeLaTeXFile): Fix use babel condition.
9614         (parseSingleLyXformat2Token): Correct font when reading old floats.
9615
9616 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9617
9618         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9619         inserting list of floats.
9620
9621 2002-04-25  Herbert Voss  <voss@lyx.org>
9622
9623         * MenuBackend.C (expand): don't add the graphics extensions to the
9624         export menu
9625
9626 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9629         non-existing layout, do not complain if it was the default layout
9630         of the original class (bug #342)
9631
9632 2002-04-24  Juergen Vigna  <jug@sad.it>
9633
9634         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9635         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9636
9637 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9638
9639         * buffer.C (getBibkeyList): If using \bibliography, return the
9640         option field with the reference itself. Enables us to provide natbib
9641         support when using \bibliography.
9642
9643 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9644
9645         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9646
9647         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9648         natbib is provided by the LaTeX class.
9649
9650 2002-04-23  Juergen Vigna  <jug@sad.it>
9651
9652         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9653         Wakeup functions.
9654
9655         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9656
9657 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9660
9661         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9662         ensuremath around textordmasculine, textordfeminine and
9663         textdegree.
9664
9665 2002-04-19  Juergen Vigna  <jug@sad.it>
9666
9667         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9668         reinitializing the buffer otherwise row-dimensions may be wrong.
9669         (update): reset also the selection cursors if they do exits otherwise
9670         their x/y positions may be wrong.
9671
9672         * text2.C (cursorDown): don't enter the inset if we came from a row
9673         above and are one row over the inset.
9674
9675         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9676         really leaving an inset.
9677
9678 2002-04-18  Juergen Vigna  <jug@sad.it>
9679
9680         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9681         of the selected paragraph does not have the selected layout also if
9682         the last one had!
9683
9684         * text2.C (setLayout): fixed bug which did not change last selected
9685         paragraph.
9686
9687         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9688         changed the read and substituted \\end_float with \\end_inset!
9689
9690         * BufferView_pimpl.C (cursorPrevious):
9691         (cursorNext): fixed to make it work with rows heigher than the work
9692         area without moving the cursor only the draw of the row.
9693         (workAreaMotionNotify): fix jumping over high rows.
9694
9695 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9696
9697         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9698         Ressler.
9699
9700 2002-04-16  Juergen Vigna  <jug@sad.it>
9701
9702         * text2.C (setCursor): set also the irow().
9703         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9704         (cursorUp):
9705         (cursorDown): support for locking an inset if the x_fix value goes
9706         inside it. That way I can transverse insets too with cursor up/down.
9707
9708         * lyxrow.h: added irow helper function same as other (i) functions.
9709
9710         * BufferView_pimpl.C (cursorPrevious):
9711         (cursorNext): fixed for insets!
9712
9713 2002-04-15  Juergen Vigna  <jug@sad.it>
9714
9715         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9716         position otherwise it is wrong in some cases.
9717
9718         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9719         inside the inset before the call.
9720
9721 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * buffer.[Ch] (getBibkeyList): make it const.
9724
9725 2002-04-12  Juergen Vigna  <jug@sad.it>
9726
9727         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9728
9729         * text2.C (getCursorX): new helper function
9730         (setCursor): compute also ix_
9731         (setCursorFromCoordinates): set also ix.
9732
9733         * lyxcursor.h: added ix_ and helper functions.
9734
9735         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9736
9737         * buffer.C (insertStringAsLines): dont break paragraph if the this
9738         paragraph is inside an inset which does not permit it!
9739
9740         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9741         also with no chars on this paragraph.
9742         (paintRowText): only paint stuff if it's inside the workarea!
9743
9744         * paragraph.C (breakParagraph): honor keepempty flag and break the
9745         paragraph always below not above.
9746
9747         * BufferView2.C (unlockInset): update the paragraph layout on inset
9748         unlock as we changed paragraph in such a case.
9749
9750         * lyxfind.C (LyXFind): clear the former selection if not found!
9751
9752         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9753         again called in insertChar().
9754
9755         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9756         an inset which uses the whole row!
9757         (rightMargin): ditto.
9758         (insertChar): force a rebreak if we inserted an inset!
9759
9760 2002-03-28  Herbert Voss  <voss@lyx.org>
9761
9762         * lyxlength.[Ch]: add inBP() to get the right PS-point
9763         units (BigPoint). With inPixels we have rounding errors
9764
9765 2002-04-11  Juergen Vigna  <jug@sad.it>
9766
9767         * text2.C (setCursorFromCoordinates): set iy to the right value.
9768         (setCursor): add check if row->previous exists!
9769
9770         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9771         an old float_type as this was the case in the old code!
9772
9773         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9774
9775         * BufferView2.C (showLockedInsetCursor): use iy
9776         (fitLockedInsetCursor): ditto
9777
9778         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9779         locked insets as there we have the right value now.
9780
9781         * lyxcursor.C: added iy_ variable and iy functions to set to the
9782         baseline of cursor-y of the locked inset.
9783
9784         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9785         (setCursor): fixed for insets which need a full row.
9786
9787         * text.C (rowLastPrintable): don't ignore the last space when before
9788         an inset which needs a full row.
9789         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9790         as last character of a row when before a inset which needs a full row.
9791
9792 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * version.C.in: update date
9795
9796         * text2.C (fullRebreak): try to always return true and see what
9797         happens...
9798
9799 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9800
9801         * MenuBackend.C (expand): use Floating::listName
9802
9803         * FloatList.C (FloatList): add listName argument to the built-in
9804         floats
9805
9806         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9807         text associated with the float.
9808
9809 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9812
9813 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9814
9815         * ShareContainer.h: add a couple of missing typenames.
9816
9817 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * lyxrc.C (getDescription): use _() correctly rather than N_().
9820
9821 2002-03-28  Herbert Voss  <voss@lyx.org>
9822
9823         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9824         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9825
9826 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9829         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9830
9831 2002-03-29  Juergen Vigna  <jug@sad.it>
9832
9833         * lyxfunc.C (dispatch): add a missing fitCursor call.
9834
9835         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9836         it was scrolled by a cursor move, so return the bool status.
9837
9838         * BufferView.C (fitCursor): return the bool flag also to the outside
9839         world as this is needed.
9840
9841         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9842
9843         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9844         call the edit() as it is not needed (and wrong) IMO.
9845         (workAreaButtonPress): set the screen_first variable before evt.
9846         unlock the inset as this may change screen_first and then we have
9847         a wrong y position for the click!
9848
9849 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * MenuBackend.C (expand): another translation that I missed
9852
9853 2002-03-28  Juergen Vigna  <jug@sad.it>
9854
9855         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9856
9857         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9858
9859 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9862
9863         * MenuBackend.C (expand): fix export/view/update when there is no
9864         document open.
9865
9866 2002-03-27  Herbert Voss  <voss@lyx.org>
9867
9868         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9869         and text%
9870
9871 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * bufferview_funcs.C (currentState): only show paragraph number
9874         for is DEVEL_VERSION is set.
9875
9876         * lyxfunc.C (dispatch): put warning in INFO channel
9877
9878         * MenuBackend.C (expand): translate the name of floats
9879
9880         * FloatList.C (FloatList): mark the float names for translation
9881
9882         * converter.C (convert): use LibScriptSearch
9883
9884 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9885
9886         * MenuBackend.C (defaults): fix default menu (we might as well get
9887         rid of it...)
9888
9889 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9890
9891         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9892         directory.
9893
9894 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9895
9896         * lyxvc.C: reorder includes.
9897
9898 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9901           properly
9902
9903 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * CutAndPaste.C: change layouts earlier on paste
9906           to avoid crashing when calling getFont()
9907
9908 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9911         irritating #error.
9912
9913 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * WorkArea.C: remove 'Pending' debug message.
9916
9917         * most files: ws cleanup
9918
9919         * buffer.[Ch]: ws changes
9920
9921         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9922
9923 2002-03-21  Juergen Vigna  <jug@sad.it>
9924
9925         * tabular.C (SetMultiColumn): collapse also the contents of the
9926         cells and set the last border right. Added a Buffer const * param.
9927
9928 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9929
9930         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9931         linking or not.
9932
9933 2002-03-19  Juergen Vigna  <jug@sad.it>
9934
9935         * text2.C (clearSelection): reset also xsel_cache.
9936
9937         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9938         where it needs to be called (John tells us to do so too :)
9939         (selectionLost): reset sel_cache.
9940
9941         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9942
9943 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * text2.C (setCursorIntern): put debuging code in INSETS channel
9946
9947 2002-03-19  André Pönitz <poenitz@gmx.net>
9948
9949         * lyxfunc.C: tiny whitespace change
9950
9951 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9952
9953         * ToolbarDefaults.C (init):
9954         * LyXAction.C (init):
9955         * commandtags.h:
9956         * BufferView_pimpl.C (Dispatch):
9957         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9958
9959 2002-03-19  Allan Rae  <rae@lyx.org>
9960
9961         * exporter.C (Export): removeAutoInsets before doing anything else.
9962         While I've just introduced a dependency on BufferView this really is
9963         the best place to clean the buffer otherwise you need to cleanup in
9964         a dozen places before calling export or cleanup in a dozen functions
9965         that export calls.
9966
9967         * converter.C (runLaTeX):
9968         (scanLog): Better handling of removeAutoInsets and screen updates.
9969
9970         * lyxfunc.C (dispatch): small whitespace changes
9971
9972 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * WorkArea.C (C_WorkAreaEvent): return a value.
9975         (event_cb): return 1 if we handled the event, 0 otherwise.
9976
9977         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9978
9979 2002-03-18  Juergen Vigna  <jug@sad.it>
9980
9981         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9982         (GetAdditionalWidth): ditto.
9983         (RightLine): ditto.
9984         (LeftLine): ditto.
9985
9986         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9987         inset if we're there actually (probably not used right now but this
9988         is the direction to go for unifying code).
9989         (paste): disable code to clear the selection.
9990
9991         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9992         inside an InsetText and move the check further up as it is in the
9993         wrong place.
9994
9995         * text2.C (pasteSelection): set a selection over the pasted text.
9996
9997 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9998
9999         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10000         and libgraphics to build on Cygwin.
10001
10002 2002-03-15  Juergen Vigna  <jug@sad.it>
10003
10004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10005         inserting an Inset into the paragraph. I know this is not the best
10006         fix but we already use current_view in CutAndPaste so we will remove
10007         all of it's using at the same time.
10008
10009         * buffer.C (sgmlError): deactivated function till it is rewritten in
10010         the right mode, now it can create problems.
10011
10012         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10013         before accessing it.
10014
10015 2002-03-14  Juergen Vigna  <jug@sad.it>
10016
10017         * undo_funcs.C (textHandleUndo): do the right thing when updating
10018         the inset after the undo/redo.
10019
10020         * text2.C (setCursor): just some testcode for #44 not ready yet.
10021
10022         * undo_funcs.C (textHandleUndo): set the next() and previous()
10023         pointers of the paragraph to 0 before deleting otherwise we have
10024         problems with the Paragraph::[destructor].
10025
10026         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10027         on a paragraph insertion.
10028
10029 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * buffer.C (asciiParagraph): use += operator for char append to
10032         string.
10033
10034         * paragraph.C (getFontSettings): compare >= not just >
10035         (highestFontInRange): ditto
10036         (setFont): ditto
10037
10038 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * paragraph.C: change several algorithm to be more appripriate for
10041         the problem domain. This is lookip in FontList and in the InsetList.
10042
10043 2002-03-13  André Pönitz <poenitz@gmx.net>
10044
10045         * commandtags.h:
10046         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10047
10048 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * commandtags.h:
10051         * LyXAction.C:
10052         * lyxfunc.C:
10053         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10054
10055 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10056
10057         * Painter.C (display): anon helper function, adjust code for this
10058         change.
10059         (pixmap): remove function.
10060
10061         * Painter.h: remove private display variable.
10062
10063         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10064
10065 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10066
10067         * WorkArea.[Ch]: remove figinset_canvas cruft.
10068
10069 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * lyxtextclass.C (operator): add one item cache optimization.
10072
10073         * bufferlist.h: doxy changes
10074
10075         * bufferlist.C: ws changes
10076
10077         * DepTable.[Ch] (ext_exist): place const in the right spot.
10078
10079         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10080         call resizeInsets.
10081         (workAreaExpose): call resizeInsets when the with BufferView changes.
10082         (Dispatch): adjust for protectedBlank removal
10083         (specialChar): call updateInset if the insert went ok.
10084
10085         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10086         specialChar instead.
10087
10088         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10089
10090         * BufferView.h: doxy change
10091
10092         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10093
10094         * lyxtextclass.C (operator[]): remove non-const version
10095         (defaultLayout): remove non-const version
10096
10097 2002-03-12  Juergen Vigna  <jug@sad.it>
10098
10099         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10100         did resize the LyXText too.
10101
10102         * buffer.C (readLyXformat2): set layout information on newly allocated
10103         paragraphs.
10104
10105         * tabular.C (OldFormatRead): set layout information on the paragraph.
10106
10107 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10108
10109         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10110
10111 2002-03-11  Juergen Vigna  <jug@sad.it>
10112
10113         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10114         plainly wrong.
10115         (resizeCurrentBuffer): force also the insets to resize themselfes.
10116         (moveCursorUpdate): fixed up for InsetText.
10117
10118 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10119
10120         * commandtags.h:
10121         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10122         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10123         value of Dialogs::tooltipsEnabled().
10124         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10125
10126 2002-03-08  Juergen Vigna  <jug@sad.it>
10127
10128         * BufferView_pimpl.C (updateInset): update inset inside inset also
10129         if it isn't inside theLockingInset().
10130
10131 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10132
10133         * buffer.C (asciiParagraph): redo some of the word and line length
10134         handling.
10135         (getLists): look for Caption instead of caption.
10136
10137 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10138
10139         * buffer.C (Buffer): initialize niceFile to true
10140         (makeLaTeXFile):
10141         (makeLinuxDocFile):
10142         (makeDocBookFile): make sure niceFile is true on exit
10143
10144 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10147
10148 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10149
10150         * LyXSendto.C: remove.
10151         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10152         * lyx_gui.C: remove now-redundant comment.
10153         * ColorHandler.h: remove forward declaration of class WorkArea.
10154         * lyxfunc.C: remove #include "WorkArea.h".
10155
10156 2002-03-07  Juergen Vigna  <jug@sad.it>
10157
10158         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10159         got moved away with the DEPM and also set the inset_owner always
10160         right which before could have been omitted.
10161
10162 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10163
10164         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10165         wanted layout is not found.
10166
10167 2002-03-07  Juergen Vigna  <jug@sad.it>
10168
10169         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10170
10171 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * paragraph.C (breakParagraph): use default layout not layout of
10174         prev paragraph.
10175         (Paragraph): clear ParagraphParameters.
10176
10177 2002-03-06  Juergen Vigna  <jug@sad.it>
10178
10179         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10180         otherwise it would not be a valid lenght. Fixed a special case in
10181         the minipage compatibility read where we end the document with a
10182         minipage.
10183
10184         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10185         was set as it could be 0 for InsetTexts first entry.
10186
10187 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * paragraph.C (writeFile): if layout is empty write out
10190         defaultLayoutName().
10191
10192         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10193         file without named layout we set layout to defaultLayoutName().
10194
10195 2002-03-06  Juergen Vigna  <jug@sad.it>
10196
10197         * CutAndPaste.C (copySelection): set layout for new paragraph.
10198
10199         * text.C (prepareToPrint): leave ERT inset left aligned
10200         (leftMargin): don't indent paragraphs inside ERT insets
10201
10202 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10203
10204         * paragraph.C (breakParagraph): dont call clear do the work manually
10205
10206         * paragraph.[Ch] (clear): remove function
10207
10208 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * paragraph.C (Paragraph): dont call clear, the work has already
10211         been done.
10212
10213         * lyxtextclass.C (operator): assert if n is empty
10214
10215         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10216         work manually instead.
10217
10218 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView_pimpl.C: protect selectionLost against text == 0
10221
10222 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * text.C (breakParagraph): fix a setting layout to '0' problem.
10225
10226 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10227
10228         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10229         final location of file, for the included files, and graphics.
10230
10231 2002-03-05  Juergen Vigna  <jug@sad.it>
10232
10233         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10234
10235 2002-03-04  Juergen Vigna  <jug@sad.it>
10236
10237         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10238
10239         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10240         last column of multicolumn cells.
10241         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10242
10243 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10244
10245         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10246         file if it doesn't go to a temporary file.
10247
10248         * buffer.C (sgmlOpenTag):
10249         (sgmlCloseTag):  remove extra newline insertion.
10250
10251 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10252
10253         * text.C (getRowNearY): comment out debug msg
10254
10255 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10256
10257         * text2.C: first -> first_y
10258
10259         * text.C (getRowNearY): add some attemts at a possible
10260         optimization, not working.
10261
10262         * tabular.[Ch]: add BufferParams to several function so that newly
10263         created paragraph can be initialized to he default layotu for the
10264         buffers textclass.
10265
10266         * tabular-old.C (ReadOld): add buf->params to call of Init
10267
10268         * screen.C: rename text->first to text->first_y
10269
10270         * paragraph.C (breakParagraph): always set layout in the broken
10271         paragraph
10272
10273         * lyxtextclass.C (Read): remove lowercase
10274         (hasLayout): ditto
10275         (operator): ditto
10276         (delete_layout): ditto
10277
10278         * lyxtext.h: rename first -> first_y
10279
10280         * lyxlayout.C (Read): remove lowercase
10281         (name): ditto
10282         (setName): ditto
10283         (obsoleted_by): ditto
10284
10285         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10286
10287         * buffer.C (insertErtContents): add params are to InsetERT
10288         (parseSingleLyXformat2Token): add code to check if a paragraphs
10289         layout really exist.
10290         (parseSingleLyXformat2Token): add params to several inset
10291         constructors
10292         (asciiParagraph): remove lowercase, do the layout comparisons with
10293         no_case
10294
10295         * BufferView_pimpl.C (cursorNext): first -> first_y
10296         (resizeCurrentBuffer): first -> first_y
10297         (updateScrollbar): first -> first_y
10298         (scrollCB): first -> first_y
10299         (workAreaMotionNotify): first -> first_y
10300         (workAreaButtonPress): first -> first_y
10301         (checkInsetHit): first -> first_y
10302         (cursorPrevious): first -> first_y
10303         (cursorNext): first -> first_y
10304         (Dispatch): add buffer_->params to severl inset contructors
10305
10306 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * lyxlayout.C (Read): remove some debug info that I forgot.
10309
10310         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10311         clean up the code slightly.
10312         (makeLinuxDocFile): ditto
10313         (makeDocBookFile): ditto
10314
10315         * text2.C: layout as string
10316
10317         * text.C: layout as string
10318
10319         * paragraph_pimpl.C: layout as string
10320
10321         * paragraph.[Ch]: layout as string
10322
10323         * lyxtextclasslist.[Ch]: layout as string
10324
10325         * lyxtextclass.[Ch]: layout as string
10326
10327         * lyxtext.h: layout as string
10328
10329         * lyxlayout.[Ch]: layout as string
10330
10331         * lyx_cb.C: layout as string
10332
10333         * bufferview_funcs.C: layout as string
10334
10335         * bufferparams.C: layout as string
10336
10337         * buffer.C: layout as string
10338
10339         * LyXView.[Ch]: layout as string
10340
10341         * LaTeXFeatures.[Ch]: layout as string
10342
10343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10344
10345         * BufferView_pimpl.C: change current_layout to string, remove
10346         lyx::layout_type.
10347         (Dispatch):
10348         (smartQuote):
10349         (insertInset):
10350         (workAreaButtonRelease): layout as string
10351
10352         * BufferView2.C (unlockInset): adjust
10353
10354         * vspace.C (asLatexCommand): use an explict temp variable.
10355
10356 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * Makefile.am: use FRONTEND_*
10359
10360 2002-03-01  Juergen Vigna  <jug@sad.it>
10361
10362         * tabular.C (SetWidthOfMulticolCell): changed to something better
10363         I hope but still work in progress.
10364         (recalculateMulticolumnsOfColumn): renamed function from
10365         recalculateMulticolCells as it is more appropriate now.
10366         (SetWidthOfCell): calculate multicols better.
10367
10368 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10371
10372         * lyxfunc.C (processKeySym): print sequence also if it is
10373         `deleted' (complete)
10374
10375         * kbsequence.C (print): print sequence even if it is deleted
10376         (complete would be a better word, actually).
10377
10378         * lyxfunc.C (dispatch): print complete options after a prefix key
10379
10380         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10381
10382 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10383
10384         * text2.C (setCharFont): eliminate setCharFont code duplication.
10385
10386 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10389         LFUN_TABULAR_FEATURE (bug #177)
10390
10391 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10392
10393         * Makefile.am: remove figure.h
10394
10395 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10396
10397         * Bufferview_pimpl.C:
10398         * CutAndPasteC:
10399         * LaTeX.C:
10400         * LyXSendto.C:
10401         * buffer.C:
10402         * bufferlist.C:
10403         * converter.C:
10404         * language.C:
10405         * lyxfunc.C:
10406         * lyxvc.C:
10407         * paragraph.C:
10408         * text.C:
10409         * text2.C: remove #include "lyx_gui_misc.h".
10410
10411         * LaTeX.C: added #include <cstdio>
10412
10413 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10416         that the paragraph following this one can have.
10417
10418         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10419
10420         * vspace.C (asLatexCommand): fix bogus gcc warning
10421
10422         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10423
10424 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10425
10426         * text2.C (setLayout): get rid of redundant code
10427
10428 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10429
10430         * text2.C (incDepth): make sure depth cannot be increased beyond
10431         reasonable values.
10432
10433 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10434
10435         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10436         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10437
10438         * PainterBase.h (image):
10439         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10440         a LyXImage const *.
10441
10442 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * BufferView.C:
10445         * BufferView.h:
10446         * BufferView_pimpl.C:
10447         * BufferView_pimpl.h:
10448         * LaTeXFeatures.C:
10449         * LyXAction.C:
10450         * LyXView.C:
10451         * Makefile.am:
10452         * UpdateList.h:
10453         * UpdateList.C:
10454         * buffer.C:
10455         * figure.h:
10456         * figureForm.C:
10457         * figureForm.h:
10458         * figure_form.C:
10459         * figure_form.h:
10460         * lyx_cb.C:
10461         * lyx_gui.C:
10462         * lyx_gui_misc.C:
10463         * lyxfunc.C:
10464         * sp_base.h:
10465         * sp_ispell.h:
10466         * sp_pspell.h:
10467         * sp_spell.C: remove fig inset, and the crap house of
10468           cards that follows it
10469
10470 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * Makefile.am:
10473         * lyxserver.C:
10474         * os2_defines.h:
10475         * os2_errortable.h:
10476         * nt_defines.h: move .h into support/
10477
10478         * vms_defines.h: remove
10479
10480         * WorkArea.C: add space in debug output
10481
10482         * text2.C:
10483         * paragraph.C:
10484         * buffer.C: add WITH_WARNINGS
10485
10486         * vc-backend.h:
10487         * vc-backend.C:
10488         * bufferlist.C: s/retrive/retrieve/, add docs
10489
10490         * vspace.h:
10491         * vspace.C:
10492         * kbmap.h:
10493         * lyxlength.h:
10494         * lyxgluelength.h:
10495         * length_common.h:
10496         * chset.h:
10497         * chset.C: add docs
10498
10499         * lyxgui.C: add ID to X error handler
10500
10501         * lyxtestclass.c: fix typo
10502
10503 2002-02-26  Juergen Vigna  <jug@sad.it>
10504
10505         * tabular_funcs.C (write_attribute): changed so that some default
10506         attributes are not written at all.
10507         (getTokenValue): set default values before trying to read the
10508         value so we have the return value always set as default if we don't
10509         find the token we search for.
10510
10511         * tabular.C (Write): write bools as bools not as strings!
10512
10513 2002-02-22  Juergen Vigna  <jug@sad.it>
10514
10515         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10516         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10517
10518         * text.C (leftMargin): don't add an indent for paragraphs inside
10519         tabular cells (fix #208).
10520
10521 2002-02-21  José Matos  <jamatos@fep.up.pt>
10522
10523         * tabular.C (docBook): fixed support for long tables.
10524
10525 2002-02-20  Juergen Vigna  <jug@sad.it>
10526
10527         * text2.C (getFont): get the drawing font of the Inset if this
10528         paragraph is inside an inset (only important for InsetERT for now).
10529
10530         * buffer.C (insertErtContents): use new lanugage params in ERT
10531         constructor.
10532
10533         * CutAndPaste.C: commenting out seemingly uneeded code.
10534
10535 2002-02-19  Allan Rae  <rae@lyx.org>
10536
10537         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10538         Iterators might be simple to use but they also get invalidated.
10539         (removeAutoInsets): renamed saved cursor tracking variables and added
10540         some comments to clarify what everything does.
10541
10542 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10543
10544         * Chktex.C:
10545         * LaTeX.C:
10546         * LyXSendto.C:
10547         * converter.C:
10548         * lyx_cb.C:
10549         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10550         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10551
10552         * lyxfunc.C:
10553         * vc-backend.h: remove #include "support/syscall.h"
10554
10555         * LaTeX.C:
10556         * LyXSendto.C:
10557         * converter.C: rearrange #includes in Lars' approved fashion.
10558
10559         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10560         forward declare class Timeout in the header file.
10561
10562         * XFormsView.C: changes due to the above.
10563
10564         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10565         similar to LyXView.
10566
10567         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10568         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10569
10570 2002-02-18  José Matos  <jamatos@fep.up.pt>
10571
10572         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10573         insets contents.
10574
10575 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10576
10577         * a lot of small ws changes
10578         * add a lot of using std::XXX
10579         * use std construcs some places where approp.
10580         * use some exisint stuff from lyxfunctional where approp.
10581         * Make file changes to use partial linking (lets test this now...)
10582
10583 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10584
10585         * Chktex.C:
10586         * buffer.C:
10587         remove #include "support/syscontr.h" as it's redundant. Always has been.
10588
10589         * Chktex.C:
10590         * LaTeX.C:
10591         * LyXSendto.C:
10592         * converter.C:
10593         * lyx_cb.C:
10594         * vc-backend.C:
10595         change Systemcalls::System to Systemcalls::Wait and
10596         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10597         No change of functionality, just reflects the stripped down Systemcalls
10598         class.
10599
10600 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10601
10602         * debug.[Ch]: add a GRAPHICS type to the enum.
10603
10604 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10605
10606         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10607
10608         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10609         there is an inset.
10610
10611 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10614         match the changes below.
10615
10616         * text2.C (toggleInset): if there is not editable inset at cursor
10617         position, try to see if cursor is _inside_ a collapsable inset
10618         and close it.
10619
10620 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10623         document menu has a nice checkbox
10624
10625 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyxlength.C (asLatexString): change PW to output as percent of
10628         \textwidth.
10629
10630         * lengthcommon.C: change '%' to 't%'
10631
10632         * lyxfunc.C (dispatch): a few comments from Martin
10633
10634 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * WorkArea.h:
10637         * WorkArea.C:
10638         * BufferView_pimpl.h:
10639         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10640           the X selection.
10641
10642 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * vspace.C (inPixels): fix compiler warning
10645
10646 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10647
10648         * lyxfunc.C (getStatus): fix status message for disabled commands.
10649
10650 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * BufferView_pimpl.C: fix crash on close buffer
10653         during selection (#227)
10654
10655 2002-01-27  Herbert Voss  <voss@lyx.org>
10656
10657         * buffer.C: link old Figure to new graphic inset
10658
10659 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * FontLoader.C (getFontinfo): Change the latex font names in order
10662         to match the names of type1inst.
10663
10664 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10665
10666         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10667
10668         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10669         (extchanged): ditto
10670         (ext_exist): ditto
10671         (remove_files_with_extension): ditto
10672         (remove_file): ditto
10673         (write): ditto
10674
10675         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10676         document is smaller than the work area height. Do not initialize
10677         static variables to 0.
10678
10679 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10682
10683         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10684         LFUN_LAYOUT_PARAGRAPHS.
10685
10686         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10687         tabular. It is possible to provide a possible cell, which will
10688         typically be the actcell from the corresponding insettabular
10689
10690         * lyxfunc.C (getStatus): small cleanup; disable
10691         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10692         true
10693
10694 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10697
10698         * paragraph.C (startTeXParParams):
10699         (endTeXParParams): new methods. The LaTeX code to
10700         start/end paragraph formatting
10701         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10702         empty (fixes bug #200)
10703
10704         * vspace.C (inPixels): adapt to the change below
10705         (inPixels): [later] more cleanups (remove unused variables)
10706
10707         * lyxlength.C (inPixels): change to use a width and a height as
10708         parameter.
10709
10710 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10713         Replaced with \paperwidth
10714
10715         * DepTable.C (insert): add std:: qualifier
10716
10717 2002-01-18  Allan Rae  <rae@lyx.org>
10718
10719         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10720         updated also?
10721
10722         * text.C (drawInset): Turned out I didn't know enough about how
10723         rebreaking worked.  This fixes most of the redraw problems.  I see
10724         an occasional cursor trail when a line is broken now and the cursor
10725         placement can seem out by a few pixels also after a rebreak.
10726
10727 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * buffer.C (parseSingleLyXformat2Token): update because minipage
10730         width is now a LyXLength
10731
10732         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10733
10734         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10735         math insets
10736
10737 2002-01-17  Juergen Vigna  <jug@sad.it>
10738
10739         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10740
10741         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10742         is set correctly and the inset is updated correctly.
10743
10744 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10747         the beginning of the loop.
10748
10749 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10750
10751         * lyxrc.C: improve help for use_scalable_fonts
10752
10753 2002-01-17  Allan Rae  <rae@lyx.org>
10754
10755         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10756
10757 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10760         make sure to set their inset_owner to the right value (bug #171)
10761
10762 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10763
10764         * DepTable.h
10765         * DepTable.C: Implement mtime checking to reduce time spent doing
10766         CRCs.
10767
10768 2002-01-16  Juergen Vigna  <jug@sad.it>
10769
10770         * tabular.C (GetAdditionalHeight): one of error fixed.
10771
10772         * lyxrc.C (output): small fix in writing use_pspell.
10773
10774 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10775
10776         * sp_base.h: #include LString.h
10777
10778 2002-01-16  Allan Rae  <rae@lyx.org>
10779
10780         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10781         Can someone check this please?
10782
10783         * text.C (drawInset): It was possible that p.row would be removed by
10784         breakAgainOneRow upsetting a few other settings.  There may be another
10785         small tweak possible by setting need_break_row = 0 when p.row has been
10786         removed but I don't know enough about the logic here.
10787
10788 2002-01-15  Allan Rae  <rae@lyx.org>
10789
10790         * text.C (insertChar): removed conditional truism.
10791
10792         * BufferView2.C (removeAutoInsets): More tweaks.
10793         cur_par_prev could be a stray pointer.  Check for trailing empty line
10794         in case last line was cur_par and only had an error inset on it.
10795
10796 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10799         absolute
10800
10801         * vc-backend.C (most methods):
10802         * exporter.C (Export):
10803         * converter.C (convert):
10804         (runLaTeX):
10805         * LyXSendto.C (SendtoApplyCB):
10806         * lyxfunc.C (dispatch):
10807         (menuNew):
10808         (open):
10809         (doImport):
10810         * lyx_cb.C (AutoSave):
10811         (InsertAsciiFile):
10812         * BufferView_pimpl.C (MenuInsertLyXFile):
10813         * buffer.C (runChktex): use Buffer::filePath().
10814
10815         * buffer.h: rename filename to filename_; rename filepath to
10816         filepath_ and make it private
10817         (filePath): new method
10818
10819         * buffer.C (writeFile): use fileName()
10820         (getLatexName):
10821
10822         * lyx_main.C (init): fix starting  of LyX when the binary is a
10823         link from so,ewhere else.
10824
10825         * minibuffer.C: include <cctype> for isprint
10826
10827 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10828
10829         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10830         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10831         name clash with InsetCollapsable's width function.
10832
10833 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * lastfiles.C: include <iterator>
10836
10837 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10840         std::count.
10841
10842         * buffer.C (makeLaTeXFile): ditto.
10843         Also make loop operation more transparent.
10844
10845 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * ToolbarDefaults.C: remove trailing comma closing namespace.
10848
10849         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10850
10851         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10852         as in WorkArea.
10853
10854         * trans.C (Load): comment out unused variable, allowed.
10855
10856 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10857
10858         * minibuffer.[Ch] (append_char): new method to recieve input from the
10859         drop-down completion browser. If a key was pressed, then recieve this
10860         char and append it to the existing string.
10861         (peek_event): modify the positioning data passed to the completion
10862         browser so that it can be placed above the minibuffer rather than below.
10863 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10864
10865         * LyXAction.C (init): alloe error-next for readonly documents.
10866
10867         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10868         count.
10869
10870 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * bufferlist.C (readFile): create the buffer _after_ checking that
10873         the file exists.
10874
10875         * lyxfunc.C (verboseDispatch): fix handling of arguments
10876
10877         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10878
10879         * lyxrc.C: use string::erase() instead of initializing to "".
10880
10881
10882 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * BufferView_pimpl.h:
10885         * BufferView_pimpl.C:
10886         * WorkArea.h:
10887         * WorkArea.C:
10888         * text2.C: tell X when we have made a selection for copying
10889
10890 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * BufferView_pimpl.C (MenuInsertLyXFile):
10893         * lyxfunc.C (menuNew):
10894         (open):
10895         (doImport): add shortcuts to directory buttons
10896
10897         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10898         open a float)
10899
10900         * lyxfunc.C (setStatusMessage):
10901         (getStatusMessage): new methods
10902         (getStatus):use setStatusMessage instead of setErrorMessage
10903         (dispatch): when function is disabled, set error message here
10904         [instead of in getStatus previously]
10905
10906         * BufferView_pimpl.C (workAreaButtonRelease): update
10907         toolbar/menubar here too.
10908
10909 2002-01-13  Allan Rae  <rae@lyx.org>
10910
10911         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10912         Now seems indestructible.  Remaining task is to audit all other
10913         code affected by deleteEmptyParagraphMechanism.  One small quirk
10914         left is that an empty document with an error in the preamble can
10915         be made to report an error but no error box appears.  I don't know
10916         where it goes.
10917         (removeAutoInsets): Improved comments.
10918
10919 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * Thesaurus.h:
10922         * Thesaurus.C: update for Aiksaurus 0.14
10923
10924 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * text2.C (firstParagraph): removed member function, all uses
10927         replaces with ownerParagraph
10928         (redoParagraphs): here
10929         (updateInset): here
10930         (toggleAppendix): here
10931         * BufferView2.C (insertErrors): here
10932         (setCursorFromRow): here
10933
10934 2002-01-13  Allan Rae  <rae@lyx.org>
10935
10936         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10937         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10938         There is still a way to segfault this although you may have to do this
10939         multiple times: Have an InsetERT with an unknown command in it.
10940         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10941         <down-arrow>, <Enter> again, View->DVI, BANG!
10942
10943         * text2.C (setCursor):
10944         (deleteEmptyParagraphMechanism):
10945         * lyxtext.h (setCursor):
10946         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10947         Making use of the return value may help fix other bugs.
10948
10949 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10950
10951         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10952
10953         * LyXView.C (updateMenubar): call MenuBar::update here
10954         (updateToolbar): but not here
10955         (showState): do not update toolbar/menubar
10956
10957         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10958         should need to care about that.
10959
10960         * lyxfunc.C (verboseDispatch): simplify a bit
10961         (getStatus): have a version which takes a pseudoaction, and
10962         another which requires a (kb_action,string).
10963
10964         * LyXAction.C (retrieveActionArg): make it work also when action
10965         is not a pseudo-action.
10966         (getActionName): simplify a bit
10967         (helpText):
10968
10969 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * lyxfunc.C (verboseDispatch): new families of methods with
10972         several ways to specify a command and a bool to indicate whether
10973         the command name and shortcut should be displayed in minibuffer
10974         (eventually, we could extend that to a finer bitmask like
10975         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10976         (dispatch): the pristine dispatch command which just, well,
10977         dispatchs! Note it still sets its result to minibuffer; I'm not
10978         sure we want that.
10979
10980         * lyxfunc.h: remove setHintMessage
10981
10982         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10983
10984 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * BufferView_pimpl.C (specialChar): delete new inset if we have
10987         not been able to insert it.
10988
10989         * kbmap.C: revert to using int instead of kb_action, since all we
10990         are dealing with is pseudo-actions.
10991
10992         * LyXAction.C (searchActionArg): change to return int instead of
10993         kb_action, since the result is a pseudoaction.
10994
10995 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * buffer.C (insertErtContents): Fix (partially) the font bug.
10998
10999 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11000
11001         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11002         as the other one is broken on my machine!
11003
11004 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11005
11006         * commandtags.h:
11007         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11008
11009 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11010
11011         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11012         reflect their actual use. Provide compatibility code for older lyxrc
11013         files.
11014
11015         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11016         FL_NORMAL_STYLE.
11017         change names of popup font variables in line with the changes to lyxrc.C
11018
11019 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11020
11021         * buffer.C (asciiParagraph): avoid outputing a word twice after
11022         an inset.
11023
11024         * lyxrc.C (getDescription): document that document_path and
11025         template_path can be empty.
11026
11027 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * LaTeXFeatures.C (getMacros):
11030         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11031
11032         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11033
11034         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11035         getPackages.
11036         (getPackages): rename feature "floats" to "float". Use an array to
11037         iterate over 'simple' features (i.e. just a \usepackage). Add
11038         handling of "amsmath" (renamed from "amsstyle").
11039
11040 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11041
11042         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11043         features list.
11044
11045 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11046
11047         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11048         FuncStaus::FuncStatus & FuncStaus::some_method().
11049
11050 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11051
11052         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11053         of the func_satus stuff. Edited and massaged in various ways by
11054         JMarc.
11055
11056         * lyxfunc.C (getStatus): use FuncStatus
11057
11058 2002-01-08  Juergen Vigna  <jug@sad.it>
11059
11060         * text.C (nextBreakPoint): use function Inset::isChar().
11061
11062         * paragraph.C (TeXOnePar): use function
11063         Inset::forceDefaultParagraphs.
11064
11065         * buffer.C (latexParagraphs): use function
11066         Inset::forceDefaultParagraphs.
11067
11068 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11069
11070         * lyx_gui.C (init): set the style of the menu popups to
11071         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11072
11073 2002-01-07  Juergen Vigna  <jug@sad.it>
11074
11075         * text.C (setHeightOfRow): small fix
11076         (prepareToPrint): don't look at alignment if we don't have the place
11077         for doing it.
11078
11079 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * box.C: New file. Move the Box methods and functions out of box.h,
11082         following Lars' suggestion.
11083
11084 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11085
11086         * box.h: #include "support/LOstream.h", needed for inlined function.
11087
11088         * lyxtextclass.C:
11089         * lyxtextclasslist.C: added some using std declarations.
11090
11091 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * box.h: make signed dimensions to allow insets wider than
11094           the screen (bug #162)
11095
11096         * BufferView_pimpl.C: add some insetHit debug
11097
11098 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11099
11100         * vc-backend.C: add FIXME
11101
11102 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11103
11104         * lyxfunc.C (getStatus): enable code for showing math font status
11105         in toolbar/menu.
11106
11107 2002-01-07  Juergen Vigna  <jug@sad.it>
11108
11109         * text.C (nextBreakPoint): removed debug output not needed anymore.
11110
11111 2002-01-06  Juergen Vigna  <jug@sad.it>
11112
11113         * text.C (nextBreakPoint): fixed up this function we had this bug
11114         since ever but now hopefully we break row better.
11115         (insertChar): we have to check if an inset is the next char as it
11116         could now happen that a large inset is causing a break.
11117
11118 2002-01-05  Juergen Vigna  <jug@sad.it>
11119
11120         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11121         if it doesn't like to be drawed.
11122
11123 2002-01-04  Juergen Vigna  <jug@sad.it>
11124
11125         * BufferView2.C (lockInset): forgot to set a cursor.
11126
11127         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11128
11129 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11130
11131         * FormMathsPanel.C:
11132         * FormMathsPanel.h
11133         * MathsSymbols.C:
11134         * form_maths_panel.C:
11135         * form_maths_panel.h:
11136         * form_maths_panel.fd: implemented sub- and super- buttons in math
11137         panel.
11138
11139         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11140         (or ^ space) to be used as in TeX (req'd by André).
11141
11142         * lyxfunc.C: Allow ^ and _ again to be used both as
11143         super/subscript (mathed) and as themselves (in text).
11144
11145 2002-01-03  Allan Rae  <rae@lyx.org>
11146
11147         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11148         "LyX" or the filename of the current buffer if it has one.  This is a
11149         modified form of John Levon's patch.
11150
11151         * XFormsView.C (setWindowTitle): also set icon title.
11152
11153         * LyXView.h (setWindowTitle): signature changed.
11154         * XFormsView.h (setWindowTitle): ditto.
11155
11156 2002-01-02  Juergen Vigna  <jug@sad.it>
11157
11158         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11159
11160 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * screen.C (topCursorVisible): introduce a temp var for
11163         text->cursor.row(), handle the case where this row is null. (kindo
11164         hachish)
11165
11166         * text2.C (setCursor): add a couple of asserts.
11167
11168         * paragraph.h (inset_iterator): add -> operator
11169
11170         * paragraph.[Ch] (autoDeleteInsets): remove member function
11171
11172         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11173         cursor pos correctly and handle inset deletion by itself.
11174         (insertErrors): move iterator declaration out of for expression
11175
11176         * lyxtextclass.C: add <algorithm>
11177
11178         * Makefile.am: added the new files to sources, removed layout.C
11179
11180         * layout.C: removed file
11181
11182         * layout.h: remove LYX_DUMMY_LAYOUT
11183
11184         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11185         layout.
11186
11187         * lyxlayout.[Ch]:
11188         * lyxtextclass.[Ch]:
11189         * lyxtextclasslist.[Ch]: new files
11190
11191         * include order changes to a lot of files, also changes because of
11192         the six new files.
11193
11194 2001-12-27  Juergen Vigna  <jug@sad.it>
11195
11196         * buffer.C (asciiParagraph): more fixes.
11197
11198         * tabular.C (ascii): make ascii export support export of only the
11199         data separated by a column-delimiter.
11200         (ascii): better support for ascii export.
11201
11202         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11203
11204 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * tabular_funcs.C: use a "using std::getline" instead of the
11207         previous fix from Angus (necessary for cxx + lyxstring)
11208
11209 2001-12-24  Juergen Vigna  <jug@sad.it>
11210
11211         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11212
11213         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11214         problems. First check a minipage also if we have some ert-contents
11215         (not only on par->size(), second set the right depth of the paragraph
11216         on the relink to the root-paragraph-list!
11217
11218         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11219         which then did not anymore update the main paragraphs on undo/redo!
11220
11221 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11224         code. Support all font-changing funcs (even those which are not in
11225         menu currently). Support for reporting font settings in
11226         mathed (disabled until Andre provides a function on mathed's side).
11227
11228         * func_status.h (toggle): small helper function to set toggle
11229         state on a flag.
11230
11231 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11232
11233         * tabular_funcs.C: getline -> std::getline
11234
11235 2001-12-21  Juergen Vigna  <jug@sad.it>
11236
11237         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11238         accessed and could be 0 (I couldn't generate this but it seems
11239         Michael could!).
11240
11241 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11244         * tabular_funcs.h: here and include iosfwd
11245
11246 2001-12-20  Juergen Vigna  <jug@sad.it>
11247
11248         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11249         inside inset but undo_par was.
11250
11251 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * Thesaurus.C: always include <config.h> in sources.
11254
11255         * Painter.h:
11256         * lyxlookup.h:
11257         * box.h: do not include <config.h> in header files
11258
11259         * text.C (paintLastRow): remove unused variable
11260
11261         * text.C (transformChar):
11262         (insertChar):
11263         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11264
11265         * Painter.C (text):
11266         * font.C (width): rewrite to use uppercase() instead of
11267         islower/toupper.
11268
11269         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11270
11271 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * lyxfind.C: clean up of find failure position change
11274
11275 2001-12-20  Juergen Vigna  <jug@sad.it>
11276
11277         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11278
11279         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11280         (TeXRow): added to LaTeX a single tabular row.
11281         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11282         (Latex): simplified and finally good LT-h/f support.
11283         (various_functions): just small adaptions for LT-h/f support.
11284
11285         * tabular_funcs.[hC]: added and moved here all not classfunctions
11286         of LyXTabular.
11287
11288 2001-12-19  Juergen Vigna  <jug@sad.it>
11289
11290         * tabular.[Ch]: better support for longtabular options (not finished
11291         yet!)
11292
11293 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11294
11295         * text.C (paintLastRow): use the label font instead of the font of
11296         the last character to compute the size of *_BOX. This makes more
11297         sense and avoids a crash with empty paragraphs.
11298         Use Painter::rectangle to draw EMPTY_BOX.
11299
11300 2001-12-19  Juergen Vigna  <jug@sad.it>
11301
11302         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11303         the paragraphs if the replaced paragraph is not the first one!
11304         Tried to delete not used paragraphs but does not work yet so for
11305         now it's inside #ifdef's and by default off!
11306
11307 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * MenuBackend.C: include "lyx_main.h" instead of declaring
11310         lastfiles (actually was declared as LastFiles* instead of a
11311         scoped_ptr).
11312
11313 2001-12-17  Juergen Vigna  <jug@sad.it>
11314
11315         * tabular.C (AppendColumn): applied John's fix
11316
11317 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView.h:
11320         * BufferView.C:
11321         * BufferView_pimpl.h:
11322         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11323
11324         * Makefile.am:
11325         * box.h: new start of class for above
11326
11327         * lyxfunc.C: ignore space-only minibuffer dispatches.
11328           Show the command name when it doesn't exist
11329
11330         * minibuffer.C: don't add empty lines to the history
11331
11332         * minibuffer.C: add a space on dropdown completion
11333
11334 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * text.C: fix line above/below drawing in insets
11337
11338 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * lyxlength.C (LyXLength): Initialize private variables.
11341
11342 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11343
11344         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11345         when inserting error insets.
11346
11347 2001-12-13  Juergen Vigna  <jug@sad.it>
11348
11349         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11350         actually sometimes the before-paragraph.
11351         (setUndo): don't clear the redostack if we're not actually undoing!
11352
11353 2001-12-06  Juergen Vigna  <jug@sad.it>
11354
11355         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11356         and fixed redoing of main paragraph, so we can use it now ;)
11357
11358         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11359
11360 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11363         Juergen's request
11364
11365 2001-12-13  André Pönitz <poenitz@gmx.net>
11366
11367         * undostack.[Ch]:
11368         * undo_func.C: minor cleanup
11369
11370 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11373         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11374         font in urw-fonts package which is marked as -urw-fontspecific and
11375         does not work (incidentally, changing the encoding in the
11376         fonts.dir of this package to -adobe-fontspecific fixes the
11377         problem).
11378
11379         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11380         is a crash when undoing first paragraph (Juergen, please take a
11381         look). THis does not mean the undo fix is wrong, just that it
11382         uncovers problems.
11383
11384         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11385         the (Paragraph*) version when needed instead of duplicating the
11386         code.
11387
11388         * text.C (workWidth): use Inset::parOwner to find out where the
11389         inset has been inserted. This is a huge performance gain for large
11390         documents with lots of insets. If Inset::parOwner is not set, fall
11391         back on the brute force method
11392
11393         * paragraph_pimpl.C (insertInset):
11394         * paragraph.C (Paragraph):
11395         (cutIntoMinibuffer): set parOwner of insets when
11396         inserting/removing them
11397
11398         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11399
11400 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11401
11402         * commandtags.h:
11403         * LyXAction.C:
11404         * lyx_main.C:
11405         * lyxfunc.C:
11406         * mathed/formulabase.C:
11407         * mathed/math_cursor.[Ch]:
11408         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11409
11410
11411 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * lyxlength.[Ch] (operator!=): new function
11414
11415 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11416
11417         * text.C (workWidth): use Inset::parOwner to find out where the
11418         inset has been inserted. This is a huge performance gain for large
11419         documents with lots of insets. If Inset::parOwner is not set, fall
11420         back on the brute force method
11421
11422         * paragraph_pimpl.C (insertInset):
11423         * paragraph.C (Paragraph):
11424         (cutIntoMinibuffer): set parOwner of insets when
11425         inserting/removing them
11426
11427         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11428
11429 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * tabular-old.C (getTokenValue):
11432         * tabular.C (getTokenValue):
11433         (write_attribute): new versions for LyXLength
11434         (everywhere): adjust the use of widths
11435
11436         * tabular.h: change the type of widths from string to LyXLength
11437
11438 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11439
11440         * paragraph.C: fixed missing line number count when exporting
11441         Environments to LaTeX file
11442
11443         * buffer.C: added informational message for checking line numbers.
11444
11445 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11448         paragraph, do the 'double space' part, but not the 'empty
11449         paragraph' one.
11450
11451         * text.C (workWidth): small optimization
11452         (getLengthMarkerHeight): use minimal size for negative lengths.
11453
11454 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11455
11456         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11457
11458         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11459
11460 2001-12-11  André Pönitz <poenitz@gmx.net>
11461
11462         * FontLoader.C:
11463         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11464
11465 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * text2.C: keep selection on a setFont()
11468
11469 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyx_cb.C: another bv->text misuse, from insert label
11472
11473 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * kbsequence.h:
11476         * kbsequence.C: re-instate nmodifier mask
11477
11478 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11479
11480         * lyx_main.h: make lyxGUI private.
11481
11482 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * lyxfind.C: place the cursor correctly on failed search
11485
11486 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11487
11488         * text.C (getLengthMarkerHeight): for small heights, the arrows
11489         are not always on top/bottom of the text
11490         (drawLengthMarker): smaller arrows; take the left margin in
11491         account; draw also vfills.
11492         (paintFirstRow):
11493         (paintLastRow): remove special code for vfill and standard spaces,
11494         since everything is handled in drawLengthMarker now.
11495
11496 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * buffer.C (insertErtContents): try to handle font and language
11499         interaction a bit better.g
11500
11501         * ColorHandler.C (updateColor): change the hash to cover the whole
11502         LColor enum, ws cleanup
11503         (getGCLinepars): ditto
11504         (getGCLinepars): only lookup in the linecache once.
11505
11506 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11507
11508         * iterators.C (operator++): Make the iterator more robust
11509
11510         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11511         (John's patch)
11512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11513
11514 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * lyxtext.h:
11517         * text.C: better added space drawing
11518
11519 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * LyXView.C:
11522         * BufferView2.C: fix layout combo update on inset unlock
11523
11524 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * Makefile.am: don't compile unused files
11527
11528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * lyxfunc.C:
11531         * commandtags.h:
11532         * LyXAction.C: remove old LFUN_LAYOUTNO
11533
11534 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * paragraph_pimpl.h:
11537         * paragraph_pimpl.C: isTextAt() doesn't need font param
11538
11539 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * lyxlex.h:
11542         * lyxlex.C: little cleanup
11543
11544 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * BufferView_pimpl.C: fix insertAscii for insets
11547
11548 2001-12-05  Juergen Vigna  <jug@sad.it>
11549
11550         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11551         set the right font on the "multi" paragraph paste!
11552
11553 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * trans_decl.h:
11556         * trans_mgr.[Ch]:
11557         * trans.[Ch]:
11558         * lyxgluelength.C:
11559         * lyxlength.C: remove out-commented code.
11560
11561         * BufferView_pimpl:
11562         * CutAndPaste.C:
11563         * DepTable.C:
11564         * buffer.C:
11565         * chset.C:
11566         * lastfiles.C:
11567         * lyxlex.C:
11568         * lyxlex_pimpl.C:
11569         * lyxserver.C:
11570         * screen.C:
11571         * tabular-old.C:
11572         * tabular.C:
11573         * text.C:
11574         * trans_mgr.C:
11575         * vc-backend.C: change "while(" to "while ("
11576
11577         * lyxlength.[Ch]: add zero function to check if length is zero or
11578         not
11579         * lyxgluelength.C: use it
11580
11581 2001-12-05  Allan Rae  <rae@lyx.org>
11582
11583         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11584         Works for 2.95.3, from what I understand of Garst's reports this should
11585         work for other g++ versions.  We're screwed if the abs(int) definition
11586         changed between bugfix releases of gcc.
11587
11588 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * text.C: fix chapter label offset !
11591
11592 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * lyxtext.h:
11595         * text.C: fix hfill at end of line, clean up
11596
11597 2001-12-04  Juergen Vigna  <jug@sad.it>
11598
11599         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11600         that we force an update of the inset and it's owners if neccessary.
11601
11602 2001-12-03  Juergen Vigna  <jug@sad.it>
11603
11604         * text.C (rowLast): simplified code
11605
11606 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * lyxfunc.C: fix show options on timeout
11609
11610 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * screen.C (topCursorVisible): scroll half a page when the cursor
11613         reached top of bottom of screen
11614
11615 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * minibuffer.C: deactivate on loss of focus
11618
11619 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * vspace.[Ch] (operator!=): add operator.
11622
11623 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * BufferView_pimpl.C: refuse to open an inset when
11626         there's a selection.
11627
11628 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * BufferView_pimpl.C: allow to click on RHS of full row insets
11631
11632 2001-11-30  Juergen Vigna  <jug@sad.it>
11633
11634         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11635         insets for undo reasons.
11636
11637 2001-11-28  André Pönitz <poenitz@gmx.net>
11638
11639         * vspace.[Ch]: cosmetical changes
11640
11641 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * LyXAction.h:
11644         * LyXAction.C:
11645         * lyxfunc.h:
11646         * lyxfunc.C:
11647         * kbmap.h:
11648         * kbmap.C:
11649         * lyxrc.C:
11650         * kbsequence.h:
11651         * kbsequence.C: part re-write of old kb code
11652
11653         * Painter.C:
11654         * WorkArea.C: remove Lgb_bug_find_hack
11655
11656 2001-11-30  José Matos <jamatos@fep.up.pt>
11657
11658         * buffer.C (makeDocBookFile): add a comment to point a hack.
11659         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11660         Fixed a double write of labels.
11661
11662 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11663
11664         * LaTeX.C:
11665         * LaTeX.h Fixed bug in LaTeX class where it would not
11666         re-run latex if no depfiles were changed, but the .dvi was removed.
11667
11668 2001-11-28  André Pönitz <poenitz@gmx.net>
11669
11670         * all the files from the change on 2001/11/26:
11671         use lyx::layout_type instead of LyXTextClass::size_type
11672         use lyx::textclass_type instead of LyXTextClassList::size_type
11673
11674 2001-11-29  Juergen Vigna  <jug@sad.it>
11675
11676         * text.C: added support for paragraph::isFreeSpacing()
11677
11678         * buffer.C: same as above
11679
11680         * paragraph.h: inserted isFreeSpacing() function to enable
11681         FreeSpacing inside InsetERT.
11682
11683         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11684         of the paragraph's in the cut/copy buffer to 0!
11685
11686         * text2.C (removeRow): remove the assert as it can!
11687
11688         * lyxtext.h: added helper function firstRow returning firstrow and
11689         made firstrow private again.
11690
11691         * BufferView2.C (lockInset): don't relock if we're already locked!
11692
11693         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11694         the only paragraph.
11695         (removeRow): added Assert::(firstrow)
11696
11697         * debug.C: forgot to add INSETTEXT here.
11698
11699 2001-11-28  Juergen Vigna  <jug@sad.it>
11700
11701         * sp_spell.C (initialize): changed error text to more general
11702         spellchecker command use (not only ispell!)
11703
11704         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11705
11706         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11707
11708 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * vspace.C: initialise lyxgluelength on failure
11711
11712 2001-11-28  Allan Rae  <rae@lyx.org>
11713
11714         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11715         declaration & definition that looks like a function declaration.
11716
11717 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * BufferView2.C (copy):
11720         (copyEnvironment): do not clear the selection when doing a copy.
11721
11722         * text.C (paintFirstRow): compilation fix
11723
11724 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11725
11726         * tabular.C (Latex): correct line count when writing latex.
11727
11728 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * paragraph_pimpl.h:
11731         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11732           bug a bit
11733
11734 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * text.C:
11737         * LColor.h:
11738         * LColor.C: change vfillline->added_space
11739
11740         * text.C: add markers and text for added space
11741
11742         * vspace.C: fix comment
11743
11744 2001-11-28  André Pönitz <poenitz@gmx.net>
11745
11746         * paragraph.C: whitespace changes
11747         * all the other files from the change on 2001/11/26:
11748         change *::pos_type into lyx::pos_type
11749
11750 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11751
11752         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11753         language of the document when inserting error insets.
11754
11755 2001-11-26  André Pönitz <poenitz@gmx.net>
11756
11757         * BufferView_pimpl.[Ch]:
11758         *       CutAndPaste.C:
11759         * buffer.[Ch]:
11760         * lyxcursor.[Ch]:
11761         * lyxfind.C:
11762         * lyxfunc.C:
11763         * lyxrow.[Ch]:
11764         * paragraph.[Ch]:
11765         * paragraph_pimpl.[Ch]:
11766         * sp_spell.C:
11767         * text.C:
11768         * text2.C: reduce header dependencies, introduce type for positions
11769
11770 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * <various>: change to use Alert.h
11773
11774 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11775
11776         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11777         when encountering an unknown token.
11778         (readLyXformat2): Show an error message if there were unknown tokens.
11779
11780 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11781
11782         * BufferView2.C:
11783         * BufferView_pimpl.C:
11784         * buffer.C:
11785         * paragraph.h:
11786         * text.C:
11787         * text2.C: use par->isInset()
11788
11789 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * paragraph_pimpl.h:
11792         * paragraph_pimpl.C: cleanup
11793
11794 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * text2.C (removeRow):
11797         * text.C (setHeightOfRow): remove useless (and costly) call to
11798         getRow.
11799
11800 2001-11-20  Allan Rae  <rae@lyx.org>
11801
11802         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11803         Now need Inset*::checkInsertChar() to return true for appropriate
11804         cases so that the characters in the minibuffer will actually be
11805         inserted.
11806
11807 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11808
11809         * text.C: change the order of the includes.
11810         (workWidth): initialize it at once.
11811         (workWidth): make maxw unsigned
11812         (setHeightOfRow): remove unused variable (inset)
11813         (selectSelectedWord): remove unused variable (inset)
11814         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11815
11816 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11819         server is not running.
11820         (openConnection):
11821         (closeConnection): add debug info when server is disabled.
11822
11823         * ColorHandler.C (getGCForeground): send debug message to GUI
11824         channel.
11825
11826         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11827
11828         * kbmap.C (bind): modify because return conventions of
11829         kb_sequence::parse have changed.
11830
11831         * kbsequence.C (parse): only ignore spaces and not any stupid
11832         control character. This avoids tests like s[i] <= ' ', which are
11833         guaranteed to fail with 8bit characters and signed chars.
11834         Change return code to string::npos when there have been no error
11835         (0 was a bad idea when error is at first character)
11836
11837 2001-11-14  José Matos  <jamatos@fep.up.pt>
11838
11839         * buffer.h:
11840         * buffer.C (simpleDocBookOnePar): removed unused argument.
11841
11842 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11843
11844         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11845         insets which are part of a word. Paragraph::isLetter takes care of
11846         that now. Use Paragraph::isInset to identify insets.
11847         (selectSelectedWord): do not test for hyphenation break.
11848
11849         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11850         that protected spaces are considered as spaces.
11851
11852         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11853         Inset::isLetter.
11854
11855 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * lyxserver.h:
11858         * lyxserver.C: fix it. and small cleanup.
11859
11860 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * BufferView_pimpl.C: use inline helpers
11863
11864         * LaTeXFeatures.h:
11865         * LaTeXFeatures.C: fix typos
11866
11867         * Spacing.h:
11868         * Spacing.C: move spacing_string into class
11869
11870         * ToolbarDefaults.C: move stuff into namespace anon
11871
11872         * layout.h: update enum
11873
11874         * lyxfunc.C: use better debug
11875
11876         * minibuffer.h: fix typo
11877
11878         * debug.h:
11879         * debug.C:
11880         * WorkArea.C: add and use Debug::WORKAREA
11881
11882         * lyxtext.h:
11883         * text.C:
11884         * text2.C: code re-organisation, inline helpers
11885
11886 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11887
11888         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11889         std::vector.empty().
11890
11891 2001-11-09  Allan Rae  <rae@lyx.org>
11892
11893         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11894         '\n's after tables.  Tabular and ERT inset work now makes this no
11895         longer necessary.
11896
11897 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * minibuffer.h:
11900         * minibuffer.C: fix crash, improve drop-down completion
11901
11902 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyxserver.h:
11905         * lyxserver.C: invalidate fd's when doing endPipe()
11906
11907 2001-11-08  José Matos  <jamatos@fep.up.pt>
11908
11909         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11910         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11911
11912         * paragraph.h:
11913         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11914
11915 2001-11-07  José Matos  <jamatos@fep.up.pt>
11916
11917         * buffer.h:
11918         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11919         const qualifier.
11920
11921         * buffer.C (sgmlOpenTag):
11922         * buffer.C (sgmlCloseTag): removed debug info.
11923
11924         * buffer.h (sgmlOpenTag):
11925         * buffer.h (sgmlCloseTag): made public.
11926
11927 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11928
11929         * buffer.C (saveParamsAsDefaults):
11930         * lyx_cb.C (MenuLayoutSave): remove
11931
11932         * LyXAction.C (init):
11933         * commandtags.h:
11934         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11935
11936 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * buffer.C (setPaperStuff): removed from here...
11939
11940         * bufferparams.C (setPaperStuff): ... and moved there.
11941
11942 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * minibuffer.h:
11945         * minibuffer.C:
11946         * XFormsView.C: add support for drop-down completion
11947
11948 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11949
11950         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11951         commands.
11952
11953 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11954
11955         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11956         disabled.
11957
11958 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * lyx_main.C: change ref to known bugs
11961
11962 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11963
11964         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11965         to work around older babel problems.
11966
11967 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11968
11969         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11970
11971 2001-10-24  Juergen Vigna  <jug@sad.it>
11972
11973         * tabular-old.C (ReadOld): below variable changes reflected.
11974
11975         * tabular.[Ch]: added ltType struct for longtable header/footer
11976         defines and changed all instances where they are used. Added
11977         future support for double top/bottom rows.
11978
11979 2001-10-24  José Matos  <jamatos@fep.up.pt>
11980
11981         * buffer.h (docbookHandleCaption):
11982         * buffer.C (docbookHandleCaption): removed unused function.
11983         (makeDocBookFile): moved docbook supported version to v4.1.
11984
11985 2001-10-24  José Matos  <jamatos@fep.up.pt>
11986
11987         * tabular.h:
11988         * tabular.C (docbookRow): new function to export docbook code of a row.
11989         (DocBook): now honors the longtable flags.
11990
11991 2001-10-23  José Matos  <jamatos@fep.up.pt>
11992
11993         * LaTeXFeatures.h:
11994         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11995         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11996
11997         * buffer.C (makeLinuxDocFile):
11998         (makeDocBookFile): reworked the preamble, more clean, and with
11999         support for lyx defined entities. Changed the document declaration
12000         to be more XML friendly.
12001
12002         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12003         if we need to output XML that should be done with a filter.
12004
12005 2001-10-22  Juergen Vigna  <jug@sad.it>
12006
12007         * sp_pspell.h (class PSpell): add alive function needed in the
12008         controller to see if the spellchecker could be started.
12009
12010 2001-10-22  Juergen Vigna  <jug@sad.it>
12011
12012         * buffer.C (insertStringAsLines): modify the font for inserting
12013         chars in certain conditions by calling checkInsertChar(font).
12014
12015 2001-10-19  Juergen Vigna  <jug@sad.it>
12016
12017         * text.C (workWidth): use getRow instead of wrong algorithm.
12018         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12019
12020 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * lyxserver.h:
12023         * lyxserver.C:
12024         * lyx_main.h:
12025         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12026
12027 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * text.C (workWidth): do not search for the exact row when
12030         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12031         optimization for big documents.
12032
12033 2001-10-18  Juergen Vigna  <jug@sad.it>
12034
12035         * text.C (workWidth): new function with added Inset * parameter.
12036
12037 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12040
12041         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12042         change return type of getColumnNearX.
12043
12044
12045         * text.C (changeRegionCase): use uppercase/lowercase instead of
12046         toupper/tolower.
12047         (leftMargin):
12048         (rightMargin): simplify code by factoring out the uses of
12049         textclasslist.
12050         (labelFill):
12051         (numberOfHfills):
12052         (setHeightOfRow):
12053         (appendParagraph): use Paragraph::size_type
12054
12055 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12056
12057         * vspace.C (asLatexString): add a missing break
12058
12059 2001-10-15  Herbert Voss  <voss@perce.de>
12060
12061         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12062
12063 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12066         is not available.
12067
12068 2001-10-10  André Pönitz <poenitz@gmx.net>
12069
12070         * lyxfunc.C: removed greek_kb_flag.
12071
12072 2001-10-10  Herbert Voss  <voss@perce.de>
12073
12074         * lyx_main.C: delete global string help_lyxdir.
12075
12076 2001-10-09  Herbert Voss  <voss@perce.de>
12077
12078         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12079
12080         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12081
12082         * lyx_main.C: added global string help_lyxdir.
12083
12084         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12085
12086 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12087
12088         * lyxrc.C (set_font_norm_type): support iso8859-4
12089
12090 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12091
12092         * LaTeX.C (deplog): add another regex for MikTeX
12093
12094 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12095
12096         * lyxrc.C (set_font_norm_type): support iso8859-3
12097
12098 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12101
12102         * LaTeXFeatures.C: remove special case of french and index
12103
12104         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12105         before \begin{document}). This solves several incompatibilities.
12106
12107 2001-10-03  Garst Reese  <reese@isn.net>
12108
12109         * lyx_cb.C: change CheckTex error msg.
12110
12111 2001-10-03  José Matos  <jamatos@fep.up.pt>
12112
12113         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12114
12115 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12116
12117         * .cvsignore: update
12118
12119         * lyx_main.C (commandLineVersionInfo): use new style version info.
12120
12121         * buffer.C (writeFile):
12122         (makeLaTeXFile):
12123         (makeLinuxDocFile):
12124         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12125
12126         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12127
12128         * version.h: update to use stuff in version.C
12129
12130         * version.C.in: new file. Contains version information determined
12131         at compile time. This is a merging of version.h and
12132         version_info.h.in.
12133
12134 2001-10-03  Juergen Vigna  <jug@sad.it>
12135
12136         * BufferView_pimpl.C (update): don't change "dirty" status in
12137         updateInset call.
12138
12139 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12140
12141         * WorkArea.C (c-tor): re-position version string slightly.
12142
12143 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12146         revert to previous code.
12147
12148         WorkArea.[Ch]: (show, destroySplash): methods removed.
12149
12150         WorkArea.C: rework code so that it's an amalgam of the codes before and
12151         after the splash screen was moved to WorkArea.
12152
12153 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * lyxrc.C (read):
12156         * vspace.C (inPixels):
12157         (lyx_advance):
12158         * kbmap.C (bind):
12159         * buffer.C (insertStringAsLines):
12160         (asciiParagraph): fix types to be large enough
12161
12162         * lyxlex_pimpl.h: change member status from short to int
12163
12164         * layout.h: fix type of endlabeltype
12165
12166         * kbmap.C (bind):
12167         * kbsequence.C (parse): change return type to string::size_type
12168
12169         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12170         variable
12171
12172         * Bullet.C (bulletSize):
12173         (bulletEntry): do not use short ints as parameters
12174
12175         * BufferView2.C (insertLyXFile): change a char to an int.
12176
12177         * WorkArea.C (WorkArea): remove unneeded floats in computation
12178
12179 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12180
12181         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12182
12183         * paragraph.C (asString): Do not ignore newline/hfill chars when
12184         copying to the clipboard.
12185
12186 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12189         after a multi-line inset.
12190
12191 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12192
12193         * paragraph.C (validate): Set NeedLyXFootnoteCode
12194
12195 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12198         and decrease-error to decrease.
12199
12200 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12203         it more readable (should be equivalent)
12204
12205 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12206
12207         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12208
12209 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12212         of a cursor (row, etc.) after a character has been deleted
12213         (deleteEmptyParagraphMechanism): call the method above on _all_
12214         cursors held by the LyXText when a double space has been
12215         detected/deleted.
12216
12217 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12218
12219         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12220         pixmap.
12221         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12222
12223         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12224         background. Use greyOut() and the new show() methods to toggle between
12225         the foreground and background. Add code to remove the splash after
12226         its initial showing.
12227
12228         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12229         (create_forms): no longer call Dialogs::showSplash.
12230
12231 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * .cvsignore: add version_info.h
12234
12235 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * version_info.h.in: new file
12238
12239         * Makefile.am: add version_info.h.in
12240
12241         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12242         version_info.h instead of VERSION_INFO
12243
12244 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12247         The ERT inset now returns string().
12248
12249 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * lyxtext.h, text.C (selectNextWord): renamed as
12252         selectNextWordToSpellcheck.
12253
12254         * text.C (selectNextWordToSpellcheck): Modified to not select
12255         words inside an ERT inset.
12256
12257 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12258
12259         * lyx_cb.C (MenuLayoutSave): change a bit the question
12260
12261         * sp_base.h: include <sys/types.h>
12262
12263 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12266
12267 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12268
12269         * several files: fix typos in user-visible strings
12270
12271 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12272
12273         * text2.C (pasteSelection): do not set the selection, since it
12274         will be cleared later. Actually, the intent was to fix the way the
12275         selection was set, but I figured rmoving the code was just as good.
12276
12277 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12278
12279         * FontLoader.C (available): Check if font is available without
12280         loading the font.
12281
12282 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12283
12284         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12285
12286 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * lyxrc.[Ch]: added display_graphics variable and associated code.
12289
12290 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * bufferparams.C (hasClassDefaults): new method. Returns true if
12293         the buffer parameters correspond to known class defaults
12294
12295 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12296
12297         * XFormsView.C (show): set minimum size to the main window.
12298
12299 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12300
12301         * text2.C (copySelection):
12302         (cutSelection):
12303         * lyxfind.C (LyXReplace):
12304         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12305         LyXText::selectionAsString.
12306
12307         * paragraph.C (asString): add "label" argument to the second form
12308
12309         * text2.C (selectionAsString): add "label" argument and pass it to
12310         Paragraph::asString.
12311
12312 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * lyx_main.C (commandLineHelp): remove version information
12315
12316 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12317
12318         * lyx_main.C: add -version commandline option
12319
12320 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * paragraph.h: make the optional constructor arg required instead.
12323         some modifications to other files because of this.
12324
12325         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12326
12327         * lyxserver.C (C_LyXComm_callback): make it static
12328
12329         * lyx_main.C (error_handler): make it static
12330
12331         * lyx_gui.C (LyX_XErrHandler): make it static
12332
12333         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12334
12335         * WorkArea.C: make the extern "C" methods static.
12336
12337         * Makefile.am (lyx_LDADD): simplify
12338
12339 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12342         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12343
12344         * LyXAction.C (init):
12345         * lyxfunc.C (dispatch): associated code removal.
12346
12347 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12348
12349         * lyxfont.h (isSymbolFont): shut off warning
12350
12351         * text.C (setHeightOfRow):
12352         (getVisibleRow): fix crash with empty paragraphs which have a
12353         bottom line
12354
12355 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12356
12357         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12358         code.
12359
12360 2001-09-04  José Matos  <jamatos@fep.up.pt>
12361         * buffer.C
12362         * buffer.h
12363         * tabular.C (docbook): rename docBook method to docbook.
12364
12365 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12366
12367         * Makefile.am: add dependencies to main.o.
12368
12369 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12370
12371         * FontLoader.C (available): Return false if !lyxrc.use_gui
12372
12373 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12374
12375         * FontInfo.C (query):
12376         * converter.C (view):
12377         * importer.C (Import):
12378         * exporter.C (Export): Can not -> cannot.
12379
12380 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * BufferView_pimpl.C: allow to create index inset even if
12383           string is empty
12384
12385 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12386
12387         * buffer.C (getLists): replace boost::tie code with an explicit pair
12388         as boost::tie can break some compilers.
12389
12390         * iterators.h: Added a std:: declaration to the return type of
12391         ParIterator::size.
12392
12393 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12396           case.
12397
12398 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12399
12400         * iterators.[Ch]: New files. Provide paragraph iterators.
12401
12402         * buffer.C (changeLanguage): Use paragraph iterators.
12403         (isMultiLingual): ditto
12404
12405         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12406
12407 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * FontLoader.C: Support for cmr font.
12410
12411 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12412
12413         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12414         (available): New method.
12415
12416         * FontInfo.C (getFontname): Use scalable fonts even when
12417         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12418         found.
12419
12420 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * converter.C (Formats::view): reverted! Incorrect fix.
12423
12424 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12425
12426         * converter.C (Formats::view): only output the -paper option
12427         if the dvi viewer is xdvi, thereby fixing bug #233429.
12428
12429 2001-08-23  Herbert Voss  <voss@perce>
12430
12431         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12432
12433 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12434
12435         * Spacing.h (Spacing): Set space to Default on in the default
12436         constructor.
12437
12438 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * vc-backend.h (RCS::versionString): add RCS to version
12441         (CVS::versionString): add CVS to version
12442
12443         * vc-backend.C (scanMaster): do not add CVS to version.
12444         (scanMaster): do not add RCS to version
12445
12446         * lyxvc.C (versionString): new method
12447
12448         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12449
12450 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * Spacing.C (set): initialize fval
12453
12454 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12455
12456         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12457         " or \.
12458
12459 2001-08-16  Juergen Vigna  <jug@sad.it>
12460
12461         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12462
12463 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * BufferView_pimpl.C:
12466         * figureForm.C:
12467         * lyxtext.h:
12468         * text2.C: setParagraph takes linespacing now
12469
12470 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * LyxAction.C: add internal LFUN_CITATION_INSERT
12473
12474         * LyXView.C: actually apply fix
12475
12476         * bufferlist.C: fix open non-existent file
12477
12478         * lyxfind.C: fix indentation
12479
12480         * lyxfunc.C: remove unneeded assert, fix typo
12481
12482 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * MenuBackend.C: use "Floatname List"
12485
12486 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12487
12488         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12489         when converting LaTeX layout to insetERT.
12490         Generate a non-collapsed float when reading old float
12491
12492 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12495         ERT insets.
12496
12497 2001-08-13  Juergen Vigna  <jug@sad.it>
12498
12499         * text.C (fill): return 0 instead of 20 as this seems to be the more
12500         correct value.
12501
12502 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12503
12504         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12505         lyxrc.font_norm.
12506
12507 2001-08-13  Juergen Vigna  <jug@sad.it>
12508
12509         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12510         casesensitive off.
12511         (SearchBackward): comment out the unlocking of the inset_owner this
12512         should not be needed!
12513
12514 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * Many files: Remove inherit_language, and add latex_language
12517
12518         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12519         collapsible insets.
12520
12521 2001-08-10  Juergen Vigna  <jug@sad.it>
12522
12523         * text.C (prepareToPrint): fixed hfill-width in draw!
12524
12525         * BufferView2.C (selectLastWord): save the selection cursor as this
12526         now is cleared in the function LyXText::clearSelection!
12527
12528 2001-08-08  Juergen Vigna  <jug@sad.it>
12529
12530         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12531         BACKSPACE type functions.
12532
12533         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12534         is only cutted from the document but not put in the cut-buffer, where
12535         still the old stuff should be.
12536
12537         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12538
12539         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12540
12541         * tabular.C (SetWidthOfCell): fixed special case where the width
12542         was not updated!
12543         (LeftLine): handle '|' in align_special.
12544         (RightLine): ditto
12545         (LeftAlreadyDrawed): ditto
12546         (SetWidthOfCell): ditto
12547
12548 2001-08-07  Juergen Vigna  <jug@sad.it>
12549
12550         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12551
12552 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12555         * lyxlex.[hC]: ditto
12556
12557 2001-08-06  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (getVisibleRow): fix up row clearing a bit.
12560
12561 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * minibuffer.C: make sure the X server sees the changes in the input.
12564
12565 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * paragraph.C (getFont): split into...
12568         (getLabelFont): this
12569         (getLayoutFont): and this
12570         * paragraph_pimpl.C (realizeFont): calling this
12571
12572         * text2.C (getFont): split into...
12573         (getLayoutFont): this
12574         (getLabelFont): and this
12575         (realizeFont): all three calling this
12576
12577         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12578         files where used.
12579
12580 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12583
12584 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12585
12586         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12587         layouts from the Quote inset insertion.
12588
12589 2001-08-03  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12592
12593         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12594         only if status not is already CHANGED_IN_DRAW (second level).
12595
12596         * text.C (draw): don't set the need_break_row when inside an
12597         InsetText LyXText.
12598
12599 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * buffer.C (parseSingleLyXformat2Token): handle more latex
12602         conversion cases.
12603
12604         * bufferview_funcs.[hC]: change function names to
12605         begin with small char, adjust other files.
12606
12607 2001-08-02  André Pönitz <poenitz@gmx.net>
12608
12609         * lyxfunc.C:
12610         BufferView_pimpl.C: remove broken special code for math-greek
12611
12612 2001-08-02  Juergen Vigna  <jug@sad.it>
12613
12614         * BufferView_pimpl.C (update): redone this function so that we
12615         update the text again if there was a CHANGE_IN_DRAW.
12616
12617         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12618         (drawFromTo): added a new internal bool which is used by draw() and
12619         redraw() function.
12620         (general): some cursor drawing problems fixed.
12621
12622 2001-08-01  Juergen Vigna  <jug@sad.it>
12623
12624         * lyxfind.C (LyXFind): fixed
12625         (SearchForward): ditto
12626         (SearchBackward): ditto
12627
12628         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12629         spurius drawing of the cursor in the main area.
12630
12631         * text2.C (status): small fix which could lead to a segfault!
12632         (clearSelection): remove unneeded BufferView param.
12633
12634 2001-08-01  André Pönitz <poenitz@gmx.net>
12635
12636         * lyxfunc.C: small change due to changed mathed interface
12637
12638 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12641
12642 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyxfunc.c: fail gracefully if file doesn't exist
12645
12646         * LyXSendto.C:
12647         * buffer.C:
12648         * lyxfunc.C:
12649         * BufferView_pimpl.C: IsDirWriteable() proto changed
12650
12651         * LyXView.C: fix updateWindowTitle() to store the last title
12652
12653 2001-07-31  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12656         the font (wrong since using of Paragraph::highestFontInRange).
12657
12658         * paragraph.C (highestFontInRange): added a default_size parameter.
12659
12660         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12661         (setHeightOfRow): reformat
12662
12663 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * converter.[hC] + affected files: move to (inital-char)lowercase
12666         function names.
12667
12668         * ParagraphParameters.C (ParagraphParameters): remove commented code
12669
12670         * PainterBase.[Ch]: remove commented code
12671
12672         * LaTeXFeatures.h: add "bool floats" for float.sty
12673
12674         * LaTeXFeatures.C (LaTeXFeatures): init floats
12675         (require): handle float
12676         (getPackages): do it with floats
12677
12678 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12679
12680         * BufferView_pimpl.C (Dispatch): improve handling of
12681         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12682
12683         * commandtags.h: #include lyxfont.h here temporarily to avoid
12684         keybinding bug.
12685
12686         * bufferlist.h: include LString.h here.
12687
12688 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12689
12690         * text2.C (getStringToIndex): new method.
12691
12692 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12693
12694         * *: Reduced header file dependencies all over.
12695
12696 2001-07-30  Baruch Even  <baruch@lyx.org>
12697
12698         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12699
12700 2001-07-29  Baruch Even  <baruch@lyx.org>
12701
12702         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12703
12704 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * ParameterStruct.h (endif): add a default constructor to make
12707         sure that all variables is initialized.
12708
12709         * ParagraphParameters.C (ParagraphParameters): adjust
12710
12711 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12712
12713         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12714         index; also, check that there is something to index, and that it
12715         does not span over several paragraphs.
12716         (doubleClick): use WHOLE_WORD_STRICT for double click.
12717
12718         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12719
12720         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12721         scheme.
12722
12723 2001-07-26  Baruch Even  <baruch@lyx.org>
12724
12725         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12726         an InsetFig figure, backwards compatible reading of old figure code.
12727
12728 2001-07-27  Juergen Vigna  <jug@sad.it>
12729
12730         * text2.C: font.realize function adaption.
12731
12732         * text.C (draw): add a warnings lyxerr text if needed.
12733
12734         * layout.C: font.realize function adaption.
12735
12736         * language.C: add inherit_language and implement it's handlings
12737
12738         * bufferview_funcs.C (StyleReset): remove language parameter from
12739         font creation (should be language_inherit now).
12740
12741         * bufferparams.C (writeFile): handle ignore_language.
12742
12743         * paragraph.C (getFontSettings): the language has to be resolved
12744         otherwise we have problems in LyXFont!
12745
12746         * lyxfont.C (lyxWriteChanges): added document_language parameter
12747         (update): removed unneeded language parameter
12748
12749         * paragraph.C (validate): fixed wrong output of color-package when
12750         using interface colors for certain fonts in certain environments,
12751         which should not seen as that on the final output.
12752
12753 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * BufferView_pimpl.C:
12756         * Thesaurus.h:
12757         * Thesaurus.C:
12758         * Makefile.am:
12759         * commandtags.h:
12760         * LyXAction.C: add thesaurus support
12761
12762         * lyxfind.h:
12763         * lyxfind.C: add "once" parameter, for thesaurus, to not
12764           move to the next match
12765
12766 2001-07-26  Juergen Vigna  <jug@sad.it>
12767
12768         * lyxfont.C (realize): honor ignore_language too!
12769         (resolved): ditto.
12770
12771         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12772
12773         * text.C (draw): one place more for ignore_language to not draw
12774         itself!
12775
12776 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12779
12780 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12783         the minipage conversion problem.
12784
12785 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12786
12787         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12788         insert an inset.
12789
12790 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * BufferView.h: don't forward declare WorkArea
12793
12794         * BufferView.C: don't include WorkArea.h
12795
12796 2001-07-25  André Pönitz <poenitz@gmx.net>
12797
12798         * commandtags.h:
12799         * LyXAction.C:
12800         * lyxfunc.C:  new LFUN 'math-space'
12801
12802         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12803
12804 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * text2.C (toggleInset): call open/close
12807
12808 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * lyxfunc.C (dispatch): add debug for the disabled case
12811
12812         * font.C (buttonText): make similar to rectText
12813
12814         * buffer.C (readInset): comment out parsing of insetlist and
12815         insttheorem
12816
12817         * PainterBase.C (rectText): small correction
12818
12819         * BufferView_pimpl.C: comment out insettheorem and insetlist
12820         * LyXAction.C: ditto
12821         * commandtags.h: ditto
12822
12823 2001-07-24  Juergen Vigna  <jug@sad.it>
12824
12825         * text.C (draw): honor the ignore_language.
12826
12827         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12828
12829 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12830
12831         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12832         char inset.
12833
12834 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12835
12836         * lyxtext.h: remove unused (and unimplemented) methods
12837
12838 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12839
12840         * text.C (getVisibleRow): honor background color
12841
12842         * PainterBase.h:
12843         * Painter.h: remove default color argument for fillRectangle
12844
12845         * text.C (backgroundColor): new method
12846
12847 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * text.C (getVisibleRow): adjust
12850
12851         * font.[Ch] (rectText): new method, metrics
12852         (buttonText): new method, metrics
12853
12854         * PainterBase.[hC]: make rectText and buttonText always draw and take
12855         fewer paramteres.
12856
12857 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12858
12859         * ToolbarDefaults.C (read):
12860         * MenuBackend.C (read): allow escaping in all strings
12861
12862         * BufferView_pimpl.C (insertAndEditInset): new method.
12863         (Dispatch): use insertAndEditInset whenever appropriate.
12864
12865         * BufferView_pimpl.C (insertNote): removed
12866
12867         * BufferView_pimpl.C (smartQuote): new method, moved from
12868         BufferView; if an insetquote cannot be inserted, insert a '"'
12869         character instead.
12870
12871         * BufferView2.C: remove insertCorrectQuote();
12872
12873         * lyxfunc.C (getStatus): Add support for all remaingin
12874         inset-insert lfuns.
12875
12876         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12877
12878         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12879         command (necessary to pass " as parameter of self-insert.
12880
12881         * text.C (selectWordWhenUnderCursor):
12882         (selectWord): add word_location parameter
12883         (selectWordWhenUnderCursor): same + remove special code for word
12884         boundary.
12885         (selectNextWord): use kind() to guess type of insetspecialchar,
12886         not latex().
12887
12888         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12889         (insertErtContents): create ert insets as collapsed.
12890         (readInset): better compatibility code for Info inset.
12891
12892 2001-07-20  Juergen Vigna  <jug@sad.it>
12893
12894         * lyxfunc.C (dispatch): use always LyXFind now!
12895
12896         * text2.C (init): add a reinit flag so that the LyXText can be
12897         reinited instead of deleted and reallocated (used in InsetText).
12898
12899         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12900
12901         * text.C: ditto
12902
12903         * text2.C: ditto
12904
12905 2001-07-18  Juergen Vigna  <jug@sad.it>
12906
12907         * text.C (selectNextWord): handle insets inside inset by calling
12908         always the bv->text functions so that we can go up the_locking_inset!
12909
12910         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12911         in strange locations when inside an inset!
12912
12913         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12914         handling to include insets.
12915
12916         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12917
12918 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12919
12920         * LyXAction.C (init):
12921         * commandtags.h:
12922         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12923         LIGATURE_BREAK, since the name is so stupid.
12924
12925 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12928         InsetInfos.
12929
12930         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12931
12932         * sp_form.[Ch]: remove.
12933
12934         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12935
12936         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12937         InsetInfo.
12938
12939         * src/buffer.C (readInset): ditto.
12940
12941 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12942
12943         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12944         menuSeparator(), endOfSentenceDot(), ldots() and
12945         hyphenationPoint(), which are therefore removed.
12946         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12947
12948         * LyXAction.C (init):
12949         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12950
12951         * paragraph.C (getWord): removed.
12952
12953         * BufferView_pimpl.C (Dispatch): use last word or selection for
12954         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12955
12956         * lyx_main.C (queryUserLyXDir): do not ask before creating
12957         user_dir, except if it has been named explicitely.
12958
12959 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12962         a document of zero size.
12963
12964 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12967         approriately in the c-tor and in require().
12968         (getPackages): output the appropriate LaTeX for natbib support.
12969
12970         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12971         variables "use_natbib" and "use_numerical_citations" when reading the
12972         LyX file.
12973         (readInset): read the various natbib cite commands.
12974         (validate): white-space change.
12975
12976         * bufferparams.[Ch]: new variables "bool use_natbib" and
12977         "bool use_numerical_citations".
12978         (writeFile): output them in the LyX file.
12979
12980 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12981
12982         * lyxfunc.C (getStatus): add support for all the inset insertion
12983         commands.
12984
12985         * text2.C (insertInset):
12986         * paragraph.C (insetAllowed):
12987         * BufferView_pimpl.C (insertInset): update to take in account the
12988         renaming of insertInsetAllowed
12989
12990         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12991
12992         * text2.C (getInset): new method. returns inset at cursor position.
12993
12994         * BufferView_pimpl.C (Dispatch): changes because of this.
12995
12996         * LyXAction.C (init): rename open-stuff to inset-toggle.
12997
12998         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12999
13000         * text2.C (toggleInset): renamed from openStuff; use
13001         Inset::open().
13002
13003 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13004
13005         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13006
13007         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13008
13009 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (readLyXformat2): Add filename to the error dialog
13012
13013 2001-07-18  Juergen Vigna  <jug@sad.it>
13014
13015         * tabular.C (GetCellNumber): put an assert here instead of the check!
13016
13017 2001-07-17  Juergen Vigna  <jug@sad.it>
13018
13019         * BufferView_pimpl.C (toggleSelection): adapted too.
13020
13021         * text.C (selectNextWord): adapted for use with insets.
13022         (selectSelectedWord): ditto
13023
13024 2001-07-17  Juergen Vigna  <jug@sad.it>
13025
13026         * sp_spell.C (PSpell): fix initialitation order.
13027
13028 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * paragraph.C: spacing
13031
13032 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13033
13034         * sp_spell.C: repair language selection for pspell
13035
13036 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * lyxfunc.h: change more methods to begin with lower char.
13039
13040 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13041
13042         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13043         for unknown layouts.
13044
13045 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * buffer.C (readLyXformat2): Generate an error dialog if there are
13048         unknown layouts.
13049
13050 2001-07-16  Juergen Vigna  <jug@sad.it>
13051
13052         * sp_spell.C: always compile ISpell part.
13053
13054         * lyxrc.C: added use_pspell entry and it's handling.
13055
13056 2001-07-13  Juergen Vigna  <jug@sad.it>
13057
13058         * sp_spell.C: removed double includes.
13059
13060 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13061
13062         Consistent use of Lsstream.h:
13063         * Lsstream.h: added using std::stringstream for consistencies sake.
13064
13065         * buffer.C: removed using std::stringstream
13066
13067         * lyxfont.C (stateText):
13068         * paragraph.C (asString):
13069         * text.C (selectNextWord, selectSelectedWord):
13070         * text2.C (setCounter):
13071         * vspace.C (asString, asLatexString):
13072         std::ostringstream -> ostringstream.
13073
13074 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13075
13076         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13077         * commandtags.h: add LFUN_HELP_ABOUTLYX
13078         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13079
13080 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13081
13082         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13083         cursorToggle()
13084         * lyx_gui_misc.C: remove spellchecker
13085         * lyxfunc.C: showSpellchecker
13086         * sp_base.h: added
13087         * sp_ispell.h: added
13088         * sp_pspell.h: added
13089         * sp_spell.C: added
13090         * sp_form.[Ch]: removed
13091         * spellchecker.[Ch]: removed
13092
13093 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13094
13095         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13096         is set.
13097         (simpleTeXSpecialChars): Simply print the input character without
13098         any special translation if pass_thru is set.
13099
13100         * layout.h: Added bool pass_thru to layout class for being able to
13101         implement pass through of a paragraph for Literate Programming.
13102
13103         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13104         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13105         * layout.C (Read): add "passthru" to list of layout tags and add
13106         code to set the pass_thru boolean when it is read.
13107
13108 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * trans_decl.h: remove allowed from KmodInfo
13111
13112         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13113         remove allowed code
13114         (Load): adjust
13115
13116         * paragraph_pimpl.C (erase): use boost::prior
13117
13118         * Painter.C (text): use data() instead of c_str() when length is
13119         also provided.
13120         * WorkArea.C (putClipboard): ditto
13121         * font.h (width): ditto
13122
13123         * BufferView2.C: use it-> instead of (*it). for iterators
13124         * texrow.C: ditto
13125         * paragraph_pimpl.C: ditto
13126         * paragraph.C: ditto
13127         * minibuffer.C: ditto
13128         * language.C: ditto
13129         * kbmap.C: ditto
13130         * encoding.C: ditto
13131         * counters.C: ditto
13132         * converter.C: ditto
13133         * chset.C: ditto
13134         * Variables.C: ditto
13135         * TextCache.C: ditto
13136         * MenuBackend.C: ditto
13137         * LyXAction.C: ditto
13138         * LColor.C: ditto
13139         * FloatList.C: ditto
13140         * DepTable.C: ditto
13141         * ColorHandler.C (LyXColorHandler): ditto
13142
13143 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13146
13147         * text2.C (openStuff): reintroduce this method (which had been
13148         nuked in NEW_INSETS frenzy).
13149
13150         * lyxfunc.C (Dispatch): when an action has not been handled, use
13151         its name in the error message, not its number.
13152
13153         * paragraph.C (inInset): change method name to begin with lowercase.
13154
13155         * undo_funcs.C:
13156         * text2.C: updates because of this.
13157
13158 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13159
13160         * ToolbarDefaults.C (add): add spaces in error message
13161
13162 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13165         (readLyXformat2): rename return_par to first_par, use lyxlex's
13166         pushToken and remove the manual push handling.
13167         (parseSingleLyXformat2Token): add another ert comp. variable:
13168         in_tabular, rename return_par to first_par. handle newlines better
13169
13170 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13173
13174 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * text2.C (getParFromID): removed
13177
13178         * buffer.C (getParFromID): new method moved form lyxtext.
13179         * BufferView2.C (insertErrors): adjust
13180         (setCursorFromRow): adjust
13181         * BufferView_pimpl.C (restorePosition): adjust
13182         * lyxfunc.C (Dispatch): adjust
13183         * undo_funcs.C (textUndo): adjust
13184         (textRedo): adjust
13185         (textHandleUndo): adjust
13186         (textHandleUndo): adjust
13187
13188 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13189
13190         * buffer.C: up' the LYX_FORMAT
13191
13192         * lyxfont.h: turn NO_LATEX on as default
13193
13194         * buffer.C (insertErtContents): new methods of tex style compability.
13195         (parseSingleLyXformat2Token): use it several places.
13196         * tabular.C (OldFormatRead): and here
13197
13198 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * text2.C: remove some commented code.
13201         reindent file.
13202
13203         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13204         * trans.C: changes because of the above.
13205
13206 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * text2.C (setCounter): Fix counters bug with bibliography layout.
13209
13210 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13213         own member functions
13214         (simpleTeXSpecialChars): ditto
13215
13216 2001-07-06  Juergen Vigna  <jug@sad.it>
13217
13218         * a lot of files: changed the access to LyXText::status and the
13219         call of undo-functions.
13220
13221         * undo.[Ch]: added a inset_id to the undo informations.
13222
13223         * undo_funcs.[Ch]: added and moved here all undo functions.
13224
13225         * lyxtext.h: give the status enum a weight, made status_ a private
13226         variable and made accessor functions for it, removed the whole bunch
13227         of undo-functions as they are now in their own file, make some
13228         functions publically available. Added function ownerParagraph with
13229         int parameter.
13230
13231         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13232         made InInset() a const function, added getParFromID() function.
13233
13234         * buffer.[Ch]: added const version for inset_iterator functions,
13235         added getInsetFromID() function.
13236
13237         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13238         changed undo functions for new version.
13239
13240 2001-07-05  Juergen Vigna  <jug@sad.it>
13241
13242         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13243         unknow mechanism does not call the proper constructor but only this
13244         one also if I request the other!?
13245
13246 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13249
13250         * text2.C (LyXText): use initialization lists.
13251
13252         * lyxtext.h (Selection): initialize set_ and mark_
13253         (init): remove method
13254
13255 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13258
13259 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * screen.[Ch]: change method names to begin with lowercase
13262
13263         * BufferView_pimpl.C (updateScrollbar): simplify further and
13264         hopefully make it a bit faster.
13265
13266 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13267
13268         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13269         calling directly xforms functions.
13270
13271         * Painter.C (Painter):
13272         * lyx_cb.C (MenuWrite):
13273         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13274         fl_display.
13275
13276         * lyx_gui.C: remove bogus guiruntime extern declaration.
13277
13278 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13281         in NEW_INSETS
13282         (redoDrawingOfParagraph): ditto
13283         (redoParagraphs): ditto
13284         (cutSelection): don't create a object for CutAndPaste use the
13285         static method directly
13286         (pasteSelection): ditto
13287
13288         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13289         LyXview (+ rename)
13290
13291 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * modifications to some other files because of this.
13294
13295         * Makefile.am (lyx_SOURCES): add XFormsView
13296
13297         * XFormsView.[Ch]: new files
13298
13299         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13300         the main window. Move the gui dependent stuff to XFormsView
13301
13302 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * tabular.C (GetCellInset): update cur_cell also in the row/col
13305         version of this function.
13306
13307         * lyxfunc.C: no need to include figure_form.h here.
13308
13309         * FontLoader.h:
13310         * lyxfunc.h:
13311         * lyxscreen.h:
13312         * text2.C:
13313         * lyxvc.C: no need to include forms.h here.
13314
13315 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13318
13319         * lyxfunc.C (Dispatch):
13320         * Spacing.C (set):
13321         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13322         constructor argument.
13323
13324 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * paragraph.C (Paragraph): dont't clear, and just set layout.
13327         (makeSameLayout): use params's copy contructor.
13328
13329         * ParagraphParameters.[Ch] (makeSame): delete method
13330
13331 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * Variables.[Ch]: fix indentation, rename set to isSet
13334
13335 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * lyxfunc.C (Dispatch): fix typo
13338
13339 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13342         upper_bound.
13343
13344         * bufferlist.C: include assert.h for emergencyWrite().
13345
13346 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13349           give up at last (bug #425202) !
13350
13351 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * lyx_gui_misc.C:
13354         * sp_form.h:
13355         * sp_form.C:
13356         * spellchecker.h:
13357         * spellchecker.C: strip spellchecker options and bring up
13358           preferences tab instead
13359
13360 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13363         the istringstream constructor
13364
13365 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * paragraph.C (getLayout): fix return value
13368
13369         * paragraph.h: do not declare getLayout as inline.
13370
13371         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13372
13373 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * lyxcursor.h (operator<): new func
13376         (operator>): new func
13377         (operator>=): new func
13378         (operator<=): new func
13379
13380         * text.C (changeCase): use selection.start and selection.end
13381         (changeRegionCase): require from to be <= to. Require par to be a
13382         valid paragraph.
13383
13384         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13385
13386 2001-06-27  Juergen Vigna  <jug@sad.it>
13387
13388         * text.C (cursorLeftOneWord): changed to return the cursor and added
13389         overlay with BufferView * parameter which calls this one.
13390         (getWord): added
13391         (selectWord): use new getWord function.
13392         (changeCase): renamed from changeWordCase as and extended to work
13393         also on selections.
13394
13395         * lyxtext.h: added enum word_location
13396
13397         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13398         changeCase as this operates now also on selections.
13399
13400 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13401
13402         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13403
13404         * many files: send debug output to Debug::INFO instead of
13405         Debug::ANY.
13406
13407         * converter.C (View):
13408         (Convert):
13409         (Move): send debug output to Debug::FILES instead of console.
13410
13411 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13412
13413         * lyxfunc.C (getStatus): use func_status
13414
13415         * func_status.h: new header, describing the results of
13416         LyXFunc::getStatus;
13417
13418         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13419         LFUN_MATH_HALIGN.
13420
13421 2001-06-25  The LyX Project  <jug@sad.it>
13422
13423         * buffer.C (sgmlOpenTag):
13424         (sgmlCloseTag):
13425         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13426
13427 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * text2.C: remove some dead code
13430
13431         * tabular.C (GetCellInset): store the last cell checked (gotten)
13432
13433         * tabular.h: add the helper for the speedup
13434
13435         * lyxtext.h: remove some dead code
13436
13437 2001-06-26  The LyX Project  <Asger>
13438
13439         * paragraph.C: Change export to LaTeX of alignment to
13440         \begin{center} and family for better roundtrip work with reLyX.
13441
13442         * Tune the math drawing a bit.
13443
13444 2001-06-25  The LyX Project  <Asger>
13445
13446         * LColor.C (LColor): New color for math background. New color
13447         for buttons.
13448
13449 2001-06-25  The LyX Project  <jug@sad.it>
13450
13451         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13452
13453         * lyxfunc.C (Open):
13454         * bufferlist.C (newFile): do not restrict to files ending with
13455         .lyx
13456
13457         * BufferView_pimpl.C (MenuInsertLyXFile):
13458
13459 2001-06-24  The LyX Project  <jug@sad.it>
13460
13461         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13462         of compare_no_case
13463
13464 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * lyxtext.h: rename most methods to begin with a small char.
13467         Lots of changes because of this.
13468
13469         * paragraph.C (Paragraph): do not call fitToSize
13470         (erase): call Pimpl::erase
13471         (insertChar): call Pimpl::insertChar
13472         (insertInset): call Pipl::insertInset
13473         (breakParagraph): do not call fitToSize
13474         (breakParagraphConservative): do not call fitToSize
13475         (fitToSize): remove method
13476
13477         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13478
13479 2001-06-24  The LyX Project  <Asger>
13480
13481         * Fix Qt compilation^2
13482
13483 2001-06-24  The LyX Project  <jug@sad.it>
13484
13485         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13486         depthHook(getDepth()-1).
13487
13488         * paragraph.h:
13489         * ParagraphParameters.h:
13490         * ParameterStruct.h: change type of depth to unsigned int ==
13491         depth_type. Many adaptations to other files before of that.
13492
13493 2001-06-24  The LyX Project  <Asger>
13494
13495         * Fix Qt compilation.
13496
13497 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13498
13499         * paragraph.h: renamed several methods to begin with small letter.
13500         several changes to many parts of the code because of this.
13501
13502 2001-06-23  The LyX Project  <jug@sad.it>
13503
13504         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13505         rewritten to discard all double spaces when KeepEmpty is off
13506         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13507         to only handle newlines but not fiddle with spaces and friends.
13508
13509         * lyxfunc.C (MenuNew): when doing 'new from template', use
13510         template_path as default directory
13511
13512 2001-06-23  The LyX Project  <Asger>
13513
13514         * Clean-up of header file includes all over
13515         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13516
13517 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13518
13519         * paragraph.h: renamed from lyxparagraph.h
13520
13521 2001-06-23  Asger  <lyx@violet.home.sad.it>
13522
13523         * Buffer.h: Removed Buffer::resize
13524         * BufferList.h: Removed BufferList::resize
13525         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13526         the document lazily when we change the width, or the font settings.
13527
13528 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13531
13532 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * buffer.h: remove out of date comment
13535
13536 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * lyxscreen.h:
13539         * screen.C: fix "theoretical" GC leak
13540
13541 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * LaTeX.C (scanAuxFile):
13544         (deplog): remove trailing \r when reading stream (useful under
13545         win32)
13546
13547 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13550         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13551         and BufferView::theLockingInset(Inset*), so should use them and not
13552         access bv_->text->the_locking_inset directly.
13553
13554         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13555
13556 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * Makefile.am:
13559         * tex-defs.h: remove old unused file
13560
13561 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * BufferView_pimpl.C: fix typo, remove minibuffer message
13564           when buffer has loaded
13565
13566 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13567
13568         * lyxfunc.C (Dispatch): use stringstream
13569         (MenuNew): use stringstream
13570         (Open): use stringstream
13571
13572         * importer.C (Import): use stringstream
13573
13574         * bufferview_funcs.C (CurrentState): use stringstream
13575
13576         * LaTeX.C (run): use stringstream
13577
13578         * BufferView_pimpl.C (savePosition): use stringstream
13579         (restorePosition): use stringstream
13580         (MenuInsertLyXFile): use stringstream
13581
13582 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * BufferView.C:
13585         * Bullet.C:
13586         * ColorHandler.C:
13587         * FontInfo.C:
13588         * FontLoader.C:
13589         * LColor.C:
13590         * LaTeXFeatures.C:
13591         * Painter.C:
13592         * gettext.C:
13593         * lyx_gui_misc.C:
13594         * lyxserver.C:
13595         * vspace.C: removed // -*- C++ -*- as first line.
13596
13597         * lyxfind.h:
13598         * version.h: added // -*- C++ -*- as first line.
13599
13600 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13603
13604         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13605         of string
13606
13607 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13610         of floats.
13611
13612 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13613
13614         * gettext.C: include LString.h even when --disable-nls is on.
13615
13616 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * converter.h (Get): changed argument type from int to
13619         FormatList::size_type to avoid unnecessary conversion.
13620
13621         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13622         before using it.
13623
13624 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13625
13626         * gettext.h: include LString.h even when --disable-nls is on.
13627
13628 2001-06-07  Juergen Vigna  <jug@sad.it>
13629
13630         * text.C (BreakAgain): subst spaces with tabs.
13631
13632         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13633         (resizeInsetsLyXText): set force on resizeLyXText.
13634
13635 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * gettext.h (gettext_init):
13638         (locale_init): use a real definition instead of a macro
13639
13640 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * Bufferview_pimpl.C:
13643         * LColor.h:
13644         * LColor.C: further lcolor tidies
13645
13646 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * BufferView_pimpl.C (updateScrollbar): simplify.
13649
13650         * BufferView2.C: don't include insets/insetinfo.h, change
13651         prototype for insertInset and call the Pimpl version. let
13652         updateInset call Pimpl version.
13653
13654         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13655         gotoInset to BufferView::Pimpl
13656
13657 2001-06-01  Juergen Vigna  <jug@sad.it>
13658
13659         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13660         inside a LockingInset (is the update needed at all?).
13661
13662 2001-05-31  Juergen Vigna  <jug@sad.it>
13663
13664         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13665         here not the old one otherwise how should we compare it afterwards
13666         if it's the same!
13667
13668 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13669
13670         * lyxfont.C:
13671         * tabular.C:
13672         * tabular-old.C:
13673         * FontInfo.C: bring C functions into global namespace when
13674         necessary
13675
13676 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * LString.h: make sure config.h has been loaded before LString.h.
13679
13680         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13681         (one for each char read by EatLine!).
13682
13683         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13684         variables.
13685
13686 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13689         to the same as the par we break from
13690
13691 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13694
13695         * MenuBackend.C (expand): also create menu entries for wide
13696         versions of the floats.
13697
13698         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13699
13700         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13701
13702         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13703         frontends/Makefile.am
13704
13705         * text2.C: adjust
13706         * text.C: adjust
13707
13708
13709         * tabular.C (getTokenValue): add std::
13710
13711         * tabular-old.C (getTokenValue): add std::
13712         (getTokenValue): ditto
13713         (getTokenValue): ditto
13714
13715         * screen.C (ToggleSelection): adjust
13716
13717         * lyxtext.h: put selection cursors inside a Selection struct.
13718
13719         * lyxfunc.C (moveCursorUpdate): adjust
13720
13721         * lyxfont.C (latexWriteStartChanges): add std::
13722
13723         * lyxfind.C: adjust
13724
13725         * font.h: delete with(char const *, LyXFont const &)
13726
13727         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13728
13729         * FontInfo.C (getFontname): add std::
13730
13731         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13732         (workAreaButtonPress): adjust
13733         (tripleClick): adjust
13734         (update): adjust
13735         (moveCursorUpdate): adjust
13736         (Dispatch): adjust
13737
13738         * BufferView2.C (gotoInset): adjust
13739
13740 2001-05-30  Juergen Vigna  <jug@sad.it>
13741
13742         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13743         to check pspell I add this as default as I now have new pspell
13744         libraries and they seem to use this.
13745
13746 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * text2.C (CutSelection): make the cursor valid before the call to
13749         ClearSelection.
13750
13751 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13754         relied on 0 terminated strings and other horrors. Bug found due to
13755         the new assert in lyxstring!
13756
13757         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13758         KP_ keys.
13759
13760 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13763         to latinkeys.bind.
13764
13765         * lyxfunc.C (processKeySym): change method of getting to the
13766         self-insert char.
13767
13768         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13769         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13770         * BufferView_pimpl.[Ch]: here as private methods.
13771
13772 2001-05-28  Juergen Vigna  <jug@sad.it>
13773
13774         * text.C (SetHeightOfRow): added the update() call again as it is
13775         needed to initialize inset dimensions!
13776
13777 2001-05-16  Juergen Vigna  <jug@sad.it>
13778
13779         * text2.C (SetCharFont): Add new function with BufferView * and
13780         bool toggleall parameters for setting insets internal fonts.
13781         (SetFont): Freeze the undo as we may change fonts in Insets and
13782         all this change should be inside only one Undo!
13783
13784         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13785         setting font's in insets as for them we have the SetFont function!
13786
13787 2001-05-15  Juergen Vigna  <jug@sad.it>
13788
13789         * text2.C (ClearSelection): to be sure we REALLY don't have any
13790         selection anymore!
13791
13792         * tabular.C (TeXCellPreamble): fixed the left border problem for
13793         multicolumn cells.
13794
13795 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13798         dependancy file
13799
13800 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13803         LFUN_BREAKPARAGRAPH.
13804
13805         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13806         help test to "internal only", similar for LFUN_INSERT_URL
13807
13808         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13809         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13810         auto_region_delete and deadkeys.
13811
13812 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * LColor.h:
13815         * LColor.C: remove some dead entries, tidy a little
13816
13817 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13820         commented code.
13821         (Dispatch): implement LFUN_ESCAPE
13822
13823         * commandtags.h: add LFUN_ESCAPE
13824
13825         * LyXAction.C (init): add entry for LFUN_ESCAPE
13826
13827         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13828         Remove commented code.
13829         (insertNote): moved here
13830         (open_new_inset): moved here
13831
13832         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13833         BufferView_pimpl
13834
13835 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * kbmap.C (findbinding): clean it up and make it work correctly.
13838
13839         * lyx_main.C (init): do not pass argc and argv as parameters
13840
13841 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13842
13843         * buffer.C: fix path for OS/2 & Win32
13844
13845         * lyx_gui.C:
13846         * lyx_main:
13847         * lyx_main.C: Added os:: class.
13848
13849         * os2_defines.h: update
13850
13851 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13854         better by trying again with reduced state.
13855
13856 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * lyxrc.C (read): print error about invalid key sequence only when
13859         debugging (because not all latinX keysyms are known to some X
13860         servers)
13861
13862         * kbsequence.C (getiso): add a few std:: qualifiers
13863         (getiso): comment out extra return statement.
13864
13865 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13868         handling.
13869         (Dispatch): enhance the accent inset a bit. (not perfect)
13870
13871 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13874
13875 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13876
13877         * bufferlist.C (emergencyWrite): fix assert() call
13878
13879 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13880
13881         * text.C (InsertChar): Added trivial patch to only send the "you
13882         can not do multiple spaces this way" message once during a
13883         session.
13884
13885 2001-05-08  Baruch Even  <baruch@lyx.org>
13886
13887         * Makefile.am: Changed order of libraries to get LyX to link properly
13888         with the gnome frontend.
13889
13890 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13891
13892         * LaTeXFeatures.h: add a std:: qualifier
13893
13894 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * paragraph.C (String): use stringstream
13897
13898 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * paragraph.C (writeFile): remove footflag arg
13901
13902         * buffer.C (makeLaTeXFile): use stringstream
13903         (latexParagraphs): remove footnot gurba
13904
13905         * LaTeXFeatures.C (getPackages): use stringstream
13906         (getMacros): likewise
13907         (getTClassPreamble): likewise
13908         (getFloatDefinitions): new method
13909
13910         * paragraph.C (writeFile): reindent
13911         (Erase): reindent
13912
13913         * WorkArea.h: revert the xpos + etc changes.
13914
13915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13916
13917         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13918
13919         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13920         (pasteSelection): likewise
13921         * text2.C (CreateUndo): likewise
13922
13923 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * minibuffer.C (peek_event): temporarily reduce the functionality
13926         of the minibuffer (to allow args on lfuns)
13927
13928         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13929         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13930
13931         * buffer.C (readInset): add compability reading of old float
13932         lists, add reading of new style float list.
13933         (readInset): avoid reevaluation of inscmd.getCmdName()
13934         (getLists): reindent
13935
13936         * MenuBackend.C (MenuItem): implement parsing of
13937         md_floatlistinsert and md_floatinsert.
13938         (expand::LastFiles): move initalizaton of iterators out of loop,
13939         avoid reevaluation.
13940         (expand::Documents): introduce typdedef vector<string> Strings,
13941         and use it.
13942         (expand::ExportFormats): introduce typedef vector<Format const *>
13943         Formats, and use it.
13944         (expand): implement FloatListInsert and FloatInsert.
13945
13946         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13947         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13948         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13949
13950         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13951         handling.
13952         (Dispatch::LFUN_FLOAT_LIST): implement
13953
13954 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13955
13956         * LaTeX.C (run): Fix problem with --export code.
13957
13958 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * BufferView.[Ch] (workarea): removed.
13961         (getClipboard) new method; wrapper for workarea()->getClipboard()
13962
13963         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13964         bug.
13965
13966         * WorkArea.h (width, height, xpos, ypos): These methods all
13967         returned the dimensions of the work_area sub-area of WorkArea,
13968         resulting in a position error if the WorkArea were resized. Now
13969         return the dimensions of the entire WorkArea.
13970
13971         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13972
13973 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13974
13975         * LaTeX.C (deplog): correct the syntax of regex reg1
13976
13977 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * undo.C: remove !NEW_INSETS cruft
13980
13981 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * text2.C: remove !NEW_INSETS cruft
13984
13985         * text.C: remove !NEW_INSETS cruft
13986
13987         * tabular.C: remove !NEW_INSETS cruft
13988
13989         * spellchecker.C: remove !NEW_INSETS cruft
13990
13991         * lyxtext.h: remove !NEW_INSETS cruft
13992
13993         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13994
13995         * lyxfunc.C: remove !NEW_INSETS cruft
13996
13997         * lyxfind.C: remove !NEW_INSETS cruft
13998
13999         * lyx_cb.C: remove !NEW_INSETS cruft
14000
14001         * figureForm.C: remove  !NEW_INSETS cruft
14002
14003         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14004
14005         * buffer.[Ch]: remove !NEW_INSETS cruft
14006
14007         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14008
14009         * CutAndPaste.C: remove !NEW_INSETS cruft
14010
14011         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14012
14013         * BufferView2.C: remove !NEW_INSETS cruft
14014
14015         * BufferView.h: remove !NEW_INSETS cruft
14016
14017 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14018
14019         * Lsstream.h: include LString.h before the sstream headers to
14020         fix problem with gcc 2.95.3 and lyxstring
14021
14022 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * lyx_main.C: add using directives when needed for C functions
14025         declared in std:: namespace.
14026
14027 2001-04-27  Juergen Vigna  <jug@sad.it>
14028
14029         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14030         (SetHeightOfRow): comment out the update call should not be needed!
14031
14032 2001-04-13  Juergen Vigna  <jug@sad.it>
14033
14034         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14035         (LyXTabular): tried to minimize operator= operations (and realized
14036         hopfully Lars wish).
14037
14038 2001-04-27  Juergen Vigna  <jug@sad.it>
14039
14040         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14041
14042 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14045
14046         * buffer.C (readInset): hack to make listof algorithm work
14047
14048         * BufferView_pimpl.C: hack to make listof algorithm work
14049
14050 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * LyXAction.C: removed all !NEW_INSETS cruft
14053         (init): moved lfun_item in method
14054
14055         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14056
14057 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * BufferView2.C (theLockingInset): white space.
14060
14061 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * minibuffer.C: include <iostream>
14064
14065         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14066
14067         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14068
14069         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14070
14071         * text.[Ch] (TransposeChars): new method
14072
14073 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074
14075         * call message directly through LyXView instead of through LyXFunc
14076         * BufferView2.C: adjust
14077         * BufferView_pimpl.C: adjust
14078         * FontLoader.C: adjust
14079         * buffer.C: adjust
14080         * bufferview_funcs.C: adjust
14081         * converter.C: adjust
14082         * figureForm.C: adjust
14083         * importer.C: adjust
14084         * lyx_cb.C: adjust
14085         * lyx_gui_misc.C: adjust
14086         * lyxfunc.C: adjust
14087         * lyxvc.C: adjust
14088         * text2.C: adjust
14089         + more files in subdirs
14090
14091         * lyxparagraph.h (size): move up int file
14092         (GetLayout): ditto
14093
14094         * adjust all uses of Assert to lyx::Assert.
14095
14096         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14097         lyxfunctional in namespace lyx
14098         * layout.C (hasLayout): ditto
14099         (GetLayout): ditto
14100         (GetLayout): ditto
14101         (delete_layout): ditto
14102         (NumberOfClass): ditto
14103         * converter.C (GetFormat): ditto
14104         (GetNumber): ditto
14105         (Add): ditto
14106         (Delete): ditto
14107         (SetViewer): ditto
14108         * bufferlist.C (getFileNames): ditto
14109         (emergencyWriteAll): ditto
14110         (exists): ditto
14111         (getBuffer): ditto
14112         * MenuBackend.C (hasSubmenu): ditto
14113         (hasMenu): ditto
14114         (getMenu): ditto
14115         * BufferView_pimpl.C (getInsetByCode): ditto
14116
14117 2001-04-18  Juergen Vigna  <jug@sad.it>
14118
14119         * vspace.C (asLatexString): fixed the 100% problem.
14120
14121 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * lyxfunc.C (Dispatch):
14124         * minibuffer.C:
14125         * minibuffer.h: add a few std:: qualifiers
14126
14127 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * minibuffer.[Ch]: reimplement so that commands is initiated and
14130         run from lyxfunc, simplified som handling, and made the completion
14131         and history code for complete. wip.
14132
14133         * lyxfunc.C (processKeySym): call message
14134         (miniDispatch): new temporary method
14135         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14136         (LFUN_MESSAGE): implement
14137         (LFUN_MESSAGE_PUSH): implement
14138         (LFUN_MESSAGE_POP): implement
14139         (initMiniBuffer): the initial/defualt minibuffer message.
14140
14141         * lyxfont.[Ch]: inline some more getters
14142
14143         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14144
14145         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14146
14147         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14148         (AutoSave): use LFUN_MESSAGE
14149         (Reconfigure): ditto
14150
14151         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14152
14153         * figureForm.C: use LFUN_MESSAGE
14154
14155         * converter.C (runLaTeX): use LFUN_MESSAGE
14156
14157         * bufferview_funcs.C: use LFUN_MESSAGE
14158         (Melt): ditto
14159         (changeDepth): ditto
14160
14161         * bufferparams.h: use boost::
14162
14163         * bufferlist.h: inherit privately from noncopyable
14164
14165         * bufferlist.C (loadLyXFile): remove some commented code.
14166
14167         * buffer.C (runChktex): use LFUN_MESSAGE
14168
14169         * ShareContainer.h: inherit privately from noncopyable
14170
14171         * ParagraphParameters.[hC] (depth): inline it.
14172
14173         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14174         methods.
14175         (message): new method
14176         (messagePush): ditto
14177         (messagePop): ditto
14178         (show): init minibuffer
14179         (showState): direct call
14180
14181         * LaTeX.[Ch]: inherit privately from noncopyable
14182         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14183         instead of WriteStatus.
14184
14185         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14186
14187         * BufferView_pimpl.C (buffer): don't init minibuffer
14188         (workAreaButtonPress): use LFUN_MESSAGE
14189         (workAreaButtonRelease): ditto
14190         (savePosition): ditto
14191         (restorePosition): ditto
14192         (MenuInsertLyXFile): ditto
14193         (workAreaExpose): don't init minibuffer
14194         (update): remove commented code, simplify
14195
14196         * BufferView2.C (openStuff): use LFUN_MESSAGE
14197         (toggleFloat): ditto
14198         (menuUndo): ditto
14199         (menuRedo): ditto
14200         (copyEnvironment): ditto
14201         (pasteEnvironment): ditto
14202         (copy): ditto
14203         (cut): ditto
14204         (paste): ditto
14205         (gotoInset): ditto
14206         (updateInset): remove some commented code
14207
14208         * lastfiles.h: inherit privately from noncopyable
14209         * layout.h: ditto
14210         * lyx_gui.h: ditto
14211         * lyx_main.h: ditto
14212         * lyxlex.h: ditto
14213         * lyxlex_pimpl.h: ditto
14214
14215         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14216         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14217         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14218
14219         * LyXAction.h: inherit privately from noncopyable, add methods
14220         func_begin, func_end, returning iterators to the func map.
14221
14222         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14223         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14224         (func_begin): new method
14225         (func_end): new method
14226
14227         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14228         and not)
14229         (copySelection): ditto
14230         (pasteSelection): ditto
14231
14232         * BufferView.C: whitespace change
14233         * BufferView.h: inherit privately from noncopyable
14234
14235 2001-04-16  Allan Rae  <rae@lyx.org>
14236
14237         * tabular-old.C (l_getline):
14238         * spellchecker.C (sc_check_word):
14239         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14240         an unrecognised preprocessor directive.  So ensure they're wrapped.
14241
14242 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * src/exporter.C (Export): Give an error message when path to file
14245         contains spaces.
14246
14247 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * LaTeX.C (deplog): Always check that foundfile exists.
14250
14251 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * lyx_main.h:
14254         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14255
14256 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * tabular.[Ch] (getLabelList): implement new method
14259
14260         * minibuffer.h: comment ouf setTiimer
14261
14262         * minibuffer.C (ExecutingCB): constify res
14263         (peek_event): constify s
14264         (Set): constify ntext
14265         (Init): constify nicename
14266
14267         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14268
14269         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14270         (savePosition): use two params to Minibuffer::Set
14271         (restorePosition): ditto
14272
14273 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * lyx_main.C: include language.h
14276
14277         * Makefile.am (lyx_main.o): add language.h
14278
14279 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * exporter.C:
14282         * paragraph.C:
14283         * screen.C:
14284         * tabular.C:
14285         * CutAndPaste.C: include gettext.h
14286
14287         * lyxfont.h: remove old hack with ON and OFF.
14288
14289         * lyxparagraph.h:
14290         * lyxfont.h: do not include language.h...
14291
14292         * BufferView2.C:
14293         * LaTeXFeatures.C:
14294         * Painter.C:
14295         * bufferview_funcs.C:
14296         * font.C:
14297         * lyxfont.C:
14298         * text.C:
14299         * text2.C:
14300         * trans_mgr.C:
14301         * paragraph.C: ... but do it here instead
14302
14303 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14304
14305         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14306
14307         * tabular.C: small reformat
14308
14309         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14310         NEW_INSETS version
14311         (GetChar): ditto
14312         (BreakParagraph): ditto
14313         (SetOnlyLayout): ditto
14314         (SetLayout): ditto
14315
14316         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14317         with one arg less.
14318
14319         * lastfiles.C: removed most using decl, add std:: where needed
14320
14321         * buffer.C: ws changes
14322
14323         * MenuBackend.C (class compare_format): put into anon namespace
14324         (expand): constify label, names, action, action2
14325         (expand):
14326
14327         * text.C (SingleWidth): constify font
14328         (IsBoundary): constify rtl2
14329         (GetVisibleRow): constify ww
14330
14331         * LaTeX.C (deplog): constify logfile
14332
14333         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14334         start_x, end_x
14335         (workAreaExpose): constify widthChange, heightChange
14336
14337         * lyxrow.C (par): moved
14338         (height): moved
14339         (next): moved
14340         * lyxrow.h: as inlines here
14341
14342         * lyxfont.h (shape): moved from lyxfont.C
14343         (emph): moved from lyxfont.C
14344
14345         * lyxfont.C (LyXFont): use initialization list for all
14346         constructors
14347         (shape): move to lyxfont.h as inline
14348         (emph): move to lyxfont.h as inline
14349
14350
14351 2001-04-04  Juergen Vigna  <jug@sad.it>
14352
14353         * vspace.C: had to include stdio.h for use of sscanf
14354
14355 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14356
14357         * BufferView.h:
14358         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14359         independent of xforms.
14360
14361 2001-04-02  Juergen Vigna  <jug@sad.it>
14362
14363         * spellchecker.C: fixed namespace placing!
14364
14365 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14366
14367         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14368         the LyXParagraph * is 0.
14369
14370 2001-03-29  Juergen Vigna  <jug@sad.it>
14371
14372         * vspace.C: added support for %, c%, p%, l%.
14373         (stringFromUnit): added helper function.
14374         (asLatexString): changed to give right results for the %-values.
14375
14376         * buffer.C: convert the widthp in a width%.
14377
14378 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14379
14380         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14381         figureForm.[Ch].
14382
14383         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14384         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14385
14386         * lyx_cb.[Ch]: see above.
14387
14388         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14389         form1.[Ch].
14390
14391         * form1.[Ch]:
14392         * lyx.[Ch]: replaced by figure_form.[Ch].
14393
14394         * lyx_gui.C:
14395         * lyx_gui_misc.C:
14396         * lyxfunc.C: changed headers associated with above changes.
14397
14398 2001-03-27  Juergen Vigna  <jug@sad.it>
14399
14400         * BufferView_pimpl.C: set the temporary cursor right!
14401
14402 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14405
14406 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * LString.h: removed "using std::getline"!
14409
14410         * BufferView_pimpl.C (Dispatch): changes due to changes in
14411         InsetInclude::Params.
14412
14413         * buffer.C (tag_name): removed redundant break statements as they were
14414         producing lots of warnings with my compiler.
14415
14416 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14417
14418         * LString.h: add "using std::getline" when using the real <string>.
14419
14420 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14421
14422         * buffer.C: removed bitset usage.
14423         PAR_TAG moved to an anonymous name space.
14424         (tag_name): new funtion, also in the anonymous namespace.
14425         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14426         (makeDocBookFile): clean code. Completed transition from string arrays
14427         to string vectors.
14428         (SimpleDocBookOnePar): code clean.
14429
14430 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14431
14432         * tabular.C: add some comments.
14433
14434 2001-03-22  Juergen Vigna  <jug@sad.it>
14435
14436         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14437         compatibility read a bit and fixed bug with minipage in different
14438         depth.
14439
14440 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14441
14442         * buffer.C (pop_tag): removed.
14443         (push_tag): removed.
14444         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14445         array replaced with vector. Added support for CDATA sections.
14446         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14447         at any nest level.
14448         (makeDocBookFile): XML conformant declaration of CDATA section,
14449         fixed bug related to <emphasis> in the first paragraph char.
14450         (sgmlOpenTag): exclude empty tags.
14451         (sgmlCloseTag): ditto.
14452
14453         * buffer.h (pop_tag): removed.
14454         (push_tag): removed.
14455
14456 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * language.h (Languages): added size_type and size().
14459
14460 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14461
14462         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14463         response on compability reading of minipages. One probliem is that
14464         the old usage of minipages was «flertydig»
14465
14466         * several files here and in subdirs: don't use static at file
14467         scope use anon namespaces instead.
14468
14469 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14470
14471         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14472         LaTeX output. This is necessary for Literate document
14473         processing.
14474
14475 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14476
14477         * buffer.C: insert hfill when needed.
14478
14479         * tabular.C (l_getline): use string::erase, small whitespace change.
14480
14481         * BufferView_pimpl.C: try the anon namespace.
14482         * WorkArea.C: ditto
14483
14484 2001-03-16  Juergen Vigna  <jug@sad.it>
14485
14486         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14487         otherwise it won't open options-dialogs.
14488
14489         * buffer.C: honor pextraWidth(p) on converting minipages.
14490
14491         * tabular.C (l_getline): changed the functions to strip trailing \r.
14492
14493 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14494
14495         * BufferView_pimpl.C:
14496         * minibuffer..C: added "using SigC::slot" declaration.
14497
14498 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14499
14500         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14501
14502         * text2.C: ditto
14503
14504         * text.C: ditto
14505
14506         * paragraph.C: ditto
14507
14508         * lyxtext.h: NO_PEXTRA
14509
14510         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14511
14512         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14513         * ParameterStruct.h: ditto
14514         * ParagraphParameters.h: ditto
14515         * lyxparagraph.h: ditto
14516
14517 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14518
14519         * buffer.C: add compability for minipage alignment.
14520         (latexParagraphs): remove unwanted pextra check.
14521
14522         * several files: remove CXX_WORKING_NAMESPACES
14523
14524         * buffer.C (pop_tag): tie is in namespace boost
14525
14526         * BufferView.h: noncopyable is in namespace boost
14527         * lyxlex.h: ditto
14528         * lyx_main.h: ditto
14529         * lyx_gui.h: ditto
14530         * layout.h: ditto
14531         * lastfiles.h: ditto
14532         * bufferlist.h: ditto
14533         * ShareContainer.h: ditto
14534         * LyXView.h: ditto
14535         * LyXAction.h: ditto
14536         * LaTeX.h: ditto
14537
14538 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14539
14540         * Merging changes from BRANCH_MVC back into HEAD.
14541
14542         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14543
14544 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14545
14546         * BufferView_pimpl.C: change from intl.C
14547
14548         * combox.h:
14549         * combox.C:
14550         * Makefile.am: move combox.*
14551
14552         * form1.h:
14553         * form1.C:
14554         * lyx_gui.C:
14555         * intl.h:
14556         * intl.C: remove dialog (covered by prefs)
14557
14558 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14559
14560         * lyxfunc.C (Dispatch): removed redundant break statement.
14561
14562 2001-03-14  Juergen Vigna  <jug@sad.it>
14563
14564         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14565
14566 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14567
14568         * buffer.C: add hack to fix compability reading of minipages.
14569
14570 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * buffer.C (getLists): Cleanup.
14573
14574 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14575
14576         * lyxfont.C (update): don't honor toggleall on font size.
14577
14578 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * bmtable.c:
14581         * bmtable.h:
14582         * Makefile.am: moved to frontends/xforms/
14583
14584         * lyx_gui_misc.C:
14585         * lyxfunc.C:
14586         * BufferView_pimpl.C: changes for moved mathpanel
14587
14588 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * gettext.h: fix gettext_init() in --disable-nls
14591
14592 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14595
14596 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14597
14598         * lyx.C:
14599         * lyx.h: strip external form
14600
14601 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * BufferView_pimpl.C: add comment, destroySplash()
14604
14605 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * BufferView_pimpl.C:
14608         * LyXAction.C:
14609         * buffer.C:
14610         * commandtags.h:
14611         * lyxfunc.C: use re-worked insetinclude
14612
14613 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14614
14615         * buffer.C: add using std::stringstream.
14616
14617         * lyx_cb.C: readd using std::ios.
14618
14619         * buffer.C: add using std::map.
14620
14621         * BufferView_pimpl.C: add using std::vector.
14622
14623         * ShareContainer.h: add std:: to swap.
14624
14625         * buffer.h: add some typedefs
14626         * buffer.C (getLists): use them
14627         (getLists): renamed from getTocList.
14628         add a counter for the different float types and use it in the
14629         generated string.
14630         (getLists): use the same counter for the NEW_INSETS and the "non"
14631         NEW_INSETS
14632
14633         * lyx_cb.h: remove unused items, includes, using etc.
14634
14635         * ShareContainer.h: remove some commented code, add more comments
14636         and "documentation".
14637
14638 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14639
14640         * buffer.C (getTocList): make the list also when NEW_INSETS is
14641         defined.
14642
14643         * buffer.h: remove TocType
14644
14645         * buffer.C (getTocList): change to return a map<string,
14646         vector<TocItem> >, implement for dynamic number of list.
14647
14648         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14649         * text2.C (PasteSelection): adjust
14650         * CutAndPaste.C (pasteSelection): adjust
14651
14652         * FloatList.C (FloatList): update from the new_insets branch.
14653         * Floating.[Ch]: ditto
14654         * LaTeXFeatures.C: ditto
14655         * buffer.C: ditto
14656         * lyxlex_pimpl.C: ditto
14657
14658         * paragraph.C (Last): remove when NEW_INSETS is defined.
14659
14660         * other file: changes because of the above.
14661
14662 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14663
14664         * lyxparagraph.h: rename next to next_, previous to previous_,
14665         make them private for NEW_INSETS. Rename Next() to next(),
14666         Previous() to previous().
14667
14668         * other files: changes because of the above.
14669
14670 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14671
14672         * BufferView.h:
14673         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14674         problem.
14675
14676 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * main.C (main): pass lyx_localedir to gettext_init().
14679
14680         * gettext.h: remove locale_init and gettext_init macros
14681
14682         * gettext.C (locale_init): new function
14683         (gettext_init): new function
14684
14685         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14686         setlocale().
14687
14688 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14689
14690         * Moved credits to frontends:
14691         * credits.[Ch]: removed
14692         * credits_form.[Ch]: removed
14693         * lyx_gui_misc.C: remove credits stuff
14694         * Makefile.am:
14695
14696 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14697
14698         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14699
14700         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14701         unneeded destructor.
14702
14703         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14704         a standalone pointer again.
14705
14706         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14707
14708 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14709
14710         * Makefile.am:
14711         * filedlg.h:
14712         * filedlg.C:
14713         * LyXAction.C:
14714         * ToolbarDefaults.C:
14715         * bufferlist.C:
14716         * commandtags.h:
14717         * form1.C:
14718         * form1.h:
14719         * lyx_cb.C:
14720         * lyx_cb.h:
14721         * lyxfunc.h:
14722         * lyxfunc.C:
14723         * BufferView_pimpl.C: use new file dialog in GUII
14724
14725         * lyx_cb.h:
14726         * lyx_cb.C: remove LayoutsCB to Toolbar
14727
14728 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14729
14730         * ShareContainer.h (get): add std:: qualifier
14731
14732 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * ShareContainer.h: define a proper ShareContainer::value_type
14735         type (and use typename to please compaq cxx)
14736
14737 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14738
14739         * lyxparagraph.h: move serveral local vars to
14740         ParameterStruct/ParagraphParameters., use ShareContainer in
14741         FontTable., make vars in FontTable private and add getter and
14742         setter.
14743
14744         * paragraph.C: changes because of the above.
14745
14746         * lyxfont.h: remove copy constructor and copy assignment. (the
14747         default ones is ok), move number inside FontBits. move inlines to
14748         lyxfont.C
14749
14750         * lyxfont.C: add number to initializaton of statics, move several
14751         inlines here. constify several local vars. some whitespace
14752         cleanup. Dont hide outerscope variables.
14753
14754         * Spacing.h: add two new constructors to match the set methods.
14755
14756         * ShareContainer.h: new file, will perhaps be moved to support
14757
14758         * ParameterStruct.h: new file
14759
14760         * ParagraphParameters.h: new file
14761
14762         * ParagraphParameters.C: new file
14763
14764         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14765         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14766
14767         * BufferView_pimpl.C: ParagraphParameter changes.
14768         * buffer.C: Likewise.
14769         * bufferview_funcs.C: Likewise.
14770         * text.C: Likewise.
14771         * text2.C: Likewise.
14772
14773 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * lyxfind.C (LyXReplace): do not redefine default argument in
14776         implementation.
14777         (IsStringInText): ditto
14778         (SearchForward): ditto
14779         (SearchBackward): ditto
14780
14781 2001-03-06  Juergen Vigna  <jug@sad.it>
14782
14783         * lyxfind.C (IsStringInText): put parentes around expressions.
14784
14785 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14786
14787         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14788
14789 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14790
14791         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14792
14793         * stl_string_fwd.h: add comment
14794
14795         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14796
14797         * tabular.h:
14798         * tabular.C: remove unused DocBook methods
14799
14800         * intl.C:
14801         * language.C:
14802         * paragraph.C:
14803         * buffer.C:
14804         killed DO_USE_DEFAULT_LANGUAGE
14805
14806 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * lyx_gui.C: do not include language.h.
14809
14810         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14811         arguments in function implementation.
14812
14813 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14814
14815         * BufferView_pimpl.C: add <ctime>
14816
14817 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14818
14819         * BufferView_pimpl.C: add using std::find_if
14820
14821 2001-02-27  José Matos  <jamatos@fep.up.pt>
14822
14823         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14824         by OnlyPath.
14825
14826 2001-02-11  José Matos  <jamatos@fep.up.pt>
14827
14828         * buffer.C (makeDocBookFile): command styles now have a parameter as
14829         "title" by default.
14830
14831 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14832
14833         * layout_forms.[Ch]: removed
14834         * lyx_cb.[Ch]: out character
14835         * lyx_gui.C: out character
14836         * lyx_gui_misc.C: out character
14837         * bufferview_funcs.C: : out character,
14838         added toggleall as parameter in ToggleAndShow
14839
14840 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14843
14844         * text2.C (SetCurrentFont): Disable number property at boundary.
14845
14846 2001-02-26  Juergen Vigna  <jug@sad.it>
14847
14848         * lyxfunc.C (getStatus): added a string argument override function so
14849         that this is correctly called from LyXFunc::Dispatch if it contains a
14850         do_not_use_argument which is used!
14851         (Dispatch): added check for "custom" export and call appropriate func.
14852
14853 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14854
14855         * lyxrc.C: Add language_command_local, language_use_babel and
14856         language_global_options.
14857
14858         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14859
14860         * buffer.C (makeLaTeXFile): Use language_use_babel and
14861         language_global_options.
14862
14863 2001-02-23  Juergen Vigna  <jug@sad.it>
14864
14865         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14866         which works with LyXText and putted it inside BufferView. Here now we
14867         only call for that part the BufferView::Dispatch() function.
14868
14869         * BufferView.C (Dispatch): added.
14870
14871         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14872         functions which needs to use a LyXText over from LyXFunc.
14873         (MenuInsertLyXFile): added
14874         (getInsetByCode): added
14875         (moveCursorUpdate): added
14876         (static TEXT): added
14877
14878 2001-02-22  Juergen Vigna  <jug@sad.it>
14879
14880         * BufferView_pimpl.C (update): call a status update to see if LyXText
14881         needs it.
14882
14883 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14884
14885         * vc-backend.C (revert): implement for CVS
14886         (getLog): implement for CVS
14887
14888 2001-02-20  Juergen Vigna  <jug@sad.it>
14889
14890         * text2.C (ClearSelection): added BufferView param for inset_owner call
14891
14892         * lyxfunc.C (TEXT): added this function and use it instead of
14893         directly owner->view()-text of getLyXText().
14894
14895 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14896
14897         * src/layout_forms.C: out preamble
14898         * src/layout_forms.h: out preamble
14899         * src/lyx_cb.C: out preamble
14900         * src/lyx_cb.h: out preamble
14901         * src/lyx_gui.C: out preamble
14902         * src/lyx_gui_misc.C: out preamble
14903         * src/lyxfunc.C: connect with guii preamble
14904
14905 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14908
14909 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14910
14911         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14912         whether to run bibtex.
14913
14914 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14915
14916         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14917
14918 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14919
14920         * Makefile.am (lyx_SOURCES): removed bibforms.h
14921
14922         * vspace.h: doxygen
14923
14924         * text.C (GetVisibleRow): make several local vars const
14925
14926         * tabular.C: small cleanup.
14927
14928         * lyxserver.C (callback): use compare instead of strncmp
14929
14930         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14931         inlines to after class or to paragraph.C
14932
14933         * lyxfont.h: remove friend operator!=
14934
14935         * converter.h: move friend bool operator< to non friend and after
14936         class def.
14937
14938         * combox.h: small cleanup
14939
14940         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14941         to inlines after class def.
14942
14943         * buffer.C (pop_tag): use string operations instead of strcmp
14944
14945         * bmtable.c: doxygen, small cleanup
14946
14947         * LaTeX.h: remove friend operator==
14948
14949 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14950
14951         * screen.C:
14952         * lyxrc.[Ch]:
14953         * lyxfunc.C:
14954         * lyxfont.[Ch]:
14955         * lyx_cb.C:
14956         * intl.[Ch]:
14957         * commandtags.h:
14958         * buffer.C:
14959         * WorkArea.[Ch]:
14960         * LyXAction.C:
14961         * BufferView_pimpl.C:
14962         * BufferView.[Ch]: remove cruft
14963
14964 2001-02-14  Juergen Vigna  <jug@sad.it>
14965
14966         * lyxfunc.C: removed #if 0 unused code
14967
14968         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14969
14970         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14971
14972         * text2.C (SetSelection): added a BufferView * parameter
14973
14974 2001-02-13  Juergen Vigna  <jug@sad.it>
14975
14976         * lyxfunc.C (Dispatch): fixed protected blank problem.
14977         * BufferView2.C (protectedBlank): added LyxText * parameter.
14978
14979         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14980         (AppendColumn): same as above for column_info.
14981
14982         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14983         (moveCursorUpdate): use a LyXText param for support of InsetText.
14984
14985         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14986         (tripleClick): ditto
14987
14988         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14989
14990         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14991
14992         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14993
14994         * text2.C (SetSelection): set correct update status if inset_owner
14995         (ToggleFree): ditto
14996
14997 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14998
14999         * tabular.C: remove some commented code.
15000
15001 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * BufferView_pimpl.C: call hideSplash()
15004
15005         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15006
15007         * include_form.h:
15008         * bibforms.h: remove
15009
15010         * lyxfunc.C:
15011         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15012           add LFUN_CHILD_CREATE
15013
15014         * counters.h: fix tiny typo
15015
15016         * lyx_cb.C:
15017         * lyx.h:
15018         * lyx_gui.C:
15019         * lyx.C: move splash to frontends/xforms/
15020
15021         * lyx_gui_misc.C: move Include and Bibform to frontends
15022
15023         * lyxvc.h: clarify comment
15024
15025         * vspace.C: tiny housekeeping
15026
15027 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15028
15029         * text.C (PrepareToPrint): RTL Fix.
15030
15031         * paragraph.C (GetUChar): New method.
15032         (String):  Use GetUChar.
15033
15034         * buffer.C (asciiParagraph): Use GetUChar.
15035
15036 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15037
15038         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15039
15040 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * buffer.h:
15043         * buffer.C: rename to getLogName(), handle
15044           build log / latex log nicely
15045
15046 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * MenuBackend.C:
15049         * MenuBackend.h: remove support for reference menuitem type.
15050
15051 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * BufferView_pimpl.C: housekeeping
15054         * BufferView_pimpl.h:
15055         * LyXView.h:
15056         * Makefile.am:
15057         * Timeout.C:
15058         * Timeout.h:
15059         * minibuffer.h: move Timeout GUI-I
15060
15061 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * lyxrc.C (read): Update converters data-structures.
15064
15065 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15066
15067         * LaTeX.h (operator!=): add operator != for Aux_Info
15068
15069 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15072
15073         * LaTeXLog.C: deleted, useful code moved to Buffer
15074
15075         * buffer.h:
15076         * buffer.C: new function getLatexLogName()
15077
15078         * lyx_gui_misc.C:
15079         * lyx_gui.C:
15080         * lyxvc.C:
15081         * lyxvc.h:
15082         * lyxfunc.C: use frontends for LaTeX and VC logs
15083
15084 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * LaTeX.h: yet another std:: that Allan forgot.
15087
15088         * Variables.C (set): renamed from isset(), because this clashes
15089         with some HP-UX macros (grr).
15090
15091 2001-02-06  Allan Rae  <rae@lyx.org>
15092
15093         * LaTeX.h: Another bug fix.  Missing std:: this time.
15094
15095 2001-02-04  Allan Rae  <rae@lyx.org>
15096
15097         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15098         floats problem. I've left it commented out because it's not quite
15099         correct.  It should also test that the current object is a table or
15100         figure inset.  But I haven't gotten around to figuring out how to do
15101         that.  I *think* it'll be something like: "table" == inset.type()
15102
15103         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15104         bool.
15105
15106 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15107
15108         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15109         all the citation/databases/styles in the auxilary file.
15110         (run): Rerun latex if there was a babel language error.
15111
15112 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * text.C (Backspace): Preserve the font when changing newline char
15115         with a space.
15116         (BreakParagraph): If the cursor is before a space, delete the space.
15117
15118         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15119
15120 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15121
15122         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15123         new argument (code).
15124         (ChangeCitationsIfUnique): New method.
15125
15126         * paragraph.C (GetPositionOfInset): Handle bibkey.
15127
15128 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15129
15130         * BufferView_pimpl.h: change type of Position::par_pos to
15131         LyXParagraph::size_type.
15132
15133 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15134
15135         * BufferView_pimpl.C (savePosition, restorePosition): Write
15136         messages to minibuffer.
15137
15138 2001-01-28  José Matos  <jamatos@fep.up.pt>
15139
15140         * buffer.C (makeDocBookFile): adds support for document language.
15141         A silly restriction on the name of LatexCommand types where removed.
15142         Added support for CDATA sections, allows to chars unescaped, used
15143         among others in code, to avoid escape < and >.
15144
15145 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15148         saved positions instrad of a stack. Furthermore, a position is
15149         stored using paragraph id/paragraph position.
15150
15151         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15152         Remove LFUN_REF_BACK.
15153
15154 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * converter.C (dvipdfm_options): New method.
15157
15158 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * vspace.C (isValidLength): Fix for empty input string.
15161
15162 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * LyXAction.C (init): change description of LFUN_FIGURE to
15165         "Insert Graphics"
15166
15167 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15168
15169         * LaTeX.C: add using directive
15170
15171 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * MenuBackend.C (expand): Fix the sorting of the formats.
15174
15175 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * lyx_main.C: tiny error message fix
15178
15179 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15180
15181         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15182         calling fl_initialize(). This fixes the problem with ',' as
15183         decimal separator in text files.
15184
15185 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15186
15187         * trans.C (process): Fix the keymap bug.
15188
15189 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15190
15191         * LaTeX.C (scanAuxFiles): New method. Provides support for
15192         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15193         (scanLogFile) Scan for "run BibTeX" messages.
15194
15195         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15196         OT1 font encoding. Also, load the aecompl package if the ae
15197         package is loaded.
15198
15199         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15200
15201 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * texrow.C (increasePos): turn two error messages into debug
15204         messages.
15205
15206 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * LaTeX.C (scanAux): Handle the \@input macro.
15209         (runBibTeX): Use scanAux().
15210
15211         * language.C (latex_options_): New field.
15212
15213         * LaTeXFeatures.C (getMacros): Add language macros.
15214
15215         * buffer.C (makeLaTeXFile): Small fix.
15216
15217 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15220
15221         * text2.C: add a using directive.
15222
15223 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * BufferView2.C:
15226         * lyx_gui_misc.h:
15227         * lyxfr1.C:
15228         * lyxfunc.C: kill LyXBell.
15229
15230 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15231
15232         * text.C (IsBoundary): Remove the error message
15233
15234         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15235
15236         * lyxrc.C (setDefaults): Correct initialization value for
15237         font_norm_type.
15238
15239 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15242         gotoError().
15243
15244         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15245         and GotoNextNote().
15246
15247         * src/LyXAction.C: Added reference-next.
15248
15249         * text.C (InsertChar): Use contains instead of strchr.
15250
15251         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15252
15253 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15256         alignment commands (when needed).
15257
15258         * text.C (InsertChar): Add ':' to number separator chars.